Reference
List standard boxes
Your shipping company's standard box sizes.
GET
/v1/boxesBearer tokenReturns JSONSuccess 200
Sizes are in centimetres and maxWeight in kilograms. Send a box's id as standardBoxId on an order box, or send your own sizes.
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/boxes" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"Response
Example response · 200
[
{
"id": "774ee4d7-74ce-4cc7-8860-e3f5f78804cd",
"name": "Small box",
"length": 30,
"width": 20,
"height": 15,
"maxWeight": 5
}
]Errors
Every call can also return the shared errors listed on the Overview page. Overview