Get Shipping Zone
GET/store/shipping-zone/:shippingZoneId
The "List Shipping Zone" API allows to retrieve a paginated list of shipping zone.
Request
shippingZoneId stringrequired
ID of the item that needs to be returned
altId stringrequired
Location Id or Agency Id
altType stringrequired
Available options
locationwithShippingRate boolean
Include shipping rates array
Successful response
- application/json
- Schema
- Example (auto)
Schema
statusbooleanrequired
Status of api action
messagestring
Success message
dataobjectrequired
Shipping zone data
{
"status": true,
"message": "Successfully created",
"data": {
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"name": "North zone",
"countries": [
{
"code": "US",
"states": [
{
"code": "VA"
}
]
}
],
"_id": "655b33a82209e60b6adb87a5",
"shippingRates": [
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"name": "North zone",
"description": "Ships next day",
"currency": "USD",
"amount": 99.99,
"conditionType": "price",
"minCondition": 99.99,
"maxCondition": 99.99,
"isCarrierRate": true,
"shippingCarrierId": "655b33a82209e60b6adb87a5",
"percentageOfRateFee": 10.99,
"shippingCarrierServices": [
{
"name": "Priority Mail Express International",
"value": "PriorityMailExpressInternational"
}
],
"_id": "655b33a82209e60b6adb87a5",
"shippingZoneId": "655b33a82209e60b6adb87a5",
"createdAt": "2023-12-12T09:27:42.355Z",
"updatedAt": "2023-12-12T09:27:42.355Z"
}
],
"createdAt": "2023-12-12T09:27:42.355Z",
"updatedAt": "2023-12-12T09:27:42.355Z"
}
}