The input fields to create a customer.
Fields
emailMarketingConsent ● CustomerEmailMarketingConsentInput
Used for customer consent to receive marketing information via email, such as newsletters.
More
addresses ● [MailingAddressInput]
Customer Address
More
smsMarketingConsent ● CustomerSmsMarketingConsentInput
Used for customer consent/refusal to receive marketing information via SMS.
More
note ● String
Customer Remarks
phone ● String
Mobile phone number used to contact the customer.
id ● ID
Unique Customer Code
email ● String
Email used to contact the customer.
taxExemptions ● [FreeAreasInput]
List of countries and regions where customers are exempt from tax
More
firstName ● String
First Name
tags ● [String]
Customer Tag List. Could be an array or a comma-separated list. Example values: ["Dev1", "Dev1", "Dev1"], "Dev1, Dev1, Dev1"
taxExempt ● Boolean
Whether the customer's orders are tax-exempt.
lastName ● String
Last Name
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?