Order Create Upsert Customer Attributes Input
The input fields for creating a new customer object or identifying an existing customer to update & associate with the order.
Anchor to FieldsFields
- Anchor to addressesaddresses•[Order
Create Customer Address Input!] A list of addresses to associate with the customer.
- Anchor to emailemail•String
The email address to update the customer with. If no
id
is provided, this is used to uniquely identify the customer.NoteIf both this email input field and the email on
are provided, this field will take precedence.
- Anchor to firstNamefirst•String
Name The first name of the customer.
- •ID
The id of the customer to associate to the order.
- Anchor to lastNamelast•String
Name The last name of the customer.
- Anchor to multipassIdentifiermultipass•String
Identifier A unique identifier for the customer that's used with Multipass login.
- Anchor to notenote•String
A note about the customer.
- Anchor to phonephone•String
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
- •[String!]
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.
- Anchor to taxExempttax•Boolean
Exempt Whether the customer is exempt from paying taxes on their order. If
true
, then taxes won't be applied to an order at checkout. Iffalse
, then taxes will be applied at checkout.
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.