Commerce Layer · Arazzo Workflow
Commerce Layer Create Customer, Address, and Order
Version 1.0.0
Onboard a customer, save a customer address book entry, then open an order for them.
View Spec
View on GitHub
Headless CommerceComposable CommerceAPI-FirstEcommerceJSON:APIOAuth 2.0Multi-MarketMulti-CurrencyB2CB2BSubscriptionsPromotionsInventoryOrder ManagementCheckoutArazzoWorkflows
Provider
Workflows
create-customer-address-order
Create a customer, attach an address, and open an order for them.
Creates a customer, creates an address and links it to the customer, then creates a draft order in the supplied market associated with the customer.
1
createCustomer
POST/customers
Create the customer record from the supplied email.
2
createAddress
POST/addresses
Create a reusable address resource for the customer.
3
linkCustomerAddress
POST/customer_addresses
Link the address to the customer as an address book entry.
4
createOrder
POST/orders
Open a draft order in the market for the new customer.