Skip to main content

v2.product.get_weight_recommendation

POST /api/v2/product/get_weight_recommendation

Get recommended weight. Now only BR shop support to use this api to get recommended weight.

Endpoint URL

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

Common Request Parameters

NameTypeSampleDescription
partner_idint1Partner ID is assigned upon registration is successful. Required for all requests.
timestamptimestamp1610000000This is to indicate the timestamp of the request. Required for all requests. Expires in 5 minutes.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1The token for API access, using to identify your permission to the api. Valid for multiple use and expires in 4 hours.
shop_idint600000Shopee's unique identifier for a shop. Required param for most APIs.
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

Request Parameters

NameTypeRequiredSampleDescription
item_namestringTruepaperName of the item in local language.
cover_image_idstringTruee9a76cf159c3e7f12510a7017e120467Image id of first product image.
category_idintTrue100061Shopee's unique identifier for a category.
attribute_listobject[]True
attribute_idintTrue100019The Identify of each attribute.
attribute_value_listobject[]True
value_idintTrue1009Unique identifier for value of this item attribute.
original_value_namestringFalsevalueValue name of this item attribute.
value_unitstringFalsekgValue unit of this item attribute.
brand_idintTrue100021Id of brand.
description_typestringTrueextendedType of description, values: See Data Definition- description_type (normal , extended).
descriptionstringFalseIf description_type is normal , Description information should be set by this field.
description_infoobjectFalseNew description field. Only whitelist sellers can use it. If you use the field, please upload the description_type=extended.
extended_descriptionobjectFalseIf description_type is extended , Description information should be set by this field.
field_listobject[]FalseField of extended description.
field_typestringFalsetextType of extended description field, values: See Data Definition- description_field_type (text , image).
textstringFalsedesc textIf field_type is text, text information will be set by this field.
image_infoobjectFalseIf field_type is image, image information will be set by this field.
image_idstringFalse564d29618a333337fa1798f20476c4f5Image id.

Response Parameters

NameTypeSampleDescription
messagestringIndicate error details if hit error. Empty if no error happened.
warningstringIndicate waring details if hit waring. Empty if no waring happened.
request_idstring41b0c8c1c414ed0624bf1c9ebdb21d20The identifier for an API request for error tracking
responseobject
normal_weight_rangefloat[][0.1,0.5]Recommended weight range, in kg. If there are no recommended results, return empty.
errorstringerror_paramIndicate error type if hit error. Empty if no error happened.