Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to OrderCreateUpsertCustomerAttributesInput

OrderCreateUpsertCustomerAttributesInput

input_object

The input fields for creating a new customer object or identifying an existing customer to update & associate with the order.

•

A list of addresses to associate with the customer.

•

The email address to update the customer with. If no id is provided, this is used to uniquely identify the customer.


Note

If both this email input field and the email on OrderCreateOrderInput are provided, this field will take precedence.


•

The first name of the customer.

•

The id of the customer to associate to the order.

•

The last name of the customer.

•

A unique identifier for the customer that's used with Multipass login.

•

A note about the customer.

•

The unique phone number (E.164 format) for this customer. Attempting to assign the same phone number to multiple customers returns an error. The property can be set using different formats, but each format must represent a number that can be dialed from anywhere in the world. The following formats are all valid:

  • 6135551212
  • +16135551212
  • (613)555-1212
  • +1 613-555-1212
•

Tags that the shop owner has attached to the customer. A customer can have up to 250 tags. Each tag can have up to 255 characters.

•

Whether the customer is exempt from paying taxes on their order. If true, then taxes won't be applied to an order at checkout. If false, then taxes will be applied at checkout.


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•
INPUT OBJECT

A new customer to create or update and associate with the order.


Was this section helpful?