Set Order Shipping and Billing Addresses
A 3-step recipe with Commerce Layer. We can help you get access.
Recipe · 3 steps
Set Order Shipping and Billing Addresses
with Commerce Layer · Order Fulfilment Management
Create shipping and billing addresses and attach them to an order.
- Create the shipping address resource.
- Create the billing address resource.
- Patch the order to associate the shipping and billing addresses.
What you'll need to have ready
- accessToken: Bearer access token for the Commerce Layer organization.
- orderId: The id of the order to set addresses on.
- shipping: Shipping address attributes (line_1, city, country_code, phone, plus optional fields).
- billing: Billing address attributes (line_1, city, country_code, phone, plus optional fields).
For your developer
Arazzo workflow commerce-layer:order-set-addresses, 3 operations: POST/addresses → POST/addresses → PATCH/orders/orderId. Specs on APIs.io.