Contact Us
Log In

Get Commodity Details

Last Updated on : 2022-09-27 06:12:17download

Get the detailed information about a commodity according to the unique code of a commodity.

API address

GET: /v1.0/sellercenter/commodity/detail/{commodity_code}

Request parameter

Parameter nameTypeINRequiredDescription
mall_codeStringquerytrueThe code of the mall.
commodity_codeStringuritrueThe unique code of a specified commodity.
langStringquerytrueThe language.

Return parameter

Parameter nameTypeDescription

Description of result

Parameter nameTypeDescription
commodity_codeStringThe unique code of a specified commodity.
titleStringThe title of a specified commodity.
descriptionStringThe description of a specified commodity.
brandStringThe brand of a specified commodity.
codeStringThe code of a specified mall.
pidStringThe product ID (PID) of a specified commodity.
first_category_codeStringThe code of the level-1 category.
second_category_codeStringThe code of the level-2 category.
third_category_codeStringThe code of the level-3 category.
show_picturesListThe displayed image.
detail_picturesListThe image of details.
videoStringThe video.
video_picStringThe cover image of the video.
sku_listListThe list of SKUs.
postage_typeIntegerThe postage type. Valid values: 1: free shipping. 2: fixed postage.
postage_feeDoubleThe postage fee.
install_typeIntegerThe installation type. Valid values: 1: no need to install. 2: on-site installation. 3: installation by users.
install_feeDoubleThe installation fee.
is_jumpBooleanIndicates whether commodity navigation is enabled. Valid values: true: yes. false: no.
jump_linkStringThe navigation link of a specified commodity.
publishBooleanIndicates whether a commodity is released. Valid values: true: yes. false: no.

Description of sku_list

Parameter nameTypeDescription
sku_codeStringThe unique code of a specified SKU.
original_priceDoubleThe original price.
sale_priceDoubleThe sales price.
inventoryIntegerThe inventory.
weightDoubleThe weight.
external_codeStringThe external code.
sku_attr_listListThe list of SKU attributes.

Description of sku_attr_list

Parameter nameTypeDescription
attr_codeStringThe unique code of a specified attribute.
attr_nameStringThe name of a specified attribute.
attr_value_idLongThe ID of a specific attribute value.
attr_value_nameStringThe name of a specific attribute value.

Request example

GET: /v1.0/sellercenter/commodity/detail/CMaov6tvgvwe10

Error code

For more information, see error code.

Error code | Error code | Description | |:----|:----| | 2000000 | Parameter error. |