Skip to main content
Anchor to CustomerAccessTokenRenewPayload

CustomerAccessTokenRenewPayload

payload

Return type for customerAccessTokenRenew mutation.

•CustomerAccessToken

The renewed customer access token object.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Extends the validity of a CustomerAccessToken before it expires. The renewed token maintains authenticated access to customer operations.

Renewal must happen before the token's expiresAt time. If a token has already expired, then use customerAccessTokenCreate to generate a new token with the customer's credentials.


Caution

Store access tokens securely. Never store tokens in plain text or insecure locations, and avoid exposing them in URLs or logs.


Arguments

•String!
required

The access token used to identify the customer.



Was this section helpful?