Submit redemption information for one or more line items in a TikTok Shop order so TikTok Shop can fulfill those items.
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.
Request Bodyrequired
Section titled “Request Bodyrequired”object
TikTok Shop order ID.
Order line items for which to submit redemption information. Include at least one item. Each order_line_id must belong to the order specified by order_id and must appear only once in the list.
object
The unique identifier of the order line item.
The redemption information generated by your system for this order line item.
object
What redeem type that you callback. ‘CODE’ - type code ‘URL’ - type url ‘CODE_PIN’ - type pin and code
Set the redeem data to this field with the maximum number of characters 1200. The example of each type is shown below, CODE: abc12344 URL: https://{your_domain}/abc CODE_PIN(json format): {“type”: “CODE_PIN”,“code”: “12345”,“pin”: “abc”}
Additional redemption instruction in JSON format. Use instruction_url to specify a third-party website where the buyer completes redemption. This URL is included as a clickable link in the fulfillment email. Example: {“instruction_url”: “https://example.com/redeem"}
Optional, a unique id related to the order line in the caller system
Example
{ "order_id": "576461413038785752", "order_info_list": [ { "order_line_id": "577086512123755123", "redeem_info": { "redeem_type": "CODE", "redeem_data": "abc12344", "redeem_instruction_info": "{\"instruction_url\": \"https://example.com/redeem\"}" }, "source_unique_id": "134448484339393" } ]}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
Callback result.For partial failure usage, if some of order line id in the request fail, it will be recorded with a none zero status_code.
object
Line order id, same as the input line order id.
Callback status of this line order id. A none zero code represent a failure callback.
Example
{ "code": 0, "data": { "order_statuses": [ { "order_line_id": "577086512123755123", "status_code": 0 } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}