Use this API to reject a buyer’s cancellation request for the specified cancel_id. Before calling this API, make sure the request is still in a state where seller rejection is currently allowed.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The cancellation request ID to reject. 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 that the server uses to recognize the same request. Reuse the same key for every retry of that request. If you omit this parameter, the server generates a key for the individual 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 Bodyrequired
Section titled “Request Bodyrequired”object
Seller’s reason for rejecting the buyer’s order cancellation request. Use the Get Decision Eligibility endpoint to retrieve the currently available rejection reasons for the same cancellation request, and submit the returned rejection reason name in this field.
Seller’s comment on rejection decision. This is where a seller will provide more information about rejecting the request.
List of images provided by the seller to support seller’s decision to reject the order cancellation request.
object
Image ID.
MIME type.
Image height. Unit: px
Image width. Unit: px
Example
{ "reject_reason": "seller_reject_apply_product_has_been_packed", "comment": "I have packed the products before cancellation request", "images": [ { "image_id": "tos-maliva-i-o3syd03w52-us/57a1c8908fe74572861ea5e50887d8d1", "mime_type": "image/png", "height": 200, "width": 200 } ]}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"}