Use this API to approve a buyer-initiated cancellation request identified by cancel_id. Call this API only when the cancellation request is still waiting for seller action.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The cancellation request ID to approve. Use the cancel_id returned by Search Cancellations. Do not pass the order ID here.
Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
The idempotency key is a unique value generated by the client which the server uses to recognize a request.
If you retry the same cancellation approval request, use the same key. If this parameter is omitted, the server generates an idempotency key for the request.
You may choose your own method of creating unique keys. We suggest using UUIDs, or another random string with enough entropy, to avoid collisions.
Idempotency keys can be up to 255 characters long.
Request Body
Section titled “Request Body”object
Example
{}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
Example
{ "code": 0, "data": {}, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}