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

v2.product.get_item_base_info

GET /api/v2/product/get_item_base_info

Use this api to get basic info of item by item_id list.

Đường dẫn Endpoint

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

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ả
item_id_listint64[]True[34001,34002]item_id list; limit [0,50]
need_tax_infobooleanFalsetrueif true will response tax_info
need_complaint_policybooleanFalsetrueif true will response complaint_policy

Tham số Response

TênKiểuMẫuMô tả
errorstringLoại lỗi nếu có lỗi xảy ra. Trống nếu không có lỗi.
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_idstring7b9da0c6926642199c33ee9dd3a266f5Mã định danh của yêu cầu API dùng để theo dõi lỗi.
responseobject
item_listobject[]
item_idint6434002Shopee's mã định danh duy nhất for an item.
category_idint3214646Shopee's mã định danh duy nhất for a category.
item_namestringseller discountName of the item in local language.
descriptionstringfirst product 001first productif description_type is normal , Description information will be returned through this field,else description will be empty
item_skustringAn item SKU (stock keeping unit) is an identifier defined by a seller, sometimes called parent SKU. Item SKU can be assigned to an item in Shopee Listings.
create_timetimestamp1600572637Timestamp that indicates the date and time that the item was created.
update_timetimestamp1600572640Timestamp that indicates the last time that there was a change in value of the item, such as price/stock change.
attribute_listobject[]
attribute_idint324811The Identify of each category.
original_attribute_namestringBrand: L2 Default [14644]Tên của each attribute.
is_mandatorybooleantrueThis is to indicate whether this attribute is mandantory.
attribute_value_listobject[]
value_idint320Mã định danh duy nhất for value of this item attribute.
original_value_namestringDefaultValue name of this item attribute.
value_unitstringgValue unit of this item attribute.
price_infoobject[]If the item has models, price_info will not be returned. Please get the price of each model through the get_model_list api
currencystringSGDThe three-digit code representing the currency unit used for the item in Shopee Listings.
original_pricefloat122.02The giá gốc of the item in the listing currency.
current_pricefloat122.02The giá hiện tại of the item in the listing currency. If product under a onging promotion, current_price will be the promotion price
inflated_price_of_original_pricefloat222.02The After-tax giá gốc of the item in the listing currency.
inflated_price_of_current_pricefloat111.02The After-tax giá hiện tại of the item in the listing currency.
sip_item_pricefloat100.02The price of the item in sip.If item is for CNSC primary shop, this field will not be returned
sip_item_price_sourcestringautosource of sip' price. ( auto or manual).If item is for CNSC SIP primary shop, this field will not be returned
local_pricefloat122.02The giá gốc multiplied by the local adjustment rate equals the local price. The local price is denominated in the local currency and is rounded to two decimal places.
local_promotion_pricefloat122.02During the promotion period, the CB price is multiplied by the local adjustment rate. Once the promotion starts, the price remains unchanged. During the promotion, the local_promotion_price= current_price, which is denominated in the local currency and retained to two decimal places.
imageobject
image_url_liststring[]Danh sách URL hình ảnh.
image_id_liststring[]Danh sách image id.
image_ratiostringImage ratio
weightstring"10.02"The weight of this item, the unit is KG. If set the weight of models under this item, will return the max weight of all models during the switching period to ensure system compatibility, please switch to call v2.product.get_model_list to get the weight of models.
dimensionobjectThe dimension of this item. If set the dimension of models under this item, will return the dimension with largest volume calculated by height*length*width during the switching period to ensure system compatibility, please switch to call v2.product.get_model_list to get the dimension of models.
package_lengthint3211The length of package for this item, the unit is CM.
package_widthint3212The width of package for this item, the unit is CM.
package_heightint3213The height of package for this item, the unit is CM.
logistic_infoobject[]The logistics list.
logistic_idint3280012The identity of kênh vận chuyển.
logistic_namestringTên của logistic.
enabledbooleantrueRelated to shopee.logistics.GetLogistics result.logistics.enabled only affect current item.
shipping_feefloat5.02Only needed when logistics fee_type = CUSTOM_PRICE.
size_idint32If specify logistic fee_type is SIZE_SELECTION size_id is required.
is_freebooleanfalsewhen seller chooses this option, the phí vận chuyển of this channel on item will be set to 0. Giá trị mặc định là False.
estimated_shipping_feefloat4.02Estimated phí vận chuyển calculated by weight. Don't exist if channel is no-integrated.
pre_orderobject
is_pre_orderbooleanfalseĐặt hàng trước will be set true.
days_to_shipint323The số ngày giao hàng. Only work for pre-orde.
wholesalesobject[]The wholesales tier list.
min_countint321The min count of this tier wholesale.
max_countint322The max count of this tier wholesale.
unit_pricefloat4.02The giá hiện tại of the wholesale in the listing currency.If item is in promotion, this price is useless.
inflated_price_of_unit_pricefloat5.02The After-tax Price of the wholesale show to buyer.
conditionstringNEW/USEDIs it second-hand.
size_chartstringUrl of bảng kích thước image.
item_statusstringNORMALEnumerated type that defines the current status of the item. Các giá trị áp dụng: NORMAL, BANNED, UNLIST, SELLER_DELETE, SHOPEE_DELETE, REVIEWING.
deboostbooleanfalseIf deboost is true, means that the item's search ranking is lowered.
has_modelbooleanfalseDoes it contain model.
promotion_idint6413123The mã định danh duy nhất of the promotion applied to the item.
has_promotionbooleantrueIndicates whether the item is currently under any ongoing promotion.
video_infoobject[]Info of danh sách video.
video_urlstringUrl of video.
thumbnail_urlstringThumbnail of video.
durationint32Thời lượng of video.
brandobject
brand_idint32123Id 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.
gtin_codestringgtin code for br region, will return this code only item has default model Note: gtin_code = "00" means that this item is “Item without GTIN”
size_chart_idint64id of new bảng kích thước.
promotion_imageobject
image_id_liststring[]Promotion image
image_url_liststring[]Promiton URL hình ảnhs
image_ratiostringPromotion image ratio
compatibility_infoobject
vehicle_info_listobject[]
brand_idint641234ID of the brand.
model_idint642345ID of the model.
year_idint643456ID of the year.
version_idint644567ID of the version.
scheduled_publish_timetimestamp1733590920Scheduled publish time of this item.
authorised_brand_idint64ID of authorised reseller brand.
ssp_idint64Shopee's mã định danh duy nhất for Shopee Standard Product.
is_fulfillment_by_shopeebooleanreturn true if the item only has a default model and it is FBS model
tagobject
kitbooleanIndicate if the item is kit item.
purchase_limit_infoobjectpurchase limit info
min_purchase_limitint32tối thiểu purchase count for each order
max_purchase_limitobject
purchase_limitint32tối đa purchase limit for each order
medicine_idint64[Only for ID local sellers] as a mã định danh duy nhất for each standardized medicine.
complaint_policyobjectComplaint policy.Only returned for local PL sellers, and need_complaint_policy in request is true.
warranty_timestringONE_YEARTime for a warranty claim.Value 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"
complaint_address_idint64The identity of complaint address.
additional_informationstringAdditional information for complaint policy
tax_infoobjectTax information
ncmstringMercosur Common Nomenclature, it is a convention between Mercosur member countries to easily recognize goods, services and productive factors negotiated among themselves.(BR region) Note: ncm = "00" means that this item doesn't have a NCM.
diff_state_cfopstringTax 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. (BR region)
csosnstringCode of Operation Status – Simples Nacional, code for company operations to identify the origin of the goods and the taxation regime of the operations. (BR region)
originstringProduct source, domestic or foreig (BR region)
ceststringTax Replacement Specifying Code (CEST), to separate within the same NCM products that do or do not have ICMS tax substitution. (BR region) Note: cest = "00" means that this item doesn't have a CEST.
measure_unitstring(BR region)
invoice_optionstringValue 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_ratestringValue should be one of 0% 5% 8% 23% NO_VAT_RATE (PL region)
hs_codestringHS Code (Only for IN region)
tax_codestringTax Code (Only for IN region)
tax_typeint32tax_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
pisstringOnly 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
cofinsstringOnly 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_cststringOnly 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_cststringOnly 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_taxesstringOnly for BR shop. Enter the total percentage of the combination of federal, state, and municipal taxes, using up to two decimals.
operation_typestringOnly for BR shop. 1: Retailer 2: Manufacturer
ex_tipistringOnly 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_numstringOnly 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_numstringOnly 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_infostringOnly for BR shop. Include relevant information to display on Invoice.
group_item_infoobjectOnly for BR shop. Required if the item is a group item.
group_qtdstringExample: The package contains 6 soda cans. Whether you are selling a pack of 6 cans (fardo) or a single can (unit), enter 6.
group_unitstringExample: 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_valuestringExample: 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_pricestringExample: The item is a package that contains 6 soda cans. Enter the price of the whole package.
group_gtin_ssccstringExample: The item is a package that contains 6 soda cans. Please inform the GTIN SSCC code for the package.
group_grai_gtin_ssccstringExample: 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_cfopstring7101 - for sales of self-produced goods 7102 - resale of third-party goods a tax code used in Brazil to classify and identify the nature of goods or services transactions for tax purposes. This is used for goods export to other counties
description_infoobjectNew description field. Only whitelist sellers can use it.
extended_descriptionobjectIf description_type is extended , Description information will be returned through 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 returned through this field.
image_infoobjectIf field_type is image, URL hình ảnh will be returned through this field.
image_idstringImage id
image_urlstringURL hình ảnh.
description_typestringType of description : values: See Data Definition- description_type (normal , extended).
stock_info_v2objectnew stock object
summary_infoobjectstock summary info
total_reserved_stockint32Stock reserved for promotion. Note: For SIP P Item, will return the total reserved stock for P Item and all A Items under the P Item;
total_available_stockint32total available stock
seller_stockobject[]seller stock
location_idstringlocation id
stockint32stock in the current warehouse
if_saleablebooleanTo return if the stock of the location id is saleable
shopee_stockobject[]shopee stock
location_idstringlocation id
stockint32stock in the current warehouse
advance_stockobjectOnly for PH/VN/ID/MY local selected shops.
sellable_advance_stockint32Refers to Advance Fulfillment stock that Seller has shipped out and is available to be used to fulfill an order.
in_transit_advance_stockint32Refers to Advance Fulfillment stock that seller has shipped out and is still in transit and unavailable to be used to fulfill an order.
certification_infoobjectFor PH product certification input Required for some category and attribute option
certification_listobject[]Array of certification records for the product, each containing type, certificate number, permit ID, and proof documents.
permit_idint32Permit ID, get from v2.product.get_product_certification_rule
certification_nostringCertification No.
expiry_dateint32expiry timestamp
certification_proofsobject[]An array of proof documents for the certification; each element represents one proof file.
image_idstringThe unique image ID of the certification proof, returned by the image upload API.
ratiofloatimage weight/ image height.
file_namestringTên của the uploaded certification proof file.
image_urlstringThe URL hình ảnh of the proof

Unirest.setTimeouts(0, 0); HttpResponse<String> response = Unirest.get("https://partner.shopeemobile.com/api/v2/product/get\_item\_base\_info?timestamp=timestamp&sign=sign&shop\_id=shop\_id&need\_tax\_info=true&item\_id\_list=[34001 34002]&partner_id=partner_id&need_complaint_policy=true&access_token=access_token") .asString();<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://partner.shopeemobile.com/api/v2/product/get\_item\_base\_info?access\_token=access\_token&item\_id\_list=%5B34001+34002%5D&need\_complaint\_policy=true&need\_tax\_info=true&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 => 'GET', CURLOPT_HTTPHEADER => array( 'Content-Type: application/json' ), )); $response = curl_exec($curl); curl_close($curl); echo $response; curl --location --request GET 'https://partner.shopeemobile.com/api/v2/product/get\_item\_base\_info?partner\_id=partner\_id&need\_complaint\_policy=true&access\_token=access\_token&timestamp=timestamp&sign=sign&shop\_id=shop\_id&need\_tax\_info=true&item\_id\_list=[34001,34002]' import requests url = "https://partner.shopeemobile.com/api/v2/product/get\_item\_base\_info?access\_token=access\_token&item\_id\_list=%5B34001+34002%5D&need\_complaint\_policy=true&need\_tax\_info=true&partner\_id=partner\_id&shop\_id=shop\_id&sign=sign&timestamp=timestamp" payload={} headers = { } response = requests.request("GET",url,headers=headers, data=payload, allow_redirects=False) print(response.text)

] } ], "price_info": [ { "currency": "SGD", "original_price": 122.02, "current_price": 122.02, "inflated_price_of_original_price": 222.02, "inflated_price_of_current_price": 111.02, "sip_item_price": 100.02, "sip_item_price_source": "auto" } ], "image": { "image_url_list": [ "-" ], "image_id_list": [ "-" ] }, "weight": "10.02", "dimension": { "package_length": 11, "package_width": 12, "package_height": 13 }, "logistic_info": [ { "logistic_id": 80012, "logistic_name": "-", "enabled": true, "shipping_fee": 5.02, "size_id": 0, "is_free": true, "estimated_shipping_fee": 4.02 } ], "pre_order": { "is_pre_order": true, "days_to_ship": 3 }, "wholesales": [ { "min_count": 1, "max_count": 2, "unit_price": 4.02, "inflated_price_of_unit_price": 5.02 } ], "tình trạng": "NEW/USED", "size_chart": "-", "item_status": "NORMAL", "deboost": "false", "has_model": true, "promotion_id": 13123, "video_info": [ { "video_url": "-", "thumbnail_url": "-", "thời lượng": 0 } ], "brand": { "brand_id": 123, "original_brand_name": "nike" }, "item_dangerous": 0, "complaint_policy": { "warranty_time": " ONE_YEAR", "exclude_entrepreneur_warranty": true, "complaint_address_id": 0, "additional_information": "-" }, "tax_info": { "ncm": "-", "diff_state_cfop": "-", "csosn": "-", "origin": "-", "cest": "-", "measure_unit": "-", "invoice_option": "-", "vat_rate": "-", "hs_code": "-", "tax_code": "-" }, "description_info": { "extended_description": { "field_list": [ { "field_type": "-", "text": "-", "image_info": { "image_id": "-", "image_url": "-" } } ] } }, "description_type": "-", "stock_info_v2": { "summary_info": { "total_reserved_stock": 100, "total_available_stock": 100 }, "seller_stock": [ { "location_id": "-", "stock": 10 } ], "shopee_stock": [ { "location_id": "-", "stock": 0 } ] } } ] } }