customerAccessTokenCreate
This page was printed on Feb 15, 2019. For the current version, visit https://help.shopify.com/en/api/custom-storefronts/storefront-api/reference/mutation/customeraccesstokencreate.
Required access
unauthenticated_write_customers
access scope
Creates a customer access token. The customer access token is required to modify the customer object in any way.
Interactive Example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Type | Default | Description |
---|---|---|---|
input
required
|
CustomerAccessTokenCreateInput!
|
Input Fields
Return Fields
Deprecated return fields
userErrors
([UserError!]!
)
deprecated
List of errors that occurred executing the mutation.
Deprecation warning
Use customerUserErrors
instead