- Welcome 👋
- Get Started
- Create Your First App
- Authorization
- Webhooks
- Conditional Webhooks
- Security Considerations
- Multi-Language Support
- Responses
- Pagination
- Rate Limiting
- Versioning
- Change Log
- Support
- APIs
- Orders
- Order Status
- Order Histories
- Order Tags
- Order Invoice
- Order Reservations
- Order Items
- Products
- Product Options
- Product Quantity
- Product Variants
- Product Tags
- Product Images
- Product Option Values
- Abandoned Carts
- Customer Groups
- Customers
- Digitals Product
- Categories
- Exports
- Shipments
- Shipping Companies
- Shipping Zones
- Shipping Rules
- Countries
- Product Option Templates
- Taxes
- Coupons
- Affiliates
- Order Assignment
- Special Offers
- Transactions
- Payments
- Settlements
- Settings
- Merchant
- Brands
- Reviews
- Branches
- Currencies
- SEO
- Cities
- DNS Records
- Languages
- Employees
- Advertisements
- Webhooks
- Custom URLs
- Loyalty Points
- Webhooks - Store Events
Update Transaction
Production
Production
PUT
https://api.salla.dev/admin/v2/transactions/{transaction_id}
Transactions
Last modified:2025-02-02 12:23:10
refund
, void
, or reverse
a transaction by passing the transaction_id
as a path parameter.The endpoint also supports partial refunds.
CAUTION
Scopes
transactions.read_write
- Transactions Read & WriteRequest
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Path Params
transaction_id
integer
required
Example:
293485739
Body Params application/json
action
enum<string>
optional
Allowed values:
refundvoidreverse
Example:
refund
amount
number
optional
currency
string
optional
Example
{
"action": "refund",
"amount": 0,
"currency": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.salla.dev/admin/v2/transactions/293485739' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢201Progress In-Action
application/json
Body
status
number
optional
success
boolean
optional
data
object
optional
message
string
optional
code
number
optional
Example
{
"status": 201,
"success": true,
"data": {
"message": "Invoice Partially Refunded successfully",
"code": 201
}
}
🟠404Not Found
🟠422Error Validation
🟠401Unauthorized
Modified at 2025-02-02 12:23:10