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

v2.product.get_kit_item_limit

GET /api/v2/product/get_kit_item_limit

Get the limit of Kit item.

Đường dẫn Endpoint

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

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ả
category_idint64False400055Shopee's mã định danh duy nhất for a category.

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.
messagestringsuccessChi tiết lỗi nếu có lỗi xảy ra. Trống nếu không có lỗi.
warningstringWarning message.
request_idstring28ad0434c6954963a2a6d6ed7195554dMã định danh của yêu cầu API dùng để theo dõi lỗi.
responseobject
price_limitobject
min_limitfloat5.5Item price max limit.
max_limitfloat10000000.0Item price min limit.
item_name_length_limitobject
min_limitint645Tên sản phẩm length min limit.
max_limitint6499Tên sản phẩm length max limit.
item_image_count_limitobject
min_limitint641Item image count min limit.
max_limitint6410Item image count max limit.
description_limitobject
description_length_minint6410Mô tả sản phẩm length min limit.
description_length_maxint64499length max limit for item extended description text part.
description_text_length_minint6410length min limit for item extended description text part, when one of the tối thiểu limits for image and text is reached, the item can be added or updated successfully.
description_text_length_maxint64499length max limit for item extended description text part
description_image_num_minint641length min limit for item extended description image num, when one of the tối thiểu limits for image and text is reached, the item can be added or updated successfully.
description_image_num_maxint645length max limit for item extended description image num.
description_image_width_minint641length min limit for item extended description image width.
description_image_height_minint641length min limit for item extended description image hight.
description_image_aspect_ratio_minfloat0.5length min limit for item extended description image aspect ( aspect_ratio= image width / image hight ).
description_image_aspect_ratio_maxfloat32.0length max limit for item extended description image aspect ( aspect_ratio= image width / image hight ).
tier_variation_name_length_limitobject
min_limitint321Item biến thể theo cấp name length min limit.
max_limitint3250Item biến thể theo cấp name length max limit.
tier_variation_option_length_limitobject
min_limitint321Item biến thể theo cấp option length min limit.
max_limitint3250Item biến thể theo cấp option length max limit.
weight_limitobject
weight_mandatorybooleantrueWhether weight is mandatory or not for the category.
dimension_limitobject
dimension_mandatorybooleantrueWhether dimension is mandatory or not for the category.
dts_limitobject
non_pre_order_days_to_shipint322Số ngày giao hàng for non đặt hàng trước products.
support_pre_orderbooleantrueWhether support pre_order for the category.
days_to_ship_limitobjectSố ngày giao hàng for đặt hàng trước products.
min_limitint323Min limit of số ngày giao hàng for đặt hàng trước products.
max_limitint3230Max limit of số ngày giao hàng for đặt hàng trước products.
component_count_limit_of_single_modelobject
min_limitint322Item count min limit that each kit variations support.
max_limitint3210Item count max limit that each kit variations support.

Unirest.setTimeouts(0, 0); HttpResponse<String> response = Unirest.get("https://partner.shopeemobile.com/api/v2/product/get\_kit\_item\_limit?access\_token=access\_token&category\_id=400055&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\_limit?access\_token=access\_token&category\_id=400055&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\_limit?access\_token=access\_token&category\_id=400055&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\_limit?access\_token=access\_token&category\_id=400055&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)

, "item_name_length_limit": { "min_limit": 5, "max_limit": 99 }, "item_image_count_limit": { "min_limit": 1, "max_limit": 10 }, "description_limit": { "description_length_min": 10, "description_length_max": 499, "description_text_length_min": 10, "description_text_length_max": 499, "description_image_num_min": 1, "description_image_num_max": 5, "description_image_width_min": 1, "description_image_height_min": 1, "description_image_aspect_ratio_min": 0.5, "description_image_aspect_ratio_max": 32 }, "tier_variation_name_length_limit": { "min_limit": 1, "max_limit": 50 }, "tier_variation_option_length_limit": { "min_limit": 1, "max_limit": 50 }, "weight_limit": { "weight_mandatory": true }, "dimension_limit": { "dimension_mandatory": true }, "dts_limit": { "non_pre_order_days_to_ship": 2, "support_pre_order": true, "days_to_ship_limit": { "min_limit": 3, "max_limit": 30 } }, "component_count_limit_of_single_model": { "min_limit": 2, "max_limit": 10 } } }