Skip to main content

v2.global_product.update_global_item

POST /api/v2/global_product/update_global_item

Update global item. Only for China mainland sellers and Korean sellers.

Endpoint URL

URL: https://partner.shopeemobile.com/api/v2/global_product/update_global_item

Common Request Parameters

NameTypeSampleDescription
partner_idint1Partner ID is assigned upon registration is successful. Required for all requests.
timestamptimestamp1610000000This is to indicate the timestamp of the request. Required for all requests. Expires in 5 minutes.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1The token for API access, using to identify your permission to the api. Valid for multiple use and expires in 4 hours.
merchant_idint1Shopee’s unique identifier for a merchant. Required for all merchant level requests(CB CNSC user calling global product related APIs).
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature generated by partner_id, api path, timestamp, access_token, merchant_id and partner_key via HMAC-SHA256 hashing algorithm. More details: https://open.shopee.com/documents?module=87&type=2&id=58&version=2

Request Parameters

NameTypeRequiredSampleDescription
global_item_idint64True100369Id of global item.
category_idint32False7535Category id of global item.
global_item_namestringFalseitem nameName of global item.
descriptionstringFalseitem descriptionDescription of global item.
global_item_skustringFalseitem skuSku of global item.
weightfloatFalse100.5The weight of this global item, the unit is KG. Updating the weight of this global item will overwrite the weight of all global models under this global item.
dimensionobjectFalseThe dimension of this global item. Updating the dimension of this global item will overwrite the dimension of all global models under this global item.
package_lengthint32False11The length of package for this global item, the unit is CM.
package_widthint32False11The width of package for this global item, the unit is CM.
package_heightint32False11The height of package for this global item, the unit is CM.
pre_orderobjectFalsePreorder information of global item. Updating the DTS of global item will overwrite the DTS of all global models under the global item
days_to_shipint32True3Days to ship.
conditionstringFalseNEWCondition of global item, "NEW" or "USED" is available.
imageobjectFalseImage information of global item.
image_id_liststring[]True["c54265d475b85e00ffb2404585e32b6f", "6fb33d484f232510b5f9b169f2758322"]Image id list of global item.
video_upload_idstring[]False["591ab15ea954b9879374765854595600"]Video upload id of global item.
brandobjectFalse
brand_idint32False1078Id of brand.
attribute_listobject[]FalseItem attributes.
attribute_idint32False1007105ID of attribute.
attribute_value_listobject[]False
value_idint32False38173ID of attribute value. In the following cases, the value id needs to be uploaded as 0, and original_value_name is mandatory, needs to be filled in customized value. (1) AttributeInputType is TEXT_FILED; (2) AttributeInputType is COMBO_BOX or MULTIPLE_SELECT_COMBO_BOX, and the seller want to fill in a customized value.
original_value_namestringFalseRedName of attribute value. original_value_name from global_product.get_attributes api. If value id=0, this field is required. If AttributeType is DATE_TYPE or TIMESTAMP_TYPE, you can upload timestamp(string type) as the original_value_name.
value_unitstringFalseKgUnit of attribute value.(quantitative attribute only)
description_infoobjectFalseNew description field. New description field. Only whitelist sellers can use it. If you use the field, please upload the description_type=extended otherwise api will return error. If you don't use this field, you don't need to upload the description_type or upload description_type=normal
extended_descriptionobjectFalseIf description_type is extended , Description information should be set by this field.
field_listobject[]FalseField of extended description.
field_typestringFalseType of extended description field :values: See Data Definition- description_field_type (text , image).
textstringFalseIf field_type is text, text information will be set by this field.
image_infoobjectFalseIf field_type is image, image url will be set by this field.
image_idstringFalseImage id.
description_typestringFalseValues: See Data Definition- description_type (normal , extended). If you want to use extended_description or change description type ,this field must be inputed
size_chart_infoobjectFalse
size_chartstringFalseID of size chart image. If you want to remove the image size chart of the item, please pass the "size_chart" empty. You only need to fill out either the image or template. If both are filled, only the template will be kept. Notes: Both CB shops and local shops are supported to set "size_chart".
size_chart_idint64FalseID of template size chart. If you want to remove the template size chart of the item, please pass the "size_chart_id" as 0. You only need to fill out either the image or template. If both are filled, only the template will be kept. Notes: Both local shops and CB shops are supported to set "size_chart_id" now and seller need set the size_chart template in CBSC in advance

Response Parameters

NameTypeSampleDescription
errorstringIndicate error type if hit error. Empty if no error happened.
messagestringIndicate error details if hit error. Empty if no error happened.
warningstringWarning message.
request_idstring98eae35efff24dd0974c21a847127184The identifier for an API request for error tracking.
responseobject
global_item_idint64100369Id of updated global item.

, "pre_order": { "days_to_ship": 2 }, "condition": "NEW", "image": { "image_id_list": [ "c54265d475b85e00ffb2404585e32b6f", "6fb33d484f232510b5f9b169f2758322" ] }, "video_upload_id": [ "591ab15ea954b9879374765854595600" ], "attribute_list": [{ "attribute_id": 5357, "attribute_value_list": [ { "value_id":0, "original_value_name":"red", "value_unit":"kg" } ] }], "brand":{ "brand_id":123 }, "description_type":"extended", "description_info":{ "extended_description":{ "field_list":[ { "field_type":"text", "text":"text description 1" }, { "field_type":"image", "image_info":{ "image_id":"1e076dff0699d8e778c06dd6c02df1fe" } }, { "field_type":"image", "image_info":{ "image_id":"c07ac95ba7bb624d731e37fe2f0349de" } }, { "field_type":"text", "text":"text description 1" } ] } } }