Skip to main content
Log inSign up
input_object

The input fields and values to use when creating or updating a customer.

•

The addresses for a customer.

•

The unique email address of the customer.

Anchor to emailMarketingConsentemailMarketingConsent
•

Information that describes when the customer consented to receiving marketing material by email. The email field is required when creating a customer with email marketing consent information.

•

The customer's first name.

•

The ID of the customer to update.

•

The customer's last name.

•

The customer's locale.

•

Additional metafields to associate to the customer.

•

A note about the customer.

•

The unique phone number for the customer.

•

The marketing consent information when the customer consented to receiving marketing material by SMS. The phone field is required when creating a customer with SMS marketing consent information.

•

A list of tags to associate with the customer. Can be an array or a comma-separated list. Example values: ["tag1", "tag2", "tag3"], "tag1, tag2, tag3"

Updating tags overwrites any existing tags that were previously added to the customer. To add new tags without overwriting existing tags, use the tagsAdd mutation.

•

Whether the customer is exempt from paying taxes on their order.

•

The list of tax exemptions to apply to the customer.


Was this section helpful?