Addresses
List pickup addresses
Your own pickup and return addresses.
GET
/v1/pickup-addressesBearer tokenReturns JSONSuccess 200
These are the places your shipping company collects from. They are managed in the merchant portal. Use an id as pickupAddressId when you dispatch an order or ask for a rate.
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/pickup-addresses" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"Response
Example response · 200
[
{
"id": "899caca3-0471-423e-9a90-0add12d7355b",
"name": "Al Quoz warehouse",
"contactName": "Priya Nair",
"contactPhone": "+971501234567",
"isPickup": true,
"isReturn": false,
"isDefault": true,
"formattedAddress": "Warehouse 14, Al Quoz Industrial Area 3, Dubai",
"buildingUnit": "Warehouse 14",
"postalCode": null,
"countryId": "cfde4319-9563-4d6a-9afa-0f72dad3c718",
"country": "United Arab Emirates",
"stateId": "73ff99bd-ca0e-4ec7-a60e-f314c57c0046",
"state": "Dubai",
"cityId": "23a058c2-9b96-460b-92d8-1196cba2f562",
"city": "Dubai",
"latitude": 25.1344,
"longitude": 55.2386,
"customFieldValues": {}
}
]Errors
Every call can also return the shared errors listed on the Overview page. Overview