API version: unstable
API version: 2021-04 Release candidate
API version: 2021-01 Latest
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

customerAccessTokenCreate mutation

Creates a customer access token. The customer access token is required to modify the customer object in any way.

Required access

unauthenticated_write_customers access scope.

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 Description
input ( CustomerAccessTokenCreateInput! ) required

The fields used to create a customer access token.

CustomerAccessTokenCreateInput fields

  • email (String!) Required

    The email associated to the customer.

  • password (String!) Required

    The login password to be used by the customer.

Return fields

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Creates a customer access token. The customer access token is required to modify the customer object in any way.

Required access

unauthenticated_write_customers access scope.

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 Description
input ( CustomerAccessTokenCreateInput! ) required

The fields used to create a customer access token.

CustomerAccessTokenCreateInput fields

  • email (String!) Required

    The email associated to the customer.

  • password (String!) Required

    The login password to be used by the customer.

Return fields

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Creates a customer access token. The customer access token is required to modify the customer object in any way.

Required access

unauthenticated_write_customers access scope.

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 Description
input ( CustomerAccessTokenCreateInput! ) required

The fields used to create a customer access token.

CustomerAccessTokenCreateInput fields

  • email (String!) Required

    The email associated to the customer.

  • password (String!) Required

    The login password to be used by the customer.

Return fields

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Creates a customer access token. The customer access token is required to modify the customer object in any way.

Required access

unauthenticated_write_customers access scope.

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 Description
input ( CustomerAccessTokenCreateInput! ) required

The fields used to create a customer access token.

CustomerAccessTokenCreateInput fields

  • email (String!) Required

    The email associated to the customer.

  • password (String!) Required

    The login password to be used by the customer.

Return fields

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Creates a customer access token. The customer access token is required to modify the customer object in any way.

Required access

unauthenticated_write_customers access scope.

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 Description
input ( CustomerAccessTokenCreateInput! ) required

The fields used to create a customer access token.

CustomerAccessTokenCreateInput fields

  • email (String!) Required

    The email associated to the customer.

  • password (String!) Required

    The login password to be used by the customer.

Return fields

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Creates a customer access token. The customer access token is required to modify the customer object in any way.

Required access

unauthenticated_write_customers access scope.

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 Description
input ( CustomerAccessTokenCreateInput! ) required

The fields used to create a customer access token.

CustomerAccessTokenCreateInput fields

  • email (String!) Required

    The email associated to the customer.

  • password (String!) Required

    The login password to be used by the customer.

Return fields

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Creates a customer access token. The customer access token is required to modify the customer object in any way.

Required access

unauthenticated_write_customers access scope.

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 Description
input ( CustomerAccessTokenCreateInput! ) required

The fields used to create a customer access token.

CustomerAccessTokenCreateInput fields

  • email (String!) Required

    The email associated to the customer.

  • password (String!) Required

    The login password to be used by the customer.

Return fields

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Creates a customer access token. The customer access token is required to modify the customer object in any way.

Required access

unauthenticated_write_customers access scope.

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 Description
input ( CustomerAccessTokenCreateInput! ) required

The fields used to create a customer access token.

CustomerAccessTokenCreateInput fields

  • email (String!) Required

    The email associated to the customer.

  • password (String!) Required

    The login password to be used by the customer.

Return fields

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Creates a customer access token. The customer access token is required to modify the customer object in any way.

Required access

unauthenticated_write_customers access scope.

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 Description
input ( CustomerAccessTokenCreateInput! ) required

The fields used to create a customer access token.

CustomerAccessTokenCreateInput fields

  • email (String!) Required

    The email associated to the customer.

  • password (String!) Required

    The login password to be used by the customer.

Return fields

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead