API Documentation
Cart - Shipping Price Estimates
The GET shippriceestimate
endpoint can be used to get shipping price estimate for a Product.
The GET shippriceestimate
takes the following arguments:
productId
- required - ID of the Product for which the shipping prices are to be returnedcountryCode
- required - the 2 character (ISO 3166-1 alpha-2) country code that the user is interested in shipping tocurrencyCode
- optional, defaults to “USD” - the currency in which the prices will be represented
This request yields following response:
{
"MinPrice": {
"Price": 3.5,
"CurrencyCode": "USD",
"FormattedPrice": "$3.50",
"CurrencyFormat": "${1}",
"CurrencyDigits": 2
},
"MaxPrice": {
"Price": 3.5,
"CurrencyCode": "USD",
"FormattedPrice": "$3.50",
"CurrencyFormat": "${1}",
"CurrencyDigits": 2
},
"VendorCountryCode": "US",
"CanShipExpedited": false,
"EstShipDays": 7
}