capabilities.work

Upsert a Customer by Email

A 3-step recipe with Shopify. We can help you get access.

Recipe · 3 steps

Upsert a Customer by Email

with Shopify · Customer Data Management

Upsert a single customer keyed on their email address.

  1. Search for a customer by email address, returning at most one candidate match.
  2. Update the matched customer with the supplied profile fields.
  3. Create a new customer using the supplied fields when no existing customer matched the email.
What you'll need to have ready
  • email: The customer email used as the upsert key.
  • firstName: Customer first name.
  • lastName: Customer last name.
  • phone: Phone number in E.164 format.
  • tags: Comma-separated list of tags to apply.
For your developer

Arazzo workflow shopify:upsert-customer-by-email, 3 operations: searchCustomers → updateCustomer → createCustomer. Specs on APIs.io.