v1
latestOpenAPI 3.0.12026-07-24204977.5 KBOrders
Order refund
post/order/{orderUuid}/refund
Path parameters
orderUuidstring required
order uuid
Headers
Authorizationstring required
Authorization
X-ShopBack-Idempotent-Idstring
Example:faa5e09a-8cf3-43f7-8309-d94deb426e66
Idempotent Id for the request. If this is absent, every request will be treated as unique and will be processed as such. (This is optional for now, but will be made required in the future)
Response
successful operation
Example response
{
"status": "ACCEPTED, REJECTED, DONE, FAILED",
"requestId": "d04f56e9-412c-4e7a-8cb7-3f405ff96a13",
"createdAt": "2022-04-01T04:01:41.041Z",
"type": "FULL",
"code": "accepted, in_process, duplicated_request, invalid_order_status, no_active_merchant_fee_schema_found, refund_amount_too_large, refund_limit_exceeded",
"message": "Request accepted"
}