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

customerAccessTokenRenew 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 customerAccessTokenCreate.

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

customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

customerAccessToken (CustomerAccessToken)

The renewed customer access token object.

userErrors ([UserError!]!)

List of errors that occurred executing the 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 customerAccessTokenCreate.

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

customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

customerAccessToken (CustomerAccessToken)

The renewed customer access token object.

userErrors ([UserError!]!)

List of errors that occurred executing the 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 customerAccessTokenCreate.

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

customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

customerAccessToken (CustomerAccessToken)

The renewed customer access token object.

userErrors ([UserError!]!)

List of errors that occurred executing the 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 customerAccessTokenCreate.

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

customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

customerAccessToken (CustomerAccessToken)

The renewed customer access token object.

userErrors ([UserError!]!)

List of errors that occurred executing the 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 customerAccessTokenCreate.

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

customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

customerAccessToken (CustomerAccessToken)

The renewed customer access token object.

userErrors ([UserError!]!)

List of errors that occurred executing the 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 customerAccessTokenCreate.

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

customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

customerAccessToken (CustomerAccessToken)

The renewed customer access token object.

userErrors ([UserError!]!)

List of errors that occurred executing the 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 customerAccessTokenCreate.

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

customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

customerAccessToken (CustomerAccessToken)

The renewed customer access token object.

userErrors ([UserError!]!)

List of errors that occurred executing the 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 customerAccessTokenCreate.

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

customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

customerAccessToken (CustomerAccessToken)

The renewed customer access token object.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.