(12) Return status change
1. Trigger scenario
The return status change webhook is triggered when the return_status of an order changes:
- The
BUYERinitiates a return or refund request and is pendingSELLERreview:RETURN_OR_REFUND_REQUEST_PENDING - The
SELLERdeclines theBUYER's return or refund request:REFUND_OR_RETURN_REQUEST_REJECT - The return request is approved and the
SELLERis waiting for theBUYERto return the approved items:AWAITING_BUYER_SHIP. If theBUYERdoesn't ship the items to theSELLERbefore the deadline, the request will be closed automatically. - To return the items to the
SELLER, theBUYERdrops off the package successfully or theBUYERships the package and uploads the tracking number:BUYER_SHIPPED_ITEM - The
SELLERdeclines the refund request for the return:REJECT_RECEIVE_PACKAGE - The
SELLERaccepts the refund request or issues a refund for the return:RETURN_OR_REFUND_REQUEST_SUCCESS - The
BUYERorSYSTEMcloses the return or refund request:RETURN_OR_REFUND__REQUEST_CANCELLED - The return or refund is successful:
RETURN_OR_REFUND_REQUEST_COMPLETE
Additionally, a BUYER may request an identical replacement item instead of a refund:
- The
BUYERinitiates a replacement request and is pendingSELLERreview:REPLACEMENT_REQUEST_PENDING - The
SELLERdeclines theBUYER's replacement request:REPLACEMENT_REQUEST_REJECT - The
SELLERdecides to issue a refund to theBUYERwithout replacement:REPLACEMENT_REQUEST_REFUND_SUCCESS - The
BUYERcancels the replacement request:REPLACEMENT_REQUEST_CANCEL - The
SELLERapproves the replacement request:REPLACEMENT_REQUEST_COMPLETE
2. Data business parameters
| Parameter | Description | Sample |
|---|---|---|
| order_id | The identification of a TikTok Shop order | 577087614418520388 |
| return_role | Return or refund request user, with possible values: * BUYER * SELLER * SYSTEM | BUYER |
| return_type | The return or refund request type, with possible values: * REFUND * REPLACEMENT * RETURN_AND_REFUND | REFUND |
| return_status | The return status for a request, with possible values: * AWAITING_BUYER_SHIP * BUYER_SHIPPED_ITEM * REFUND_OR_RETURN_REQUEST_REJECT * REJECT_RECEIVE_PACKAGE * REPLACEMENT_REQUEST_CANCEL * REPLACEMENT_REQUEST_COMPLETE * REPLACEMENT_REQUEST_PENDING * REPLACEMENT_REQUEST_REFUND_SUCCESS * REPLACEMENT_REQUEST_REJECT * RETURN_OR_REFUND_REQUEST_CANCEL * RETURN_OR_REFUND_REQUEST_COMPLETE * RETURN_OR_REFUND_REQUEST_PENDING * RETURN_OR_REFUND_REQUEST_SUCCESS | RETURN_OR_REFUND_REQUEST_PENDING |
| return_id | The identifier of a specific return | 4035318504086604100 |
| create_time | The time when the request was created. | 1627587600 |
| update_time | The time when return order status update, represented as a Unix timestamp (seconds). | 1627587600 |
Event example
JSONWord Wrap
{
"type": 12,
"tts_notification_id": "7327112393057371910",
"shop_id": "7494049642642441621",
"timestamp": 1644412885,
"data": {
"order_id": "576486316948490001",
"return_role": "BUYER",
"return_type": "REFUND",
"return_status": "RETURN_OR_REFUND_REQUEST_PENDING",
"return_id": "576486316948490001",
"create_time": 1627587600
"update_time": 1644412885
}
}