Skip to content

Search TAP Affiliate Orders

POST
/affiliate_partner/202603/orders/search

TAP can use this API to retrieve a list of affiliate orders and track the affiliate conversions.

page_token
string

The pagination token returned in next_page_token from the previous response. When paginating, provide create_time_ge and create_time_lt in the first request, then pass this token and reuse the same campaign_id (if specified), create_time_ge, and create_time_lt values in every subsequent request.

page_size
required
integer format: int64

The default is 20, it must be positive integer, the range is 1-100

category_asset_cipher
required
string

The partner identifier used in API requests. Retrieve this value by using the Get Authorized Category Assets API.

Media typeapplication/json
object
create_time_ge

Filter orders created at or after this time, specified as a Unix timestamp in seconds (UTC).

create_time_ge and create_time_lt must be provided together, and the interval must not exceed three months. If both fields are omitted, the API queries orders from the last three months.

integer format: int64
create_time_lt

Filter orders created before this time, specified as a Unix timestamp in seconds (UTC). See create_time_ge for the pairing, interval, and default behavior.

integer format: int64
campaign_id

Filter orders by a TAP campaign using its identifier.

string
Example
{
"create_time_ge": 1623812664,
"create_time_lt": 1623899064,
"campaign_id": "7324371012170024705"
}

Success

Media typeapplication/json
object
code

Status code; 0 means success.

integer format: int64
message

Success or failure message.

string
request_id

Request log ID.

string
data
object
sku_orders

SKU-level affiliate order records. Estimated commission amount fields are populated when the corresponding estimated component is available. Actual commission amount fields are populated only for SETTLED or INELIGIBLE orders and are omitted before those states; an individual actual amount can still be omitted when its underlying component is unavailable.

Array<object>
object
id

Transaction main order ID

string
create_time

The order creation time as a Unix timestamp in seconds (UTC).

integer format: int64
delivery_time

The order delivery time as a Unix timestamp in seconds (UTC).

integer format: int64
settle_status

Settlement Status of the order. Possible values:

  1. “CUSTOMER UNPAID”, customer hasn’t paid for the orders.
  2. “PENDING”, customers can still return or get a refund for this order. The earnings shown are estimates and waiting for settlement.
  3. “SETTLED”, your earnings have already settled to your account
  4. “INELIGIBLE”, The order has been returned/refunded/canceled by the buyer, and no commission will be settled.
  5. “FROZEN”, Possible fraud has been detected regarding the order. The commission will be unfrozen after the fraud is resolved.
string
sku_id

Sku ID

string
campaign_id

The identifier of the TAP campaign associated with the order.

string
creator_username

Creator username

string
product_name

The product name.

string
product_id

Unique identifier for Product

string
price

Price

object
amount

The SKU price in major units of the currency specified by currency, represented as a decimal string.

string
currency

The price currency code.

string
quantity

Number of SKU items in the order, including refunded items.

integer format: int64
content_type

The content format of the creator content through which the order was created. Possible values:

  • SHOP
  • VIDEO
  • LIVE
  • PRE_LIVE
  • PROMOTION_PAGE
  • LINKSHARE
string
Allowed values: SHOP VIDEO LIVE PRE_LIVE PROMOTION_PAGE LINKSHARE
content_id

Unique identifier for content

string
creator_standard_commission_rate

The creator standard commission rate, scaled by 10,000. For example, 3000 represents 30%.

integer format: int64
partner_standard_commission_rate

The affiliate partner’s standard commission rate, scaled by 10,000. For example, 4000 represents 40%.

integer format: int64
creator_shop_ads_commission_rate

The creator Shop Ads commission rate, scaled by 10,000. For example, 3000 represents 30%.

integer format: int64
partner_shop_ads_commission_rate

The affiliate partner’s Shop Ads commission rate, scaled by 10,000. For example, 4000 represents 40%.

integer format: int64
partner_tap_bonus_commission_rate

The additional commission rate TikTok Shop offers to affiliate partners for driving product sales in specific campaigns, scaled by 10,000. For example, 1000 represents 10%.

integer format: int64
creator_tap_bonus_commission_rate

The commission reward rate allocated by the affiliate partner to the creator, scaled by 10,000. For example, 2000 represents 20%.

integer format: int64
estimated_commission_base

The estimated commission base is the item price multiplied by the number of items ordered at the time the order is created.

object
amount

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.

string
currency

The currency code.

string
estimated_creator_standard_commission

Estimated TAP commission x creator commission rate

object
amount

The estimated creator standard commission amount without a currency symbol. Use currency to identify the currency.

string
currency

Type of currency use

string
estimated_partner_standard_commission

Estimated commission base x TAP commission rate

object
amount

The estimated affiliate partner standard commission amount without a currency symbol. Use currency to identify the currency.

string
currency

Type of currency use

string
estimated_creator_shop_ads_commission

Estimated commission base x creator shop ads commission rate

object
amount

The estimated creator Shop Ads commission amount without a currency symbol. Use currency to identify the currency.

string
currency

Type of currency use

string
estimated_partner_shop_ads_commission

Estimated commission base x partner shop ads commission rate

object
amount

The estimated affiliate partner Shop Ads commission amount without a currency symbol. Use currency to identify the currency.

string
currency

Type of currency use

string
estimated_partner_tap_bonus_commission

Estimated partner commission reward fee

object
amount

The estimated affiliate partner commission reward amount without a currency symbol. Use currency to identify the currency.

string
currency

Type of currency use

string
estimated_creator_tap_bonus_commission

Estimated creator commission reward fee

object
amount

The estimated creator commission reward amount without a currency symbol. Use currency to identify the currency.

string
currency

Type of currency use

string
estimated_partner_isr

Estimated ISR tax amount for Mexico partner

object
amount

The estimated ISR tax amount without a currency symbol. Use currency to identify the currency.

string
currency

Type of currency use

string
estimated_partner_iva

Estimated IVA tax amount for Mexico partner

object
amount

The estimated IVA tax amount without a currency symbol. Use currency to identify the currency.

string
currency

Type of currency use

string
actual_commission_base

The actual commission base is the item price multiplied by the number of items ordered minus returns at the time the order is completed.

object
amount

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.

string
currency

The currency code.

string
actual_creator_standard_commission

Actual TAP commission x creator commission rate

object
amount

The actual creator standard commission amount without a currency symbol. Use currency to identify the currency.

string
currency

Type of currency use

string
actual_partner_standard_commission

Actual commission base x TAP commission rate

object
amount

The actual affiliate partner standard commission amount without a currency symbol. Use currency to identify the currency.

string
currency

Type of currency use

string
actual_creator_shop_ads_commission

Actual commission base x creator shop ads commission rate

object
amount

The actual creator Shop Ads commission amount without a currency symbol. Use currency to identify the currency.

string
currency

Type of currency use

string
actual_partner_shop_ads_commission

Actual commission base x partner shop ads commission rate

object
amount

The actual affiliate partner Shop Ads commission amount without a currency symbol. Use currency to identify the currency.

string
currency

Type of currency use

string
actual_partner_isr

Actual ISR tax amount for Mexico partner

object
amount

The actual ISR tax amount without a currency symbol. Use currency to identify the currency.

string
currency

Type of currency use

string
actual_partner_iva

Actual IVA tax amount for Mexico partner

object
amount

The actual IVA tax amount without a currency symbol. Use currency to identify the currency.

string
currency

Type of currency use

string
actual_partner_tap_bonus_commission

Actual partner commission reward fee

object
amount

The actual fee affiliate partners earn from commission rewards

string
currency

Type of currency use

string
actual_creator_tap_bonus_commission

Actual creator commission reward fee

object
amount

The actual fee creators receive from affiliate partners through commission rewards

string
currency

Type of currency use

string
fully_return

Whether the SKU was fully returned or refunded. Possible values:

  • Yes: The SKU was fully returned or refunded, and no commission is paid.
  • No: The SKU was not fully returned or refunded.
string
Allowed values: Yes No
settlement_time

The time when the order commission was settled, as a Unix timestamp in seconds (UTC).

integer format: int64
last_update_time

The time when the record was last updated, as a Unix timestamp in seconds (UTC).

integer format: int64
is_carousel

Carousel content may involve a commission rate discount. Returns true when the order is attributed to carousel content.

boolean
next_page_token

Pass this pagination token as page_token in the next request. Reuse the same campaign_id (if specified), create_time_ge, and create_time_lt values for every page; specify both time bounds in the first request to keep the search window fixed. Stop paginating when this field is omitted.

string
total_count

The total number of SKU orders matching the request filters across all pages.

integer format: int64
Example
{
"code": 0,
"data": {
"sku_orders": [
{
"id": "576962796354307765",
"create_time": 1685548800,
"delivery_time": 1685548800,
"settle_status": "SETTLED",
"sku_id": "1729793769377925388",
"campaign_id": "7324371012170024705",
"creator_username": "liuyi_id_creator1jigo",
"product_name": "Black Hoodie",
"product_id": "1729435310697057093",
"price": {
"amount": "99",
"currency": "USD"
},
"quantity": 1,
"content_type": "VIDEO",
"content_id": "7494337156519332665",
"creator_standard_commission_rate": 3000,
"partner_standard_commission_rate": 4000,
"creator_shop_ads_commission_rate": 3000,
"partner_shop_ads_commission_rate": 4000,
"partner_tap_bonus_commission_rate": 1000,
"creator_tap_bonus_commission_rate": 2000,
"estimated_commission_base": {
"amount": "99",
"currency": "USD"
},
"estimated_creator_standard_commission": {
"amount": "100",
"currency": "USD"
},
"estimated_partner_standard_commission": {
"amount": "100",
"currency": "USD"
},
"estimated_creator_shop_ads_commission": {
"amount": "99",
"currency": "USD"
},
"estimated_partner_shop_ads_commission": {
"amount": "99",
"currency": "USD"
},
"estimated_partner_tap_bonus_commission": {
"amount": "100",
"currency": "USD"
},
"estimated_creator_tap_bonus_commission": {
"amount": "100",
"currency": "USD"
},
"estimated_partner_isr": {
"amount": "99",
"currency": "USD"
},
"estimated_partner_iva": {
"amount": "99",
"currency": "USD"
},
"actual_commission_base": {
"amount": "200",
"currency": "USD"
},
"actual_creator_standard_commission": {
"amount": "100",
"currency": "USD"
},
"actual_partner_standard_commission": {
"amount": "99",
"currency": "USD"
},
"actual_creator_shop_ads_commission": {
"amount": "99",
"currency": "USD"
},
"actual_partner_shop_ads_commission": {
"amount": "99",
"currency": "USD"
},
"actual_partner_isr": {
"amount": "99",
"currency": "USD"
},
"actual_partner_iva": {
"amount": "99",
"currency": "USD"
},
"actual_partner_tap_bonus_commission": {
"amount": "200",
"currency": "USD"
},
"actual_creator_tap_bonus_commission": {
"amount": "100",
"currency": "USD"
},
"fully_return": "Yes",
"settlement_time": 1685548800,
"last_update_time": 1685548800,
"is_carousel": false
}
],
"next_page_token": "6AsPQsUMvH3RkchNUPPh22NROHkE0D8pmq/N5M1kHYcZmtRyv9aVrNv65W7Q6tFA+7D1ud64MPNz5OaT",
"total_count": 100
},
"message": "Success",
"request_id": "202203070749000101890810281E8C70B7"
}