Skip to main content

v2.product.update_item

POST /api/v2/product/update_item

Update item.

Endpoint URL

URL: https://partner.shopeemobile.com/api/v2/product/update_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.
shop_idint600000Shopee's unique identifier for a shop. Required param for most APIs.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature generated by partner_id, api path, timestamp, access_token, shop_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
descriptionstringFalseHello product product WlQPdMV4SlVoG7QD1v0fEecNoCVEBNx6Description of item.
weightfloatFalse0.9The weight of this item, the unit is KG. Updating the weight of this item will overwrite the weight of all models under this item.
pre_orderobjectFalsePre Order setting.
days_to_shipint32True7Days to ship.
is_pre_orderbooleanTruefalseWhether the item is pre order.
item_namestringFalseHello Pgkk50jdNgEnlWvXItem name.
attribute_listobject[]FalseItem attributes.
attribute_idint32True5357ID of attribute.
attribute_value_listobject[]False
value_idint32True38173ID 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_namestringFalseRedValue name. original_value_name from produc.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).
imageobjectFalseImages of item.
image_id_listobject[]TrueImage ID.
image_ratiostringFalse3:4Ratio of image, OptionalAllowed ratios : "1:1" (default)  "3:4"
item_skustringFalseabcSKU tag for item.
item_statusstringFalseUNLISTItem status, could be UNLIST or NORMAL.
logistic_infoobject[]FalseLogistic channel setting.
size_idint32False1Size ID.
shipping_feefloatFalse9.0Shipping fee.
enabledbooleanTruefalseWhether the channel is enabled for this item.
logistic_idint32True10007ID of logistics channel.
is_freebooleanFalsefalseWhether cover shipping fee for buyer.
wholesaleobject[]FalseWholesale setting. If you want to delete it, please pass it with blank.
min_countint32True0Minimum count of this tier.
unit_pricefloatTrue9.9Price of this tier.
max_countint32True10Maximum count of this tier.
item_idint64True28001430ID of item.
category_idint32False34106ID of category.
dimensionobjectFalseThe dimension of this item. Updating the dimension of this item will overwrite the dimension of all models under this item.
package_heightint32True13The height of package for this item, the unit is CM.
package_lengthint32True12The length of package for this item, the unit is CM.
package_widthint32True14The width of package for this item, the unit is CM.
conditionstringFalseUSEDCondition of item, could be NEW or USED.
video_upload_idstring[]False["sg_f4bde9bc-ff3c-485e-a6dd-3161dab4b942_000000"]Video upload ID returned from video uploading API. If you want to delete it, please pass it with blank.
brandobjectFalse
brand_idint32False0Id of brand.
original_brand_namestringFalsenikeOriginal name of brand.
item_dangerousint32False0This field is only applicable for local sellers in Indonesia and Malaysia. Use this field to identify whether a product is a dangerous product. 0 for non-dangerous product and 1 for dangerous product. For more information, please visit the market's respective Seller Education Hub.
tax_infoobjectFalseTax information
ncmstringFalseMercosur Common Nomenclature, it is a convention between Mercosur member countries to easily recognize goods, services and productive factors negotiated among themselves. (BR region) NCM must have 8 digits, OR, if your item doesn't have a NCM enter the value "00"
same_state_cfopstringFalseTax Code of Operations and Installments for orders that seller and buyer are in the same state. It identifies a specific operation by category at the time of issuing the invoice.
diff_state_cfopstringFalseTax Code of Operations and Installments for orders that seller and buyer are in different states. It identifies a specific operation by category at the time of issuing the invoice.
csosnstringFalseCode of Operation Status – Simples Nacional, code for company operations to identify the origin of the goods and the taxation regime of the operations.
originstringFalseProduct source, domestic or foreig
ceststringFalseTax Replacement Specifying Code (CEST), to separate within the same NCM products that do or do not have ICMS tax substitution. (BR region) CEST must have 7 digits, OR, if your item doesn't have a CEST enter the value "00".
measure_unitstringFalse(BR region)
invoice_optionstringFalseValue shuold be one of NO_INVOICES VAT_MARGIN_SCHEME_INVOICES VAT_INVOICES NON_VAT_INVOICES and if value is NON_VAT_INVOICE vat_rate should be null (PL region)
vat_ratestringFalseValue should be one of 0% 5% 8% 23% NO_VAT_RATE (PL region)
hs_codestringFalseHS Code. (Only for IN region)
tax_codestringFalseTax Code. (Only for IN region)
tax_typeint32Falsetax_type only for TW whitelist shop. Shopee will referred Tax type when substitute sellers for issuing e-receipts to buyers. All variations share the same tax type. The meaning of value: 0: no tax type 1: tax-able 2: tax-free
pisstringFalseOnly for BR shop. PIS - Programa de Integração Social (Social Integration Program). It is a government tax to collect resources for the payment of unemployment insurance and other employee related rights. PIS % - the tax applied to this product
cofinsstringFalseOnly for BR shop. COFINS – Contribuição para Financiamento da Seguridade Social (Contribution for Social Security Funding). It is a government tax to collect resources for public health system and social security. COFINS % - the tax applied to this product
icms_cststringFalseOnly for BR shop. ICMS - Imposto sobre Circulação de Mercadorias e Serviços (Circulation of Goods and Services Tax). CST - Código da Situação Tributária (Tax Situation Code) is represented by a combination of 3 numbers with the purpose of demonstrating the origin of a product and determining the form of taxation that will apply to it. Therefore, each digit in the CST Table has a specific meaning: the first digit indicates the origin of the operation, the second digit represents the ICMS taxation on the operation and the third digit provides additional information about the form of taxation.
pis_cofins_cststringFalseOnly for BR shop. The CST PIS/Cofins is a code on the Electronic Invoice (NF-e) that identifies the tax situation of PIS (Programa de Integração Social) and Cofins (Contribuição para o Financiamento da Seguridade Social) in sales of goods.
federal_state_taxesstringFalseOnly for BR shop. Enter the total percentage of the combination of federal, state, and municipal taxes, using up to two decimals.
operation_typestringFalseOnly for BR shop. 1: Retailer 2: Manufacturer
ex_tipistringFalseOnly for BR shop. The EXTIPI field in the NF-e (Nota Fiscal Eletrônica) is used to indicate if there's an exception to the IPI (Imposto sobre Produtos Industrializados) tax rate for a specific product.
fci_numstringFalseOnly for BR shop. The FCI Control Number is a unique identifier assigned to each import FCI (Import Content Form). It's mandatory on the corresponding NF-e (electronic invoice) to ensure compliance with Brazilian import tax regulations.
recopi_numstringFalseOnly for BR shop. RECOPI NACIONAL is a Brazilian government system that facilitates the registration and management of tax-exempt operations involving paper destined for printing books, newspapers, and periodicals (known as "papel imune" in Portuguese).
additional_infostringFalseOnly for BR shop. Include relevant information to display on Invoice.
group_item_infoobjectFalseOnly for BR shop. Required if the item is a group item.
group_qtdstringFalseExample: The package contains 6 soda cans. Whether you are selling a pack of 6 cans (fardo) or a single can (unit), enter 6.
group_unitstringFalseExample: The package contains 6 soda cans. Whether you are selling a pack of 6 cans (fardo) or a single can (unit), enter UNI for the individual can.
group_unit_valuestringFalseExample: The package contains 6 soda cans. Whether you are selling a pack of 6 cans (fardo) or a single can (unity), enter the value of the individual can.
original_group_pricestringFalseExample: The item is a package that contains 6 soda cans. Enter the price of the whole package.
group_gtin_ssccstringFalseExample: The item is a package that contains 6 soda cans. Please inform the GTIN SSCC code for the package.
group_grai_gtin_ssccstringFalseExample: The item is box, that contain 6 packages. Each package contains 6 soda cans. Please inform the GRAI GTIN SSCC code for the Box.
export_cfopstringFalse7101 - for sales of self-produced goods 7102 - resale of third-party goods
complaint_policyobjectFalseComplaint Policy for item. Only required for local PL sellers, ignored otherwise.
warranty_timestringFalseValue should be in one of ONE_YEAR TWO_YEARS OVER_TWO_YEARS.
exclude_entrepreneur_warrantybooleanFalseIf True means "I exclude warranty complaints for entrepreneur"
complaint_address_idint32FalseAddress for complaint. Fetch available addresses using v2.logistics.get_address_list, and use address_id returned from it.
additional_informationstringFalseAdditional information for warranty claim. Should be less than 1000 characters.
description_infoobjectFalseNew 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
gtin_codestringFalse- GTIN is an identifier for trade items, developed by the international organization GS1. - They have 8 to 14 digits. The most common are UPC, EAN, JAN and ISBN. - GTIN will help boost positioning in online marketing channels like Google and Facebook. - That incorporation with GTIN will also aid in Search and Recommendation in Shopee itself allowing buyers to have higher likelihood of finding one's listing. Note: If you want to set “Item without GTIN”, please pass the gtin_code as "00". The validation rule is based on the value return in gtin_validation_rule" field in v2.product.get_item_limit API - Mandatory: This field is required and must contain a correctly formatted GTiN number. - Flexible: This field is required and must contain either a correctly formatted GTlN number or "00" to declare that the item/model has no valid GTlN. - Optional: This field is optional and can contain a correctly formatted GTiN number, "00" or be omitted entirely.
ds_cat_rcmd_idstringFalsecategory recommendation service id
promotion_imagesobjectFalsePromotion Image Currently only allow one promoton image You could set promotion image only if the product images' ratio is 3:4
image_id_liststring[]FalsePromotion Image
compatibility_infoobjectFalse
vehicle_info_listobject[]True
brand_idint64True1234ID of the brand.
model_idint64True2345ID of the model.
year_idint64False3456ID of the year.
version_idint64False4567ID of the version.
scheduled_publish_timetimestampFalse1733590920Scheduled publish time of this item: 1) Can only set scheduled_publish_time for item with UNLIST status 2) Can only set the time from current time +1hour to current time +90days, and the time is only allowed to be accurate to the minute
authorised_brand_idint64FalseID of authorised reseller brand.
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: Only local shops are supported to set "size_chart_id", for CB shops please use "size_chart".
certification_infoobjectFalseFor PH product certification input Required for some category and attribute option
certification_listobject[]FalseArray of certification records for the product, each containing type, certificate number, permit ID, and proof documents.
certification_nostringTrueCertification number issued by the regulatory or certifying authority; uniquely identifies the certification. refer to https://seller.shopee.ph/edu/article/24236
permit_idint64TruePlatform-defined permit ID used to link to a specific certification template or rule. get from v2.product.get_product_certification_rule
expiry_dateint32False1610000000Expiry timestamp. Required for PH, but not needed for TW.
certification_proofsobjectFalseAn array of proof documents for the certification; each element represents one proof file.<path></path>
image_idstringTrueThe unique image ID of the certification proof, returned by the image upload API.
file_namestringTrueThe name of the uploaded certification proof file.
ratiofloatTrueimage weight/ image height Will be optional in the future; can input 0.75 by default
purchase_limit_infoobjectFalsepurchase limit info
min_purchase_limitint32Falseminimum purchase count for each order
max_purchase_limitobjectFalse
purchase_limitint32Falsemaximum purchase limit for each order.
medicine_idint64False[Only for ID local sellers] as a unique identifier for each standardized medicine, the medicine id can only be obtained offline

Response Parameters

NameTypeSampleDescription
messagestringIndicate error details if hit error. Empty if no error happened.
warningstringIndicate waring details if hit waring. Empty if no waring happened.
request_idstring326527603d034fd1b2dd6a74d70ade54The identifier for an API request for error tracking.
responseobject
descriptionstringHello product product 6xnhI3ug5D2rFpH3QoJSNNOrfUSP8rw5Item description.
weightfloat0.9The weight of this item, the unit is KG.
pre_orderobject
days_to_shipint322The time it takes to ship the item.
is_pre_orderbooleanfalseWhether item is pre order.
item_namestringHello QdlHimD4nto0OGIQItem name.
item_statusstringUNLISTItem status.
imagesobjectItem images.
image_id_liststring[]ID list of item image.
image_url_liststring[]URL list of item image
logistic_infoobject[]
estimated_shipping_feefloat1.49Estimated shipping fee.
logistic_namestringNinja VanName of logistics channel.
enabledbooleantrueWhether this channel is enabled.
logistic_idint3210007ID of this channel.
is_freebooleanfalseWhether cover shipping fee for buyer.
item_idint6428001430ID of item.
category_idint3234106ID of item category.
dimensionobjectThe dimension of this item.
package_widthint3214The width of package for this item, the unit is CM.
package_lengthint3212The length of package for this item, the unit is CM.
package_heightint3213The height of package for this item, the unit is CM.
conditionstringUSEDItem condition, could be USED or NEW.
brandobject
brand_idint320Id of brand.
original_brand_namestringnikeOriginal name of brand.
item_dangerousint320This field is only applicable for local sellers in Indonesia and Malaysia. Use this field to identify whether a product is a dangerous product. 0 for non-dangerous product and 1 for dangerous product. For more information, please visit the market's respective Seller Education Hub.
complaint_policyobjectComplaint policy
warranty_timestringValue should be in one of ONE_YEAR TWO_YEARS OVER_TWO_YEARS.
exclude_entrepreneur_warrantybooleanIf True means "I exclude warranty complaints for entrepreneur"
additional_informationstringAdditional information for complaint policy
description_infoobjectNew 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_descriptionobjectIf description_type is extended , description information should be set by this field.
field_listobject[]Field of extended description.
field_typestringType of extended description field :values: See Data Definition- description_field_type (text , image).
textstringIf field_type is text, text information will be set by this field.
image_infoobjectIf field_type is image,image url will be set by this field.
image_idstringImage id.
description_typestringValues: See Data Definition- description_type (normal , extended).
errorstringIndicate error type if hit error. Empty if no error happened.