customerActivate - storefront - MUTATION
Version: 2024-07
Description:
Activates a customer.
Access Scopes
`unauthenticated_write_customers` access scope.
Arguments
-
id:
ID! -
Specifies the customer to activate.
-
input:
CustomerActivateInput! -
The fields used to activate a customer.
Returns
-
customer:
Customer
The customer object.
-
customerAccessToken:
CustomerAccessToken
A newly created customer access token object for the customer.
-
customerUserErrors:
CustomerUserError!
The list of errors that occurred from executing the mutation.
-
userErrors:
UserError!
The list of errors that occurred from executing the mutation.
Examples