快工助手跨境电商知识与商机助手

Create Return

TikTok Shop 官方资料 · TikTok Shop Partner Center 开发者文档 · 适合开发者

stable本次发布有变化全部展示

来自 TikTok Shop 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
TikTok Shop / profile.tiktok.docs_api
语言
en-US
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/tiktok_shopaudience/developercategory/api_doctopic/compliancetopic/developer

资料正文

§1 Path: /return_refund/202602/returns

#

§2 Method: [POST]

#

§3 Function Description

Use this API to create a seller-initiated aftersales request for an order on behalf of the buyer. Supported request types are REFUND and RETURN_AND_REFUND. Before submitting the request, confirm that the order is eligible for the selected aftersales type and return method. After the request is created, use the relevant search, status, or review API to continue the aftersales workflow.


#

§4 Common Parameters

For common parameters, refer to How to call TikTok Shop APIs - Common Parameters

Properties Location Type Require Sample Properties description
shop_cipherquerystringYGCP_XF90igAAAABh00qsWgtvOiGFNqyubMt3Use this property to pass shop information in requesting the API. Failure in passing the correct value when requesting the API for cross-border shops will return incorrect response.
Get by API Get Authorization Shop
content-typeheaderstringYapplication/jsonAllowed type: application/json
#

§5 Request Query Parameters

Properties Type Require Sample Properties description
app_keystringN38abcdEvery single app will have a unique key. Please use the specific key assigned to your app.
signstringN5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8cSignature generated by gen algorithm. When you send API requests to TTS, you must sign them so that TTS can identify the senders.
timestampintN1623812664Unix timestamp GMT (UTC+00:00). This timestamp is used across all API requests. Developers can use this convert to local time.
idempotency_keystringN1623812664Idempotency Key
#

§6 Request Body Parameters

Properties Type Require Sample Properties description
order_idstringY576473917261320779Tiktok Shop order id
skus[]objectNSkus
^sku_idstringY1729386416015578024Sku id seller wants to create a return request
^quantityintY1Quantity seller wants to create a return request
order_line_item_ids[]stringN["455764739172614518516"]Specifies the order line IDs to include in the return request. If the order has been split into multiple packages, use order line IDs to create the return request. If neither order_line_item_ids nor skus is provided, the default is all order lines in the order. Note: This is a legacy field for new integrations use order_line_list instead.
return_reasonstringYecom_order_delivered_refund_reason_missing_product_sellerSeller's reason to create a return
return_typestringYREFUNDWhich type to create:
  • REFUND
  • RETURN_AND_REFUND | refund_total |string |N |10.5 |Total refund amount to the buyer. The total refund amount can not exceed the refundable amount | currency |string |N |USD |Currency for refund which should be same as currency in TikTok Ship Order. | shipment_type |string |N |PLATFORM |Specifies the return shipping method the buyer uses to send items back to the seller in a return request. Supported values:
  • PLATFORM
  • BUYER_ARRANGE | handover_method |string |N |DROP_OFF |Optional. Only applicable when shipment_type is PLATFORM. Specifies the handover method the buyer uses to return the item through platform-supported shipping. Supported values:
  • DROP_OFF
  • PICKUP | order_line_list |[]object |N | |Specifies the line items to include in the return request and supports bundle order splitting. In one request, use either order_line_item_id for normal order lines or sub_order_line_item_id for bundle sub-items. Note: This field is completely backward compatible with the previous order_line_items_ids field. | ^order_line_item_id |string |N |576469648086306986 |The corresponding order line ID | ^sub_order_line_item_id |string |N |576469648086306987 |The sub-order-line ID inside a bundle product
  • Required for bundle products
  • Not required for non-bundle products |
#

§7 Request Sample

Query

https://open-api.tiktokglobalshop.com/return_refund/202602/returns?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c&timestamp=1625484268&shop_cipher=ROW_RHkDDABBAAB8tKAVoAqsMTjsQZFLyNfY&idempotency_key=1623812664

Body

{"order_id":"576473917261320779","skus":[{"sku_id":"1729386416015578024","quantity":1}],"order_line_item_ids":["455764739172614518516"],"return_reason":"ecom_order_delivered_refund_reason_missing_product_seller","return_type":"REFUND","refund_total":"10.5","currency":"USD","shipment_type":"PLATFORM","handover_method":"DROP_OFF","order_line_list":[{"order_line_item_id":"576469648086306986","sub_order_line_item_id":"576469648086306987"}]}
#

§8 Response Parameters

Properties Type Sample Properties description
codeint0The success or failure status code returned in API response.
messagestringSuccessThe success or failure messages returned in API response. Reasons of failure will be described in the message.
request_idstring202203070749000101890810281E8C70B7Request log
dataobjectSpecific return information
^return_idstring4035319218955782461The identifier of a specific return request.
^return_statusstringRETURN_OR_REFUND_REQUEST_PENDINGReturn status, available values:
  • RETURN_OR_REFUND_REQUEST_PENDING: Request is pending, needs to be approved by seller or platform
  • REFUND_OR_RETURN_REQUEST_REJECT: Seller rejected the request
  • AWAITING_BUYER_SHIP: Waiting buyer to ship items to seller, if exceed the deadline, request will be closed by platform
  • BUYER_SHIPPED_ITEM: Buyer has shipped items to seller.
  • REJECT_RECEIVE_PACKAGE: Seller reject return package
  • RETURN_OR_REFUND_REQUEST_SUCCESS: The refund/return request is successful, buyer will be refunded.
  • RETURN_OR_REFUND_REQUEST_CANCEL: The request has been cancelled by buyer or system
  • RETURN_OR_REFUND_REQUEST_COMPLETE: The request is successful, and the amount has been refunded. |
#

§9 Response Sample

{"code":0,"data":{"return_id":"4035319218955782461","return_status":"RETURN_OR_REFUND_REQUEST_PENDING"},"message":"Success","request_id":"202203070749000101890810281E8C70B7"}
#

§10 Error Code

For common error codes, refer to How to call TikTok Shop APIs - Common Error Code

Code Message
25001001An invalid request parameter was passed. Please check that you have the correct parameter type(s) and format.
25001003Invalid order status.
25001010A return request has already been completed, or the order has already been cancelled.
25001011A return request is already in process, or the order has already been cancelled.
25001014Unknown return reason. Please ensure you are passing a valid return reason.
25001015The provided return reason cannot be used by the seller. Please select a valid return reason and try again.
25001020The provided return reason is currently offline. Please select a different return reason.
25001021Reason not match order status
25001028reverse lock failed
25001042Return package creation has failed due to internal error.
25001046Return request has failed due to an interception by TikTok risk control.
25001051Not allowed to return or cancel since order is completed or cancelled
25005005Refund total amount is larger than the refundable amount.
25005010Unable to cancel individual line items within this request.
25005011The requested line item(s) for return or refund exceeds the allowable limit.
25020005No permission to process this order
36009003Internal error. Please try again. If the issue persists after multiple attempts, please contact platform support.
#