Customer addresses
AI agents: read /llms.txt; add .md to any page URL. This page as Markdown: /reference/customer-addresses.md. Index of every page and the rules for every call: /llms.txt. Guides and concepts in one file: /llms-full.txt. OpenAPI: /openapi.json.
A customer's billing and shipping addresses. The first of each role is primary. An address already used on a document is copied, not changed, when you edit it.
7 operations
- POSTAdd an address to a customer
/Adds a billing or shipping address and returns it.v1/ api/ store/ {team_slug}/ customer/ {hash_id}/ address - GETList a customer's addresses
/Lists the customer's current billing and shipping addresses: the ones you can pick for new documents or edit.v1/ api/ store/ {team_slug}/ customer/ {hash_id}/ address - GETGet a customer address
/Returns one of the customer's addresses, deleted and replaced ones included, withv1/ api/ store/ {team_slug}/ customer/ {hash_id}/ address/ {id} used_by_active_profile. - PUTUpdate a customer address
/Saves changes to an address.v1/ api/ store/ {team_slug}/ customer/ {hash_id}/ address/ {id} - PATCHSet the primary address
/Makes this address the customer's primary address of its role (billing or shipping); the previous one stops being primary.v1/ api/ store/ {team_slug}/ customer/ {hash_id}/ address/ {id}/ primary - DELETEDelete a customer address
/Deletes a current address.v1/ api/ store/ {team_slug}/ customer/ {hash_id}/ address/ {id} - PATCHRestore a deleted customer address
/Brings back a deleted address.v1/ api/ store/ {team_slug}/ customer/ {hash_id}/ address/ {id}/ restore
