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

v2.product.get_item_limit

GET /api/v2/product/get_item_limit

Get item upload control.

Đường dẫn Endpoint

URL: https://partner.shopeemobile.com/api/v2/product/get_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.
wholesale_price_threshold_percentageobject
min_limitint6430Item wholegiá bán percentage of giá gốc min limit.
max_limitint64100Item wholegiá bán percentage of giá gốc min limit.
stock_limitobject
min_limitint645Item stock min limit.
max_limitint6410000000Item stock max limit.
item_name_length_limitobject
min_limitint645Tên sản phẩm length min limit.
max_limitint64100Tên sản phẩm length max limit.
item_image_count_limitobject
min_limitint641Item image count min limit.
max_limitint649Item image count max limit.
item_description_length_limitobject
min_limitint6410Mô tả sản phẩm length min limit.
max_limitint642000Mô tả sản phẩm length max limit.
tier_variation_name_length_limitobject
min_limitint640Item biến thể theo cấp name length min limit.
max_limitint6414Item biến thể theo cấp name length max limit.
tier_variation_option_length_limitobject
min_limitint640Item biến thể theo cấp option length min limit.
max_limitint6420Item biến thể theo cấp option length max limit.
item_count_limitobject
max_limitint6450001Item count max limit.
extended_description_limitobject
description_text_length_minintlength min limit for item extended description text part
description_text_length_maxintlength max limit for item extended description text part
description_image_num_minintlength min limit for item extended description image num
description_image_num_maxintlength max limit for item extended description image num
description_image_width_minintlength min limit for item extended description image width
description_image_height_minintlength min limit for item extended description image hight
description_image_aspect_ratio_minfloatlength min limit for item extended description image aspect (image width / image hight )
description_image_aspect_ratio_maxfloatlength max limit for item extended description image aspect (image width / image hight )
dts_limitobject
days_to_ship_limitobjectPre order limits for the category
min_limitint
max_limitint
non_pre_order_days_to_shipint
weight_limitobject
weight_mandatorybooleanweight is mandatory or not
dimension_limitobject
dimension_mandatorybooleandimension is mandatory or not for the category
size_chart_limitobject
size_chart_mandatoryboolean
support_image_size_chartboolean
support_template_size_chartboolean
gtin_limitobject
gtin_validation_rulestringIndicate gtin_code validation logic in v2.product.add_item v2.product.update_item v2.product.init_tier_variation v2.product.add_model v2.product.update_model - 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" todeclare that the item/model has no valid GTlN. - Optional: This field is optional and can contain a correctly formatted GTiN number, "00" or be omittedentirely.

Unirest.setTimeouts(0, 0); HttpResponse<String> response = Unirest.get("/api/v2/product/get_item_limit") .asString();<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => '/api/v2/product/get_item_limit', 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( ), )); $response = curl_exec($curl); curl_close($curl); echo $response; curl --location --request GET '/api/v2/product/get_item_limit' import requests url = "/api/v2/product/get_item_limit" payload={} headers = { } response = requests.request("GET",url,headers=headers, data=payload, allow_redirects=False) print(response.text)

No Response Example Set.