Chuyển tới nội dung chính

v2.product.update_item

POST /api/v2/product/update_item

Update item.

Đường dẫn Endpoint

URL: https://partner.shopeemobile.com/api/v2/product/update_item

Tham số chung

TênKiểuMẫuMô tả
partner_idint1Partner ID được gán khi đăng ký thành công. Bắt buộc cho tất cả các yêu cầu.
timestamptimestamp1610000000Dùng để chỉ định thời gian của yêu cầu. Bắt buộc cho tất cả các yêu cầu. Hết hạn sau 5 phút.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1Token truy cập API, dùng để xác định quyền của bạn đối với API. Có thể sử dụng nhiều lần và hết hạn sau 4 giờ.
shop_idint600000Mã định danh duy nhất của Shopee cho một cửa hàng. Tham số bắt buộc cho hầu hết các API.
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

Tham số Request

TênKiểuBắt buộcMẫuMô tả
descriptionstringFalseHello product product WlQPdMV4SlVoG7QD1v0fEecNoCVEBNx6Mô tả về 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_shipint32True7Số ngày giao hàng.
is_pre_orderbooleanTruefalseWhether the item is pre order.
item_namestringFalseHello Pgkk50jdNgEnlWvXTên sản phẩm.
attribute_listobject[]FalseItem attributes.
attribute_idint32True5357ID of attribute.
attribute_value_listobject[]False
value_idint32True38173ID of giá trị thuộc tính. 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 thời gian tải lênstamp(string type) as the original_value_name.
value_unitstringFalsekgUnit of giá trị thuộc tính (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_statusstringFalseUNLISTTrạng thái sản phẩm, could be UNLIST or NORMAL.
logistic_infoobject[]FalseKênh vận chuyển setting.
size_idint32False1Size ID.
shipping_feefloatFalse9.0Phí vận chuyển.
enabledbooleanTruefalseWhether the channel is enabled for this item.
logistic_idint32True10007ID of logistics channel.
is_freebooleanFalsefalseWhether cover phí vận chuyển for buyer.
wholesaleobject[]FalseWholesale setting. If you want to delete it, please pass it with blank.
min_countint32True0Tối thiểu count of this tier.
unit_pricefloatTrue9.9Price of this tier.
max_countint32True10Tối đa 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.
conditionstringFalseUSEDTình trạng 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 thời gian của 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 thời gian của 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 mã định danh duy nhất 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 nghĩa là "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,URL hình ảnh 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 bảng kích thước image. If you want to remove the image bảng kích thước 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 bảng kích thước. If you want to remove the template bảng kích thước 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_namestringTrueTên của 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_limitint32Falsetối thiểu purchase count for each order
max_purchase_limitobjectFalse
purchase_limitint32Falsetối đa purchase limit for each order.
medicine_idint64False[Only for ID local sellers] as a mã định danh duy nhất for each standardized medicine, the medicine id can only be obtained offline

Tham số Response

TênKiểuMẫuMô tả
messagestringChi tiết lỗi nếu có lỗi xảy ra. Trống nếu không có lỗi.
warningstringIndicate waring details if hit waring. Empty if no waring happened.
request_idstring326527603d034fd1b2dd6a74d70ade54Mã định danh của yêu cầu API dùng để theo dõi lỗi.
responseobject
descriptionstringHello product product 6xnhI3ug5D2rFpH3QoJSNNOrfUSP8rw5Mô tả sản phẩm.
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 QdlHimD4nto0OGIQTên sản phẩm.
item_statusstringUNLISTTrạng thái sản phẩm.
imagesobjectItem images.
image_id_liststring[]ID danh sách item image.
image_url_liststring[]URL danh sách item image
logistic_infoobject[]
estimated_shipping_feefloat1.49Estimated phí vận chuyển.
logistic_namestringNinja VanName of logistics channel.
enabledbooleantrueWhether this channel is enabled.
logistic_idint3210007ID of this channel.
is_freebooleanfalseWhether cover phí vận chuyển 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.
conditionstringUSEDTình trạng sản phẩm, 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 nghĩa là "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,URL hình ảnh will be set by this field.
image_idstringImage id.
description_typestringValues: See Data Definition- description_type (normal , extended).
errorstringLoại lỗi nếu có lỗi xảy ra. Trống nếu không có lỗi.

Dữ liệu gửi

, "item_name": "Hello Pgkk50jdNgEnlWvX", "attribute_list": [ { "attribute_id": 5357, "attribute_value_list": [ { "value_id": 38173, "original_value_name": "Red", "value_unit": "kg" } ] } ], "image": { "image_id_list": [ {} ] }, "item_sku": "abc", "item_status": "UNLIST", "logistic_info": [ { "size_id": 1, "shipping_fee": 9, "enabled": true, "logistic_id": 10007, "is_free": true } ], "wholesale": [ { "min_count": 0, "unit_price": 9.9, "max_count": 10 } ], "item_id": 2800143058, "category_id": 34106, "dimension": { "package_height": 13, "package_length": 12, "package_width": 14 }, "tình trạng": "USED", "video_upload_id": [ {} ], "brand": { "brand_id": 0, "original_brand_name": "nike" }, "item_dangerous": 0, "tax_info": { "ncm": "-", "same_state_cfop": "-", "diff_state_cfop": "-", "csosn": "-", "origin": "-", "cest": "-", "measure_unit": "-", "invoice_option": "-", "vat_rate": "-", "hs_code": "-", "tax_code": "-" }, "complaint_policy": { "warranty_time": "-", "exclude_entrepreneur_warranty": true, "complaint_address_id": 0, "additional_information": "-" }, "description_info": { "extended_description": { "field_list": [ { "field_type": "-", "text": "-", "image_info": { "image_id": "-" } } ] } }, "description_type": "-" }Unirest.setTimeouts(0, 0); HttpResponse<String> response = Unirest.post("https://partner.uat.shopeemobile.com/api/v2/product/update\_item?shop\_id=shop\_id&partner\_id=partner\_id&sign=sign&access\_token=access\_token&timestamp=timestamp") .header("Content-Type","application/json") .body("{ "attribute_list": [ { "attribute_id": 5357, "attribute_value_list": [ { "original_value_name": "Red", "value_id": 38173, "value_unit": "kg" } ] } ], "brand": { "brand_id": 0, "original_brand_name": "nike" }, "category_id": 34106, "complaint_policy": { "additional_information": "-", "complaint_address_id": 0, "exclude_entrepreneur_warranty": true, "warranty_time": "-" }, "tình trạng": "USED", "description": "Hello product product WlQPdMV4SlVoG7QD1v0fEecNoCVEBNx6", "description_info": { "extended_description": { "field_list": [ { "field_type": "-", "image_info": { "image_id": "-" }, "text": "-" } ] } }, "description_type": "-", "dimension": { "package_height": 13, "package_length": 12, "package_width": 14 }, "image": { "image_id_list": [ {} ] }, "item_dangerous": 0, "item_id": 2800143058, "item_name": "Hello Pgkk50jdNgEnlWvX", "item_sku": "abc", "item_status": "UNLIST", "logistic_info": [ { "enabled": true, "is_free": true, "logistic_id": 10007, "shipping_fee": 9, "size_id": 1 } ], "pre_order": { "days_to_ship": 7, "is_pre_order": true }, "tax_info": { "cest": "-", "csosn": "-", "diff_state_cfop": "-", "hs_code": "-", "invoice_option": "-", "measure_unit": "-", "ncm": "-", "origin": "-", "same_state_cfop": "-", "tax_code": "-", "vat_rate": "-" }, "video_upload_id": [ {} ], "weight": 0.9, "wholesale": [ { "max_count": 10, "min_count": 0, "unit_price": 9.9 } ] }") .asString();<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://partner.uat.shopeemobile.com/api/v2/product/update\_item?access\_token=access\_token&partner\_id=partner\_id&shop\_id=shop\_id&sign=sign&timestamp=timestamp', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS => '{ "attribute_list": [ { "attribute_id": 5357, "attribute_value_list": [ { "original_value_name": "Red", "value_id": 38173, "value_unit": "kg" } ] } ], "brand": { "brand_id": 0, "original_brand_name": "nike" }, "category_id": 34106, "complaint_policy": { "additional_information": "-", "complaint_address_id": 0, "exclude_entrepreneur_warranty": true, "warranty_time": "-" }, "tình trạng": "USED", "description": "Hello product product WlQPdMV4SlVoG7QD1v0fEecNoCVEBNx6", "description_info": { "extended_description": { "field_list": [ { "field_type": "-", "image_info": { "image_id": "-" }, "text": "-" } ] } }, "description_type": "-", "dimension": { "package_height": 13, "package_length": 12, "package_width": 14 }, "image": { "image_id_list": [ {} ] }, "item_dangerous": 0, "item_id": 2800143058, "item_name": "Hello Pgkk50jdNgEnlWvX", "item_sku": "abc", "item_status": "UNLIST", "logistic_info": [ { "enabled": true, "is_free": true, "logistic_id": 10007, "shipping_fee": 9, "size_id": 1 } ], "pre_order": { "days_to_ship": 7, "is_pre_order": true }, "tax_info": { "cest": "-", "csosn": "-", "diff_state_cfop": "-", "hs_code": "-", "invoice_option": "-", "measure_unit": "-", "ncm": "-", "origin": "-", "same_state_cfop": "-", "tax_code": "-", "vat_rate": "-" }, "video_upload_id": [ {} ], "weight": 0.9, "wholesale": [ { "max_count": 10, "min_count": 0, "unit_price": 9.9 } ] }', CURLOPT_HTTPHEADER => array( 'Content-Type: application/json' ), )); $response = curl_exec($curl); curl_close($curl); echo $response; curl --location --request POST 'https://partner.uat.shopeemobile.com/api/v2/product/update\_item?timestamp=timestamp&shop\_id=shop\_id&partner\_id=partner\_id&sign=sign&access\_token=access\_token'
--header 'Content-Type: application/json'
--data-raw '{ "attribute_list": [ { "attribute_id": 5357, "attribute_value_list": [ { "original_value_name": "Red", "value_id": 38173, "value_unit": "kg" } ] } ], "brand": { "brand_id": 0, "original_brand_name": "nike" }, "category_id": 34106, "complaint_policy": { "additional_information": "-", "complaint_address_id": 0, "exclude_entrepreneur_warranty": true, "warranty_time": "-" }, "tình trạng": "USED", "description": "Hello product product WlQPdMV4SlVoG7QD1v0fEecNoCVEBNx6", "description_info": { "extended_description": { "field_list": [ { "field_type": "-", "image_info": { "image_id": "-" }, "text": "-" } ] } }, "description_type": "-", "dimension": { "package_height": 13, "package_length": 12, "package_width": 14 }, "image": { "image_id_list": [ {} ] }, "item_dangerous": 0, "item_id": 2800143058, "item_name": "Hello Pgkk50jdNgEnlWvX", "item_sku": "abc", "item_status": "UNLIST", "logistic_info": [ { "enabled": true, "is_free": true, "logistic_id": 10007, "shipping_fee": 9, "size_id": 1 } ], "pre_order": { "days_to_ship": 7, "is_pre_order": true }, "tax_info": { "cest": "-", "csosn": "-", "diff_state_cfop": "-", "hs_code": "-", "invoice_option": "-", "measure_unit": "-", "ncm": "-", "origin": "-", "same_state_cfop": "-", "tax_code": "-", "vat_rate": "-" }, "video_upload_id": [ {} ], "weight": 0.9, "wholesale": [ { "max_count": 10, "min_count": 0, "unit_price": 9.9 } ] }' import requests import json url = "https://partner.uat.shopeemobile.com/api/v2/product/update\_item?access\_token=access\_token&partner\_id=partner\_id&shop\_id=shop\_id&sign=sign&timestamp=timestamp" payload=json.dumps({ "attribute_list": [ { "attribute_id": 5357, "attribute_value_list": [ { "original_value_name": "Red", "value_id": 38173, "value_unit": "kg" } ] } ], "brand": { "brand_id": 0, "original_brand_name": "nike" }, "category_id": 34106, "complaint_policy": { "additional_information": "-", "complaint_address_id": 0, "exclude_entrepreneur_warranty": True, "warranty_time": "-" }, "tình trạng": "USED", "description": "Hello product product WlQPdMV4SlVoG7QD1v0fEecNoCVEBNx6", "description_info": { "extended_description": { "field_list": [ { "field_type": "-", "image_info": { "image_id": "-" }, "text": "-" } ] } }, "description_type": "-", "dimension": { "package_height": 13, "package_length": 12, "package_width": 14 }, "image": { "image_id_list": [ {} ] }, "item_dangerous": 0, "item_id": 2800143058, "item_name": "Hello Pgkk50jdNgEnlWvX", "item_sku": "abc", "item_status": "UNLIST", "logistic_info": [ { "enabled": True, "is_free": True, "logistic_id": 10007, "shipping_fee": 9, "size_id": 1 } ], "pre_order": { "days_to_ship": 7, "is_pre_order": True }, "tax_info": { "cest": "-", "csosn": "-", "diff_state_cfop": "-", "hs_code": "-", "invoice_option": "-", "measure_unit": "-", "ncm": "-", "origin": "-", "same_state_cfop": "-", "tax_code": "-", "vat_rate": "-" }, "video_upload_id": [ {} ], "weight": 0.9, "wholesale": [ { "max_count": 10, "min_count": 0, "unit_price": 9.9 } ] }) headers = { 'Content-Type': 'application/json' } response = requests.request("POST",url,headers=headers, data=payload, allow_redirects=False) print(response.text)

, "item_name": "Hello QdlHimD4nto0OGIQ", "item_status": "UNLIST", "images": { "image_id_list": [ "-" ], "image_url_list": [ "-" ] }, "logistic_info": [ { "estimated_shipping_fee": 1.49, "logistic_name": "Ninja Van", "enabled": true, "logistic_id": 10007, "is_free": true } ], "item_id": 2800143058, "category_id": 34106, "dimension": { "package_width": 14, "package_length": 12, "package_height": 13 }, "tình trạng": "USED", "brand": { "brand_id": 0, "original_brand_name": "nike" }, "item_dangerous": 0, "complaint_policy": { "warranty_time": "-", "exclude_entrepreneur_warranty": true, "additional_information": "-" }, "description_info": { "extended_description": { "field_list": [ { "field_type": "-", "text": "-", "image_info": { "image_id": "-" } } ] } }, "description_type": "-" }, "error": "-" }