Upsert Customer Then Place Order
A 4-step recipe with Shopify. We can help you get access.
Recipe · 4 steps
Upsert Customer Then Place Order
with Shopify · Customer Data Management
Reuse or create a customer by email, then place and confirm an order.
- Search for an existing customer by email, returning at most one match.
- Create a new customer when no existing one matched the email.
- Place an order tied to the resolved customer email containing the variant line item.
- Read the order back to confirm it was placed.
What you'll need to have ready
- email: Customer email used to resolve the customer and stamp the order.
- firstName: First name used when creating a new customer.
- lastName: Last name used when creating a new customer.
- variantId: The product variant ID to order.
- quantity: Quantity of the variant.
For your developer
Arazzo workflow shopify:upsert-customer-then-order, 4 operations: searchCustomers → createCustomer → createOrder → getOrder. Specs on APIs.io.