Get Customer Addresses
GET/v2/customers/:customerID/addresses
Get all addresses for a Customer.
You can use pagination with this resource. For more information, see pagination.
Filtering
The following operators and attributes are available for filtering addresses:
| Attribute | Operators | Example |
|---|---|---|
name | eq,in,like,ilike,text | ilike(name,"*home*") |
first_name | eq,in,like,ilike,text | ilike(first_name,"Ron*") |
last_name | eq,in,like,ilike,text | ilike(last_name,"*swan*") |
phone_number | eq,in,like,ilike,text | ilike(phone_number,"*555*") |
company_name | eq,in,like,ilike,text | ilike(company_name,"*enterprises*") |
instructions | eq,in,like,ilike,text | text(instructions,"behind bin") |
line_1 | eq,in,like,ilike,text | ilike(line_1,"*Sunny Street*") |
line_2 | eq,in,like,ilike,text | ilike(line_2,"*Unit*") |
city | eq,in,like,ilike,text | eq(city,"Sunny Town") |
county | eq,in,like,ilike,text | eq(county,"Sunnyville") |
region | eq,in,like,ilike,text | eq(region,"California") |
postcode | eq,in,like,ilike,text | eq(postcode,"SU33 1YY") |
country | eq,in,like,ilike,text | eq(country,"GB") |
Request
Responses
- 200
- 400
- 404
OK
Bad Request
Not Found