List All Shipping Addresses
Returns a list of all shipping addresses. The results are returned sorted by updated date, with the most recently updated addresses appearing first.
curl -X GET "https://api.ezewholesale.com/api/v1/shipping-addresses" \
-H "x-api-key:your-api-key" \
-H 'Content-Type: application/json'
{
"status": 200,
"description": "Shipping addresses fetched successfully",
"data": [
{
"id": "6b80ac21-baca-4fb3-98a5-6e5bb8d4f457",
"addressLine1": "Nevada City",
"city": "Nevada County",
"state": "California",
"country": "US",
"postalCode": "95959",
"apartmentNumber": "32 A"
},
{
"id": "c7066139-005e-4363-9702-7a87436c9566",
"addressLine1": "3790 S Las Vegas Blvd",
"city": "Clark County",
"state": "Nevada",
"country": "US",
"postalCode": "89109",
"apartmentNumber": "6 B"
},
{
"id": "63a14fb5-57b8-4de4-a482-8f52c381d076",
"addressLine1": "2-20 Western Rd",
"city": "Greater London",
"state": "England",
"country": "GB",
"postalCode": "NW10 7LW",
"apartmentNumber": null
}
]
}