List Addresses
Beta/v1/sales/addressesThis endpoint is idempotent. Learn more
Returns a paginated list of addresses.
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_shipFilter results to a single address type.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
null when the last page has been reached.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
null while on the first page.
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.
geolocationgeolocationnullableGeolocation 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