Get SKU Attribute

Last Updated on : 2024-01-12 02:37:36download

Set the SKU attributes when a commodity is added.

API address

GET: /v1.0/sellercenter/sku/attrs

Request parameter

Parameter nameTypeINRequiredDescription
mall_codeStringquerytrueThe code of the mall.
site_codeStringquerytrueThe code of the site.
langStringquerytrueThe language.

Return parameter

Parameter nameTypeDescription
resultList

Description of result

Parameter nameTypeDescription
attr_codeStringThe code of a specified attribute.
attr_nameStringThe name of a specified attribute.
valuesListThe value of a specified attribute.

Description of values

Parameter nameTypeDescription
attr_value_idLongThe ID of a specific attribute value.
attr_value_nameStringThe name of a specific attribute value.

Request example

GET: /v1.0/sellercenter/sku/attrs?mall_code=8h3tiureddm1&site_code=CN&lang=zh

Error code

For more information, see error code.