I am using Shopify’s GraphQL mutations in order to create a customer on a button click on the front end of my website. The user is prompted for an email, on submit, they will receive an email to activate their account. The “customerCreate” mutation in the documentation does not state that password is required, however my API response states that a password is required in my post request, can anyone help me to create an account without requiring a password? Here is the shopify documentation . Thank you in advance for any help
mutation customerCreate($input: CustomerCreateInput!) {
customerCreate(input: $input) {
customerUserErrors {
code
field
message
}
customer {
id
}
}
}
{
"input": {
"email": "example@gmail.com",
"acceptsMarketing": true
}
}
Error message: “message”: “Variable $input of type CustomerCreateInput! was provided invalid value for password (Expected value to not be null)”,