Operations API

Addresses

Addresses, which are tied to customers, become handy when establishing multiple billing profiles for a single customer (for instance, a business with subsidiaries) and when dynamically billing them during transactions or invoice setup.

Addresses are segregated into two categories:

  • Shipping Addresses: These are employed to compute the shipping costs for physical goods. They also serve as the primary point of contact for discussions related to the packaging and delivery timeline of an order.
  • Billing Addresses: These are used to calculate the cost of an order, determine applicable taxes, and work out any discounts. They also act as the principal contact point for any inquiries related to payments.



API Endpoints

Description

Method

URL

POST

/v2/customers/address/create/:id

POST

/v2/customers/address/update/:id

DELETE

/v2/customers/address/:id



Webhook Events

Any action performed with the Addresses API triggers a customer-updated webhook event. You can see examples of the notification event Customer Events.