--- title: CustomerCreateInput - Storefront API description: The input fields to create a new customer. api_version: 2024-10 api_name: storefront type: input_object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/storefront/2024-10/input-objects/CustomerCreateInput md: >- https://shopify.dev/docs/api/storefront/2024-10/input-objects/CustomerCreateInput.txt --- # Customer​Create​Input input\_object The input fields to create a new customer. ## Fields * accepts​Marketing [Boolean](https://shopify.dev/docs/api/storefront/2024-10/scalars/Boolean) Indicates whether the customer has consented to be sent marketing material via email. * email [String!](https://shopify.dev/docs/api/storefront/2024-10/scalars/String) non-null The customer’s email. * first​Name [String](https://shopify.dev/docs/api/storefront/2024-10/scalars/String) The customer’s first name. * last​Name [String](https://shopify.dev/docs/api/storefront/2024-10/scalars/String) The customer’s last name. * password [String!](https://shopify.dev/docs/api/storefront/2024-10/scalars/String) non-null The login password used by the customer. * phone [String](https://shopify.dev/docs/api/storefront/2024-10/scalars/String) A unique phone number for the customer. Formatted using E.164 standard. For example, *+16135551111*. *** ## Mutations using this input * [customer​Create.​input](https://shopify.dev/docs/api/storefront/2024-10/mutations/customerCreate#argument-input) MUTATION *** ## Map ### Mutations using this input * <\~>[customer​Create.input](https://shopify.dev/docs/api/storefront/2024-10/mutations/customerCreate#argument-input)