--- title: CustomerCreateInput - Storefront API description: > The input fields for creating a new [`Customer`](/docs/api/storefront/2026-01/objects/Customer) account. Used by the [`customerCreate`](/docs/api/storefront/2026-01/mutations/customerCreate) mutation. For legacy customer accounts only and requires an email address and password. Optionally accepts the customer's name, phone number, and email marketing consent. > Caution: > The password is used for customer authentication. Ensure it's transmitted securely and never logged or stored in plain text. api_version: 2026-01 api_name: storefront type: input-object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/storefront/latest/input-objects/CustomerCreateInput md: >- https://shopify.dev/docs/api/storefront/latest/input-objects/CustomerCreateInput.md --- # Customer​Create​Input input\_object The input fields for creating a new [`Customer`](https://shopify.dev/docs/api/storefront/2026-01/objects/Customer) account. Used by the [`customerCreate`](https://shopify.dev/docs/api/storefront/2026-01/mutations/customerCreate) mutation. For legacy customer accounts only and requires an email address and password. Optionally accepts the customer's name, phone number, and email marketing consent. *** **Caution:** The password is used for customer authentication. Ensure it\'s transmitted securely and never logged or stored in plain text. *** ## Fields * accepts​Marketing [Boolean](https://shopify.dev/docs/api/storefront/latest/scalars/Boolean) Indicates whether the customer has consented to be sent marketing material via email. * email [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) non-null The customer’s email. * first​Name [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) The customer’s first name. * last​Name [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) The customer’s last name. * password [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) non-null The login password used by the customer. * phone [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) A unique phone number for the customer. Formatted using E.164 standard. For example, *+16135551111*. *** ## Map No referencing types