POST
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
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
type
required
The ID of the webhook type.
integer
tts_notification_id
The ID of the notification.
string
shop_id
The shop ID.
string
timestamp
The Unix timestamp when the webhook was triggered.
integer format: int64
data
object
order_id
The identification of a TikTok Shop order
string
return_role
Return or refund request user, with possible values:
- BUYER
- SELLER
- SYSTEM
string
return_type
The return or refund request type, with possible values:
- REFUND
- REPLACEMENT
- RETURN_AND_REFUND
string
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
string
return_id
The identifier of a specific return
string
create_time
The time when the request was created.
integer format: int64
update_time
The time when return order status update, represented as a Unix timestamp (seconds).
integer format: int64
Example
{ "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 }}Responses
Section titled “Responses”Return HTTP 200 to acknowledge receipt.