User Error
Represents an error in the input of a mutation.
Anchor to FieldsFields
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- •mutation
Creates a customer access token. The customer access token is required to modify the customer object in any way.
- •mutation
Permanently destroys a customer access token.
- •mutation
Renews a customer access token.
Access token renewal must happen before a token expires. If a token has already expired, a new one should be created instead via
.
- •mutation
Activates a customer.
- •mutation
Creates a new address for a customer.
- •mutation
Permanently deletes the address of an existing customer.
- •mutation
Updates the address of an existing customer.
- •mutation
Creates a new customer.
- •mutation
Updates the default address of an existing customer.
- •mutation
Sends a reset password email to the customer. The reset password email contains a reset password URL and token that you can pass to the
or
mutation to reset the customer password.
This mutation is throttled by IP. With private access, you can provide a
instead of the request IP. The header is case-sensitive and must be sent as
.
Make sure that the value provided to
is trusted. Unthrottled access to this mutation presents a security risk.
- •mutation
"Resets a customer’s password with the token received from a reset password email. You can send a reset password email with the
mutation."
- •mutation
"Resets a customer’s password with the reset password URL received from a reset password email. You can send a reset password email with the
mutation."
- •mutation
Updates an existing customer.