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.

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.


Argument Type Default Description
customerAccessToken required String!

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.