If you have used the Add External Order References API, use this API to retrieve the external order references associated with a TikTok Shop order for the specified external order management system (OMS) platform.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The unique identifier for a TikTok Shop order.
Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
The alias of your external order management system (OMS). Possible values:
- SHOPIFY
- WOOCOMMERCE
- BIGCOMMERCE
- MAGENTO
- SALESFORCE_COMMERCE_CLOUD
- CHANNEL_ADVISOR
- AMAZON
- ORDER_MANAGEMENT_SYSTEM
- WAREHOUSE_MANAGEMENT_SYSTEM
- ERP_SYSTEM
Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
A list of orders that have been synced between your OMS and TikTok Shop.
Note: If you’ve synced order information between multiple OMSs to the same TikTok Shop order, you’ll retrieve all external order information.
object
Order ID in your OMS.
The alias of your OMS.
Line item references between the external order and TikTok Shop.
object
Line item ID in your OMS.
Line item ID in TikTok Shop.
Example
{ "code": 0, "data": { "external_orders": [ { "id": "676461413038785752", "platform": "SHOPIFY", "line_items": [ { "id": "577086512123755123", "origin_id": "677086512123755123" } ] } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}