Shipping ZoneVersion: v3
Get available shipping rates
POST/store/shipping-zone/shipping-rates
This return available shipping rates for country based on order amount
Request
Body
altIdstringrequired
Location Id or Agency Id
Example:
6578278e879ad2646715ba9caltTypestringrequired
Available options
locationcountrystringrequired
Country code of the customer
Available options
USCAAFAXALDZASADAOAIAQAGExample:
USaddressobject
Address of the customer
amountAvailablestring
it will not calculate the order amount form backend if it is true
Available options
AFAXALDZASADAOAIAQAGARAMExample:
UStotalOrderAmountnumberrequired
The amount of the price. ( min: 0.01 )
Example:
99.99weightAvailableboolean
Flag to pass when the weight is already calculated and should not calculate again
Example:
truetotalOrderWeightnumberrequired
Estimated weight of the order calculated from the order creation side in kg(s)
Example:
10sourceobjectrequired
Source of the order
Example
{
"type": "order",
"subType": "store"
}
productsobject[]required
An array of price IDs and quantity
couponCodestring
Coupon code
Example:
TESTResponse
Successful response
statusbooleanrequired
Status of api action
Example:
truemessagestring
Success message
Example:
Successfully createddataobject[]required
Shipping rate data