Retrieve the standard built-in product and sales attributes for listing a global product in a particular category across the seller’s markets. Products on TikTok Shop are grouped into categories predefined by TikTok Shop, and each category is associated with a standard set of product attributes and sales attributes.
- Sales attributes (e.g. size, color, length) define product variants and are optional if your product is straightforward and has no variants.
- Product attributes (e.g. manufacturer, country of origin, materials used) describe the product as a whole, regardless of variant. Some product attributes are mandatory based on listing policies.
Use this API to determine the mandatory and optional attributes, including market-specific requirements, before listing a global product.
Note: It must be a leaf category that corresponds to the category tree type specified in the
category_versionproperty.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The ID of the category. It must be a leaf category.
Query Parameters
Section titled “Query Parameters”The BCP-47 locale codes for displaying category information. Default: The default locale of your shop. Possible values:
cs-CZde-ATde-BEde-DEel-GRen-GBen-IEen-USes-ESes-MXfr-FRfr-BEhu-HUid-IDit-ITja-JPms-MYnl-NLnl-BEpl-PLpt-BRpt-PTth-THvi-VNzh-CN
Filter categories by the category tree version.Possible values based on region:
- US, EU and SEA: v2, represents the 7-level category tree. Important: For US, EU and SEA shops, you must pass v2 when using this API.
- Other regions: v1, represents the 3-level category tree.Default: v1
Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
The list of standard built-in product and sales attributes that are bound to the specified category.
object
The ID of the built-in attribute.
The name of the built-in attribute.
The attribute type. Possible values:
- SALES_PROPERTY: Indicates sales attributes that define product variants.
- PRODUCT_PROPERTY: Indicates product attributes that describe the product as a whole.
A flag indicating whether the product attribute is required across all of the seller’s markets when creating or editing a product.
- true: The attribute is required in all of the seller’s markets.
- false: The attribute is not required in all of the seller’s markets; it may be required in some markets, required only under certain conditions, or optional. Refer to
required_regions,optional_regions, andrequirement_conditionsfor the specific requirements.
Applicable only if type=PRODUCT_PROPERTY.
A list of selectable values for the attribute.
object
The ID of the built-in attribute value.
The name of the built-in attribute value.
A flag to indicate if multiple values can be provided for the attribute when creating or editing a product.
A flag to indicate if the attribute value can be customized by sellers when creating or editing a product.
A list of market-specific conditions that determine whether the product attribute is required based on the seller’s inputs for other attributes. If any condition for a market is met, the attribute is required in that market; otherwise, it is optional in that market. This field is omitted when no conditions apply.
For example, a condition can state that the “Battery type” attribute is required if the seller selects the value “Batteries” for the attribute “Contains Batteries or Cells?”. For more scenario-based guidance on using this parameter, refer to the Solution Guide.
Applicable only if type=PRODUCT_PROPERTY and optional_regions is not empty.
object
The market where the attribute is required when the conditions are met. Possible values:
- AT: Austria
- BE: Belgium
- CZ: Czech Republic
- DE: Germany
- ES: Spain
- FR: France
- GB: United Kingdom
- GR: Greece
- HU: Hungary
- ID: Indonesia
- IT: Italy
- IE: Ireland
- JP: Japan
- MY: Malaysia
- NL: Netherlands
- PH: Philippines
- PL: Poland
- PT: Portugal
- SG: Singapore
- TH: Thailand
- US: United States
- VN: Vietnam
- MX: Mexico
The type of condition. Possible values:
- VALUE_ID_MATCH: The condition is true when the seller selects a value whose ID matches the one specified in this condition.
The ID of the product attribute that is being evaluated by the condition.
The ID of the product attribute value that must match the seller’s input for the condition to be true.
The markets where the attribute is purely optional, or required only under certain conditions. Refer to requirement_conditions for details on markets with conditional requirements. This field is omitted when there are no optional markets.
Possible values:
- AT: Austria
- BE: Belgium
- CZ: Czech Republic
- DE: Germany
- ES: Spain
- FR: France
- GB: United Kingdom
- GR: Greece
- HU: Hungary
- ID: Indonesia
- IT: Italy
- IE: Ireland
- JP: Japan
- MY: Malaysia
- NL: Netherlands
- PH: Philippines
- PL: Poland
- PT: Portugal
- SG: Singapore
- TH: Thailand
- US: United States
- VN: Vietnam
- MX: Mexico
Applicable only if
is_requried=false.
The markets where the attribute is required without conditions. When is_requried=true, this list contains all of the seller’s markets. When is_requried=false, it contains only the markets where the attribute is unconditionally required. This field is omitted when there are no unconditionally required markets.
Possible values:
- AT: Austria
- BE: Belgium
- CZ: Czech Republic
- DE: Germany
- ES: Spain
- FR: France
- GB: United Kingdom
- GR: Greece
- HU: Hungary
- ID: Indonesia
- IT: Italy
- IE: Ireland
- JP: Japan
- MY: Malaysia
- NL: Netherlands
- PH: Philippines
- PL: Poland
- PT: Portugal
- SG: Singapore
- TH: Thailand
- US: United States
- VN: Vietnam
- MX: Mexico
Example
{ "code": 0, "data": { "attributes": [ { "id": "100392", "name": "Occasion", "type": "PRODUCT_PROPERTY", "is_requried": false, "values": [ { "id": "1001533", "name": "Birthday" } ], "is_multiple_selection": false, "is_customizable": false, "requirement_conditions": [ { "region": "IE", "condition_type": "VALUE_ID_MATCH", "attribute_id": "101610", "attribute_value_id": "1024358" } ], "optional_regions": [ "US" ], "required_regions": [ "GB", "MY", "PH", "SG", "TH", "VN" ] } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}