Get seller’s available shipping template and return the reason why the template is not available,this api is now only available for JP and UK market
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
Request Body
Section titled “Request Body”object
The product’s dimensions and weight to use when evaluating shipping template availability.
object
The weight of product
object
The weight of product
1:gram 2:pound 3:ounce 4:kilogram
The dimension of the product
object
The length of the product
The width of the product
The height of the product
1: centimeter 2:inch 3:foot 4:millimeter 5:meter
Examplegenerated
{ "product_attribute": { "weight": { "weight": "example", "unit": 1 }, "dimension": { "length": "example", "width": "example", "height": "example", "unit": 1 } }}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
Shipping templates evaluated for availability for the seller’s shop.
object
Whether the template is available
Shipping template details, including the template ID, name, fulfillment party, and whether it is the default template.
object
The template name
The template_id
Is default template or not
1 for shipping by platform template 2 for shipping by seller template
Reasons the shipping template is unavailable, grouped by shipping service. This field is omitted when the template is available.
object
Id of the service
Reasons this shipping service is unavailable for the template.
object
1 for length filter 2 for width filter 3 for height filter 4 for weight filter 9 for service mode filter 11 for service filter
Detailed reason for unreachable
Example
{ "code": 0, "data": { "templates": [ { "template_is_available": false, "template": { "template_name": "test template", "template_id": "1234566", "is_default": false, "template_party": 1 }, "service_unreachable_reason": [ { "service_id": "23241", "filter_reason": [ { "filter_type": "9", "reason": "Ship by seller is banned" } ] } ] } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}