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

storefrontAccessTokenCreate mutation

Version unstable

Creates a storefront access token.

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

input ( StorefrontAccessTokenInput! ) required

Provides the input fields for creating a storefront access token.

StorefrontAccessTokenInput fields

title (String!) Required

A title for the storefront access token.

Return fields

shop (Shop!)

The user's shop.

storefrontAccessToken (StorefrontAccessToken)

The storefront access token.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2021-01 (Release candidate)

Creates a storefront access token.

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

input ( StorefrontAccessTokenInput! ) required

Provides the input fields for creating a storefront access token.

StorefrontAccessTokenInput fields

title (String!) Required

A title for the storefront access token.

Return fields

shop (Shop!)

The user's shop.

storefrontAccessToken (StorefrontAccessToken)

The storefront access token.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-10 (Latest)

Creates a storefront access token.

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

input ( StorefrontAccessTokenInput! ) required

Provides the input fields for creating a storefront access token.

StorefrontAccessTokenInput fields

title (String!) Required

A title for the storefront access token.

Return fields

shop (Shop!)

The user's shop.

storefrontAccessToken (StorefrontAccessToken)

The storefront access token.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-07

Creates a storefront access token.

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

input ( StorefrontAccessTokenInput! ) required

Provides the input fields for creating a storefront access token.

StorefrontAccessTokenInput fields

title (String!) Required

A title for the storefront access token.

Return fields

shop (Shop!)

The user's shop.

storefrontAccessToken (StorefrontAccessToken)

The storefront access token.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-04

Creates a storefront access token.

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

input ( StorefrontAccessTokenInput! ) required

Provides the input fields for creating a storefront access token.

StorefrontAccessTokenInput fields

title (String!) Required

A title for the storefront access token.

Return fields

shop (Shop!)

The user's shop.

storefrontAccessToken (StorefrontAccessToken)

The storefront access token.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-01

Creates a storefront access token.

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

input ( StorefrontAccessTokenInput! ) required

Provides the input fields for creating a storefront access token.

StorefrontAccessTokenInput fields

title (String!) Required

A title for the storefront access token.

Return fields

shop (Shop!)

The user's shop.

storefrontAccessToken (StorefrontAccessToken)

The storefront access token.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Unsupported)

Creates a storefront access token.

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

input ( StorefrontAccessTokenInput! ) required

Provides the input fields for creating a storefront access token.

StorefrontAccessTokenInput fields

title (String!) Required

A title for the storefront access token.

Return fields

shop (Shop!)

The user's shop.

storefrontAccessToken (StorefrontAccessToken)

The storefront access token.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-07 (Unsupported)

Creates a storefront access token.

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

input ( StorefrontAccessTokenInput! ) required

Provides the input fields for creating a storefront access token.

StorefrontAccessTokenInput fields

title (String!) Required

A title for the storefront access token.

Return fields

shop (Shop!)

The user's shop.

storefrontAccessToken (StorefrontAccessToken)

The storefront access token.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-04 (Unsupported)

Creates a storefront access token.

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

input ( StorefrontAccessTokenInput! ) required

Provides the input fields for creating a storefront access token.

StorefrontAccessTokenInput fields

title (String!) Required

A title for the storefront access token.

Return fields

shop (Shop!)

The user's shop.

storefrontAccessToken (StorefrontAccessToken)

The storefront access token.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.