Creates a new customer.
write_customers access scope.
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Specifies the fields to use when creating the customer.
Whether the customer has consented to receive marketing material via email.
The date and time when the customer consented or objected to receiving marketing material by email. Set whenever the customer consents or objects to marketing material.
An input that specifies addresses for a customer.
The unique email address of the customer.
The customer's first name.
Specifies the customer to update, or creates a new customer if one doesn't exist.
The customer's last name.
The customer's locale.
The marketing subscription opt-in level (as described by the M3AAWG best practices guideline) that was enabled when the customer consented to receiving marketing material by email.
Attaches additional metadata to the customer.
A note about the customer.
The unique phone number for the customer.
The private metafields to associated with this product.
A comma separated list of tags associated with the customer. Updating
tagsoverwrites any existing tags that were previously added to the customer. To add new tags without overwriting existing tags, use the tagsAdd mutation.