Reference
Get box limit
The largest number of boxes one shipment may have.
GET
/v1/box-limitBearer tokenReturns JSONSuccess 200
boxLimit is the largest across all routes. routes gives the limit of each route; an order with more boxes than its own route allows is refused.
Request
Headers
| Field | Type | Description |
|---|---|---|
Authorizationrequired | string | The access token from Get token, as "Bearer <token>". |
This endpoint takes no parameters.
Example request
curl -X GET "https://api.swiftazu.com/v1/box-limit" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"Response
Example response · 200
{
"boxLimit": 5,
"routes": [
{
"fromCountryId": "cfde4319-9563-4d6a-9afa-0f72dad3c718",
"toCountryId": "cfde4319-9563-4d6a-9afa-0f72dad3c718",
"boxLimit": 5
}
]
}Errors
Every call can also return the shared errors listed on the Overview page. Overview