List Addresses
Beta/v1/sales/addressesThis endpoint is idempotent. Learn more
Returns a paginated list of addresses.
Addresses belonging to the account you are acting in are returned newest first. The q search term matches the address name, street lines, city, state, postal code, and country.
cursoroptional stringOpaque cursor token identifying where the page of results starts.
Use the cursor value embedded in a previous response's next_page_url or previous_page_url to fetch the adjacent page. Omit to start from the first page.
limitoptional integerMaximum number of results to return in a single page.
qoptional stringFree-text search term used to filter results.
Which fields are matched against the term varies by endpoint.
typeoptional stringenumValues:standarddrop_shipFilters results to addresses of the given type.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of addressResources in this page.
idstringAddress ID.
objectstringenumValues:addressResource type identifier.
namestringDisplay name of the address.
phonestringnullablePhone number associated with the address.
emailstringnullableEmail address associated with the address.
typestringenumValues:standarddrop_shipHow the address is used.
standard: a normal shipping or billing address.drop_ship: an address an order is shipped to directly, typically a third party or end customer rather than the account itself.
receive_calendar_idstringnullableThe operating calendar naming the days this dock accepts freight.
The most specific link in the receiving chain: set it when one of a customer's sites keeps different days from the rest. Null falls through to the customer, then their group, then the account default.
geolocationgeolocationnullableStreet-level location details for the address.
idstringGeolocation ID.
objectstringenumValues:geolocationResource type identifier.
street_line_1stringnullableFirst line of the street address.
street_line_2stringnullableSecond line of the street address.
localitystringnullableCity or locality.
statestringnullableState or administrative area.
postal_codestringnullablePostal or ZIP code.
countrystringTwo-letter country code.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Responses
Successful response for List Addresses