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

Argument Description
customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

  • customerAccessToken (CustomerAccessToken)

    The renewed customer access token object.

  • userErrors ([UserError!]!)

    The list of errors that occurred from 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

Argument Description
customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

  • customerAccessToken (CustomerAccessToken)

    The renewed customer access token object.

  • userErrors ([UserError!]!)

    The list of errors that occurred from 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

Argument Description
customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

  • customerAccessToken (CustomerAccessToken)

    The renewed customer access token object.

  • userErrors ([UserError!]!)

    The list of errors that occurred from 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

Argument Description
customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

  • customerAccessToken (CustomerAccessToken)

    The renewed customer access token object.

  • userErrors ([UserError!]!)

    The list of errors that occurred from 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

Argument Description
customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

  • customerAccessToken (CustomerAccessToken)

    The renewed customer access token object.

  • userErrors ([UserError!]!)

    The list of errors that occurred from 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

Argument Description
customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

  • customerAccessToken (CustomerAccessToken)

    The renewed customer access token object.

  • userErrors ([UserError!]!)

    The list of errors that occurred from executing the mutation.