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

v2.product.get_kit_item_info

GET /api/v2/product/get_kit_item_info

Get the kit basic information and kit components.

Đường dẫn Endpoint

URL: https://partner.shopeemobile.com/api/v2/product/get_kit_item_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_idint64True28001430ID of kit item.

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
product_infoobject
item_idint6428001430ID of this kit item.
item_namestringitem name sampleTên của this kit item.
category_idint64[]14646The category of this kit item, sync from the category of the main component of this kit item.
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.
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.
imagesobjectItem images with 1:1 ratio.
image_id_liststring[]Danh sách image id.
image_url_liststring[]Danh sách URL hình ảnh.
image_ratiostring1:11:1
long_imagesobjectItem images with 3:4 ratio.
image_id_liststring[]Danh sách image id.
image_url_liststring[]Danh sách URL hình ảnh.
image_ratiostring3:43:4
description_infoobjectRich text 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. 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, image will be returned through this field.
image_idstringImage id.
image_urlstringURL hình ảnh.
descriptionstringIf description_type is normal, description information will be returned through this field, else description will be empty.
description_typestringType of description : values: See Data Definition- description_type (normal , extended).
video_listobjectInfo of danh sách video.
video_urlstringUrl of video.
thumbnail_urlstringThumbnail of video.
durationint32Thời lượng of video.
attributesobject[]The attributes of this kit item, sync from the attributes of the main component of this kit item.
attribute_idint644811The Identify of each attribute.
original_attribute_namestringBrand: L2 Default [14644]Tên của each attribute.
attribute_value_listobject[]
value_idint640Mã đị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.
weightstring"1.5"The weight of this kit item, the unit is KG.
dimensionobjectThe dimension of this kit item.
package_lengthint3211The length of package for this item, the unit is CM.
package_widthint3211The width of package for this item, the unit is CM.
package_heightint3211The height of package for this item, the unit is CM.
brand_infoobjectThe brand of this kit item, sync from the brand of the main component of this kit item.
brand_idint64Id of brand.
original_brand_namestringOriginal name of brand.
model_listobject[]Model info list, model number at most 9.
model_idint64ID of this kit model.
model_skuint64Seller SKU of this kit model.
original_pricefloatGiá gốc of this kit model.
tier_indexint32[]Tier index of this kit model.
component_listobject[]
component_item_idint64ID of the item that composes this kit model.
component_item_namestringName of the item that composes this kit model.
component_model_idint64ID of the model that composes this kit model.
component_model_namestringName of the model that composes this kit model.
quantityint32The amount of the item/model that composes this kit model.
main_componentbooleanWhether this item/model is the main component for this kit.
component_item_or_model_imagestring
component_item_or_model_skustring
pre_order_infoobject
is_pre_orderboolean
days_to_shipint32
tier_variation_listobject[]Variation config of item.
namestringTên biến thể.
option_listobject[]Option list.
optionstringOption name.
imageobject[]
image_idstringId of image.
image_urlstringUrl of image.

Unirest.setTimeouts(0, 0); HttpResponse<String> response = Unirest.get("https://partner.shopeemobile.com/api/v2/product/get\_kit\_item\_info?access\_token=access\_token&item\_id=28001430&partner\_id=partner\_id&shop\_id=shop\_id&sign=sign&timestamp=timestamp") .asString();<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://partner.shopeemobile.com/api/v2/product/get\_kit\_item\_info?access\_token=access\_token&item\_id=28001430&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\_kit\_item\_info?access\_token=access\_token&item\_id=28001430&partner\_id=partner\_id&shop\_id=shop\_id&sign=sign&timestamp=timestamp' import requests url = "https://partner.shopeemobile.com/api/v2/product/get\_kit\_item\_info?access\_token=access\_token&item\_id=28001430&partner\_id=partner\_id&shop\_id=shop\_id&sign=sign&timestamp=timestamp" payload={} headers = { } response = requests.RPCRequest("GET",url,headers=headers, data=payload, allow_redirects=False) print(response.text)

, "category_id": 107290, "create_time": 1725439928, "description_info": { "extended_description": { "field_list": [ { "field_type": "text", "text": "mô tả sản phẩm sample" } ] } }, "description_type": "extended", "dimension": { "package_height": 10, "package_length": 10, "package_width": 10 }, "image": { "image_id_list": [ "br-11134207-7r98o-lzri4neb5vcv18", "br-11134207-7r98o-lzri4neb0933bc", "br-11134207-7r98o-lzri4neba3275b" ], "image_ratio": "1:1", "image_url_list": [ "https://cf.shopee.com.br/file/br-11134207-7r98o-lzri4neb5vcv18", "https://cf.shopee.com.br/file/br-11134207-7r98o-lzri4neb0933bc", "https://cf.shopee.com.br/file/br-11134207-7r98o-lzri4neba3275b" ] }, "item_id": 885138291, "item_name": "tên sản phẩm sample", "item_sku": "item sku sample", "item_status": "NORMAL", "logistic_info": [ { "enabled": true, "is_free": false, "logistic_id": 90003, "logistic_name": "Correios", "size_id": 0 } ], "model_list": [ { "component_list": [ { "component_item_id": 892571386, "component_item_name": "test item 1", "component_model_id": 18500720947, "component_model_name": "test model 1", "component_item_or_model_image": "br-11134207-7r98o-lzr1wsi9uadba5", "component_item_or_model_sku": "test item 1", "main_component": false, "quantity": 3 }, { "component_item_id": 892571385, "component_item_name": "test item 2", "component_model_id": 18500720944, "component_model_name": "test model 2", "component_item_or_model_image": "br-11134207-7r98o-lzr1lyf8hji786", "component_item_or_model_sku": "test item 2", "main_component": false, "quantity": 2 } ], "model_id": 19250366170, "model_sku": "", "original_price": 14, "tier_index": [ 0 ] }, { "component_list": [ { "component_item_id": 892571386, "component_item_name": "test item 3", "component_model_id": 18500720950, "component_model_name": "test model 3", "component_item_or_model_image": "br-11134207-7r98o-lzr1wsi9uadba5", "component_item_or_model_sku": "test item 3", "main_component": true, "quantity": 1 }, { "component_item_id": 892571385, "component_item_name": "test item 4", "component_model_id": 18500720943, "component_model_name": "test model 4", "component_item_or_model_image": "br-11134207-7r98o-lzr1lyf8hji786", "component_item_or_model_sku": "test item 4", "main_component": false, "quantity": 2 } ], "model_id": 19250366171, "model_sku": "", "original_price": 12, "tier_index": [ 1 ] } ], "pre_order_info": { "days_to_ship": 2, "is_pre_order": false }, "sync_setting": { "auto_sync_dts": false }, "tier_variation_list": [ { "name": "tên biến thể sample", "option_list": [ { "option": "Kit Variation 1" }, { "option": "Kit Variation 2" } ] } ], "update_time": 1725881434, "video_list": [], "weight": "1.5" } } }