Create Customer

Create a *Customer*. > #### Note > * Substitute your storefront domain for `yourstore.example.com`. > * The Send a Test Request feature is not currently supported for this endpoint.

Request

Data sent the the customer endpoint when creating a customer during checkout.
firstNamestringOptional
First name of customer.
lastNamestringOptional
Last name of customer.
emailstringOptional
Email of customer.
passwordstringOptional
Password of customer.
acceptsMarketingEmailsbooleanOptional
Indicates whether customer provided consent to receive marketing emails.
tokenstringOptional

A valid reCAPTCHA token from a successful verification response.

customFieldslist of objectsOptional

Errors

400
Bad Request Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error