Use this API to evaluate which seller decisions are currently allowed for the specified aftersales request. The API returns one result per requested decision, including whether the decision is currently eligible and any rejection reasons that are applicable for an eligible reject decision.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
The TikTok Shop return or cancellation request ID to evaluate. Pass the request identifier for the target cancellation, refund, return, or other supported aftersales flow. Do not pass an order ID or order line ID in this field.
The seller decisions to evaluate for the specified aftersales request. Possible Values:
APPROVE_REQUEST_CANCELAPPROVE_REFUNDAPPROVE_RETURNAPPROVE_RECEIVED_PACKAGEAPPROVE_REPLACEMENTISSUE_REPLACEMENT_REFUNDDIRECT_REFUNDREJECT_REQUEST_CANCELREJECT_REFUNDREJECT_RETURNREJECT_RECEIVED_PACKAGEREJECT_REPLACEMENT-ISSUE_EXCHANGE_REFUNDNote: When omitted, the API evaluates all supported seller decisions for the request and returns one result per decision.
The BCP-47 locale codes for displaying the return reason, delimited by commas. Default: en-US Refer to Locale codes for the list of supported locale codes.
Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
The seller-decision eligibility results for the specified aftersales request.
object
One eligibility result for one evaluated seller decision. Possible Values:
APPROVE_REQUEST_CANCELAPPROVE_REFUNDAPPROVE_RETURNAPPROVE_RECEIVED_PACKAGEAPPROVE_REPLACEMENTISSUE_REPLACEMENT_REFUNDDIRECT_REFUNDREJECT_REQUEST_CANCELREJECT_REFUNDREJECT_RETURNREJECT_RECEIVED_PACKAGEREJECT_REPLACEMENT-ISSUE_EXCHANGE_REFUND
Whether this seller decision is currently eligible for the specified aftersales request. true means eligible; false means ineligible.
The reason code for an ineligible decision. This field is returned when eligible is false.
The reason for an ineligible decision. This field is returned when eligible is false.
The reject reasons available for an eligible reject decision. Each reason includes a name and localized display text.
object
The machine-readable name of the rejection reason to pass as the rejection-reason identifier in the applicable review or reject request.
The display text for the rejection reason.
Example
{ "code": 0, "data": { "decisions": [ { "decision": "APPROVE_REFUND", "eligible": true, "ineligible_code": 25001001, "ineligible_reason": "the return is already completed, you can't approve again.", "available_reject_reasons": [ { "name": "seller_reject_apply_product_has_been_packed", "text": "Product shipped. Tracking updates will be available soon." } ] } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}