Create Customer and Order
A 3-step recipe with WooCommerce. We can help you get access.
Recipe · 3 steps
Create Customer and Order
with WooCommerce · Customer Data Management
Create a customer, place an order for them, and confirm the order.
- Create the customer account that the order will be placed against.
- Create an order tied to the new customer with a single product line item.
- Retrieve the created order to confirm it was recorded against the customer.
What you'll need to have ready
- email: Email address for the new customer account.
- firstName: Customer first name.
- lastName: Customer last name.
- productId: ID of the product to add as a line item on the order.
- quantity: Quantity of the product to order.
- paymentMethod: Optional payment method ID for the order.
For your developer
Arazzo workflow woocommerce:create-customer-and-order, 3 operations: createCustomer → createOrder → getOrder. Specs on APIs.io.