v2.product.get_ssp_info
GET /api/v2/product/get_ssp_info
Get the SSP details with all available info, searching through ssp_id, gtin or oem.
Đường dẫn Endpoint
URL: https://partner.shopeemobile.com/api/v2/product/get_ssp_info
Tham số chung
| Tên | Kiểu | Mẫu | Mô tả |
|---|---|---|---|
| partner_id | int | 1 | Partner 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. |
| timestamp | timestamp | 1610000000 | Dù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_token | string | c09222e3fc40ffb25fc947f738b1abf1 | Token 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_id | int | 600000 | Mã đị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. |
| sign | string | e318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2 | Signature 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ên | Kiểu | Bắt buộc | Mẫu | Mô tả |
|---|---|---|---|---|
| ssp_id_list | int64[] | False | [34001,34002] | The ssp_id list; limit [0,50] |
| gtin_list | string[] | False | ["7684048575","77860494"] | The gtin_list; limit [0,50] |
| oem_list | string[] | False | ["34SDA001","340F02"] | The oem_list; limit [0,50] |
Tham số Response
| Tên | Kiểu | Mẫu | Mô tả |
|---|---|---|---|
| error | string | Loại lỗi nếu có lỗi xảy ra. Trống nếu không có lỗi. | |
| message | string | Chi tiết lỗi nếu có lỗi xảy ra. Trống nếu không có lỗi. | |
| warning | string | Indicate waring details if hit waring. Empty if no waring happened. | |
| request_id | string | 7b9da0c6926642199c33ee9dd3a266f5 | Mã định danh của yêu cầu API dùng để theo dõi lỗi. |
| response | object | ||
| ssp_list | object[] | ||
| ssp_id | int64 | 4567890123 | Shopee's mã định danh duy nhất for Shopee Standard Product. |
| product_name | string | Camiseta Azul | Name of Shopee Standard Product. |
| category_id | int32 | 14646 | Shopee's mã định danh duy nhất for a category of Shopee Standard Product. |
| description | object | Mô tả về Shopee Standard Product. | |
| description_type | string | "extended" | Type of description : values: See Data Definition- description_type (normal , extended). |
| description | string | "test decription" | If description_type is normal , Description information will be returned through this field,else description will be empty. |
| extended_description | object | If description_type is extended , Description information will be returned through this field. | |
| field_list | object[] | Field of extended description. | |
| type | string | Type of extended description field :values: See Data Definition- description_field_type (text , image). | |
| text | string | If field_type is text, text information will be returned through this field. | |
| image_info | object | If field_type is image, URL hình ảnh will be returned through this field. | |
| image_id | string | Image id. | |
| image_url | string | URL hình ảnh. | |
| weight | string | "10.02" | The weight of Shopee Standard Product, the unit is KG. |
| brand_info | object | Brand of Shopee Standard Product. | |
| brand_id | int64 | 123 | Id of brand. |
| original_brand_name | string | nike | Original name of brand. |
| attribute_list | object[] | ||
| attribute_id | int64 | 4811 | The Identify of each attribute. |
| original_attribute_name | string | Brand: L2 Default [14644] | Tên của each attribute. |
| attribute_values | object[] | ||
| value_id | int64 | 0 | Mã định danh duy nhất for value of this attribute. |
| original_value_name | string | Default | Value name of this attribute. |
| value_unit | string | g | Value unit of this attribute. |
| media | object | ||
| image | object | ||
| image_id_list | string[] | Danh sách image id. | |
| image_url_list | string[] | Danh sách URL hình ảnh. | |
| image_ratio | string | Image ratio. | |
| video | object[] | ||
| video_url | string | Url of video. | |
| thumbnall_url | string | Thumbnail of video. | |
| duration | int32 | Thời lượng of video. | |
| compatibility_info | object | ||
| vehicle_info_list | object[] | ||
| brand_id | int64 | 1234 | ID of the brand. |
| model_id | int64 | 2345 | ID of the model. |
| year_id | int64 | 3456 | ID of the year. |
| version_id | int64 | 4567 | ID of the version. |
| dimension | object | The dimension of this Shopee Standard Product. | |
| package_length | int32 | 11 | The length of package for this Shopee Standard Product, the unit is CM. |
| package_width | int32 | 12 | The width of package for this Shopee Standard Product, the unit is CM. |
| package_height | int32 | 13 | The height of package for this Shopee Standard Product, the unit is CM. |
| global_code | object | ||
| gtin | string | GTIN of Shopee Standard Product. | |
| oem | string | OEM of Shopee Standard Product. | |
| sales_info | object | ||
| model_setting_list | object[] | ||
| tier_index | int32[] | [0] | Tier index of this model. |
| gtin | string | 6925281934919 | GTIN of this model. |
| std_tier_variation_list | object[] | Standardise Variation config of Shopee Standard Product. | |
| variation_id | int32 | Standardise Variation ID. | |
| variation_name | string | Standardise Variation Name. | |
| variation_group_id | int32 | Standardise Variation Group ID. | |
| variation_option_list | object[] | Standardise Variation Option List. | |
| variation_option_id | int32 | Standardise Option ID. | |
| variation_option_name | string | Standardise Option Name. | |
| image_id | string | ID of image. | |
| image_url | string | URL of image. |
, "category_id": 100021, "compatibility_info": {}, "description": { "description": "", "description_type": "extended", "extended_description": { "field_list": [ { "text": "test ssp mô tả sản phẩm", "type": "text" } ] } }, "dimension": { "package_height": "11", "package_length": "11", "package_width": "11" }, "global_code": { "gtin": "", "oem": "" }, "media": { "image": { "image_id_list": [ "sg-11134299-7r98o-m1dn2zrq08unac" ], "image_ratio": "1:1", "image_url_list": [ "https://cf.shopee.com.br/file/sg-11134299-7r98o-m1dn2zrq08unac" ] } }, "product_name": "test ssp tên sản phẩm", "sales_info": { "model_setting_list": [ { "gtin": "7898443605196", "tier_index": [ 0 ] }, { "gtin": "6972810101427", "tier_index": [ 1 ] } ], "std_tier_variation_list": [ { "variation_id": 201304, "variation_name": "Color", "variation_group_id": 0, "variation_option_list": [ { "variation_option_id": 0, "variation_option_name": "Red" }, { "variation_option_id": 0, "variation_option_name": "Blue" } ] } ] }, "ssp_id": 536537088, "weight": "1" } ] } }