Search affiliate orders attributed to the authenticated creator. The response includes order and SKU details, order status, content attribution, commission rates, and estimated or actual commission amounts for tracking affiliate conversions.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”An opaque token used to retrieve the next page of a paginated result set. Retrieve this value from the result of the next_page_token from a previous response. It is not needed for the first page.
The number of results to be returned per page. Default: 20 Valid Range: [1-100]
Request Body
Section titled “Request Body”object
Filter orders to show only those that are created on or after the specified date and time. Unix timestamp.
Note:
create_time_ge and create_time_lt together constitute the creation time filter condition.
- If
create_time_geis filled butcreate_time_ltis empty,create_time_ltwill default to the current time. - If
create_time_ltis filled butcreate_time_geis empty,create_time_gewill default to the earliest shop time.
Filter orders to show only those created before the specified time, expressed as a Unix timestamp in seconds. Refer to the notes in create_time_ge for more usage information.
Example
{ "create_time_ge": 1719807456, "create_time_lt": 1728443155}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
The order resource.
object
The order identifier.
The time when the order was created, as a Unix timestamp in seconds (UTC).
The time when the order was delivered, as a Unix timestamp in seconds (UTC).
The current status of the order. Possible options are:
- UNSPECIFIED: The status of the order is undefined. It might be updated later.
- AWAITING PAYMENT:The order hasn’t been paid yet, only estimated commission is available
- To-SETTLE:The order is waiting for settlement, only estimated commission is available
- SETTLED: The commission of the order is already settled.
- REFUNDED: The order has been returned/refunded/canceled by the buyer, and no commission will be settled.
- FROZEN: Possible fraud has been detected regarding the order. The commission will be unfrozen after the fraud is resolved.
A list of SKUs associated with the order.
object
The SKU identifier.
The campaign identifier associated with the order.
The open collaboration identifier associated with the order.
The target collaboration identifier associated with the order.
The product name in the TikTok Shop.
The product identifier.
An object representing the localized price of the product.
object
The SKU price in major units of the currency specified by currency, represented as a decimal string.
The price currency code.
The name of the TIkTok Shop in which the product is offered for sale.
The content format of the creator content through which the order was created. Possible values:
- SHOP
- VIDEO
- LIVE
- PRE_LIVE
- PROMOTION_PAGE
- LINKSHARE
The content identifier for the creator content through which the order was created.
The quantity of this SKU in the order, including refunded units.
The total commission rate for this SKU, equal to the sum of the standard commission rate, shop ads commission rate, bonus rate, and reward rate. It is expressed in hundredths of a percent; the percent sign (%) is not included. For example, 3000 represents a 30% commission.
Between Seller & Creator percentagecommission. When tiering commission model applied, will return each tier’s commission rate seller set.
The commission model used for the order. Possible values:
- Fixed commission
- Tiered commission
The commission bonus rate associated with the collaboration. It is expressed in hundredths of a percent; the percent sign (%) is not included. For example, 3000 represents a 30% commission.
An object representing the estimated base commission at the time of order creation.
object
The estimated commission base as a localized display string. It may include a currency symbol or code and region-specific decimal and grouping separators; see the sibling currency field for the currency code.
The currency code.
The standard affiliate commission rate associated with the collaboration. It is expressed in hundredths of a percent; the percent sign (%) is not included. For example, 3000 represents a 30% commission.
The commission rate received by a creator for a sale associated with a specific piece of content. It is expressed in hundredths of a percent; the percent sign (%) is not included. For example, 3000 represents a 30% commission.
An object representing the estimated bonus commission, calculated by multiplying the estimated commission base by the commission bonus rate.
object
When available, the estimated bonus commission amount as a localized display string. It may include a currency symbol or code and region-specific decimal and grouping separators; see the sibling currency field for the currency code.
The currency code.
An object representing the estimated standard affiliate commission, calculated by multiplying the estimated commission base by the standard_commission_rate.
object
Commission amount without a currency symbol. Use the sibling currency field to identify the currency.
Type of currency use
An object representing the estimated shop ads commission, calculated by multiplying the estimated commission base by the shop_ads_commission_rate
object
The estimated shop ads commission amount as a localized display string. It may include a currency symbol or code and region-specific decimal and grouping separators; see the sibling currency field for the currency code.
The currency code.
The creator’s total estimated commission earnings for this SKU after applicable additions and deductions.
object
The estimated commission amount as a localized display string. It may include a currency symbol or code and region-specific decimal and grouping separators; see the sibling currency field for the currency code.
The currency code.
Represents the final earnings of this sku, calculated by multiplying the actual commission base by the total commission rate, and then deducting the taxes or revenue sharing with the agency amount.
object
The actual commission amount as a localized display string. It may include a currency symbol or code and region-specific decimal and grouping separators; see the sibling currency field for the currency code. An empty string means that no actual commission value is available.
The currency code.
An object representing the actual bonus commission, calculated by multiplying the actual commission base by the commission bonus rate.
object
The actual bonus commission amount as a localized display string. It may include a currency symbol or code and region-specific decimal and grouping separators; see the sibling currency field for the currency code.
The currency code.
An object representing the actual commission base, calculated by multiplying the product sale price by the number of products sold, subtracting returned and refunded orders.
object
The actual commission base as a localized display string. It may include a currency symbol or code and region-specific decimal and grouping separators; see the sibling currency field for the currency code. For SETTLED orders, this contains the actual base when available; for REFUNDED orders, it is a localized zero value; for other statuses, it is an empty string.
The currency code.
An object representing the actual standard affiliate commission, calculated by multiplying the commission base by the standard_commission_rate.
object
Commission amount without a currency symbol. Use the sibling currency field to identify the currency.
Type of currency use
An object representing the actual shop ads commission, calculated by multiplying the commission base by the shop_ads_commission_rate.
object
When available, the actual shop ads commission amount as a localized display string. It may include a currency symbol or code and region-specific decimal and grouping separators; see the sibling currency field for the currency code.
The currency code.
The returned quantity for this SKU in the order.
The refunded quantity for this SKU in the order.
A field for storing user-defined metadata for tracking purposes.
The commission reward rate that an affiliate partner allocates to the creator. It is expressed in hundredths of a percent; the percent sign (%) is not included. For example, 1000 represents 10%.
Estimated creator commission reward fee.
object
When available, the estimated creator commission reward fee as a localized display string. It may include a currency symbol or code and region-specific decimal and grouping separators; see the sibling currency field for the currency code.
The currency code.
Actual creator commission reward fee.
object
When available, the actual creator commission reward fee as a localized display string. It may include a currency symbol or code and region-specific decimal and grouping separators; see the sibling currency field for the currency code.
The currency code.
Only for Mexico creator, platform collected related revenue taxes on behalf of government based on regulation.
object
The actual isr amount.
The currency code.
Only for Mexico creator, platform collected related revenue taxes on behalf of government based on regulation.
object
The actual iva amount.
The currency code.
Only for VN/TH/PH/ID creators, sellers collect related withholding taxes based on regulation.
object
The actual pit amount.
The currency code.
The amount of the creator’s after-tax revenue shared with the affiliated institution under the applicable fee agreement.
object
The actual shared with partner amount.
The currency code.
Extra information for tracing purposes.
object
When trace_info.type is GENERAL, this is the {eid} provided in sharing_link; when trace_info.type is SPECIFIC, this is the publisher_id.
For the orders coming from the sharing links for specific publishers, the value is SPECIFIC; for the orders coming from the general sharing links, the value is GENERAL.
The time when the record was last updated, as a Unix timestamp in seconds (UTC).
Carousel content may involve a commission rate discount. Returns true when the order is attributed to carousel content.
An opaque token used to retrieve the next page of results. Specify create_time_ge and create_time_lt in the first request and reuse the same values for every page. Pass a non-empty returned token as page_token in the next request. An empty value indicates the last page; stop requesting additional pages.
The total number of SKU orders that match the search criteria. page_size limits SKU-order rows before they are grouped into orders; because one order can contain multiple SKUs, the number of returned order objects can be less than page_size. Use next_page_token to continue pagination.
Example
{ "code": 0, "data": { "orders": [ { "id": "789078671231123124", "create_time": 1685548800, "delivery_time": 1685548800, "status": "SETTLED", "skus": [ { "id": "1729793769377925388", "campaign_id": "73661290629", "open_collaboration_id": "73661290629", "target_collaboration_id": "73661290629", "product_name": "black_suit", "product_id": "1729793769377859852", "price": { "amount": "Rp9.900", "currency": "IDR" }, "shop_name": "TestCase idl2l", "content_type": "LIVE", "content_id": "7493990579714164574", "quantity": 2, "commission_rate": 1000, "commission_tier_setting": "3.0 OR 5.0", "commission_model": "Tiered commission", "commission_bonus_rate": 1000, "estimated_commission_base": { "amount": "Rp9.900", "currency": "IDR" }, "standard_commission_rate": 5000, "shop_ads_commission_rate": 5000, "estimated_bonus_commission": { "amount": "Rp1.00", "currency": "IDR" }, "estimated_standard_commission": { "amount": "Rp8.000", "currency": "IDR" }, "estimated_shop_ads_commission": { "amount": "Rp8.000", "currency": "IDR" }, "estimated_commission": { "amount": "Rp1.980", "currency": "IDR" }, "actual_commission": { "amount": "Rp1.900", "currency": "IDR" }, "actual_bonus_commission": { "amount": "Rp2.000", "currency": "IDR" }, "actual_commission_base": { "amount": "Rp9.900", "currency": "IDR" }, "actual_standard_commission": { "amount": "Rp5.000", "currency": "IDR" }, "actual_shop_ads_commission": { "amount": "Rp5.000", "currency": "IDR" }, "returned_quantity": 1, "refunded_quantity": 0, "tag": "test-01", "creator_commission_reward_rate": 1000, "estimated_creator_commission_reward_fee": { "amount": "250", "currency": "IDR" }, "actual_creator_commission_reward_fee": { "amount": "100", "currency": "IDR" }, "isr": { "amount": "100", "currency": "MXN" }, "iva": { "amount": "100", "currency": "MXN" }, "pit": { "amount": "100", "currency": "IDR" }, "shared_with_partner": { "amount": "100", "currency": "IDR" }, "trace_info": { "id": "15678763", "type": "SPECIFIC" }, "last_update_time": 1685548800, "is_carousel": false } ] } ], "next_page_token": "b2Zmc2V0PTEw", "total_count": 10 }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}