Skip to Content

CustomerAccessTokenRenewPayload

Payload returned by the customerAccessTokenRenew mutation. This type contains the renewed customer access token along with any errors that occurred during the token renewal operation.

Type Definition

type CustomerAccessTokenRenewPayload { customerAccessToken: CustomerAccessToken customerUserErrors: [CustomerUserError]! }

Fields

FieldTypeDescription
customerAccessTokenCustomerAccessTokenThe renewed customer access token
customerUserErrors[CustomerUserError]!List of errors that occurred during the operation

Relationships

The CustomerAccessTokenRenewPayload type is returned by the customerAccessTokenRenew mutation. It contains a reference to a CustomerAccessToken object, which represents the renewed authentication token for the customer. The customerUserErrors field provides feedback on any issues encountered during the renewal process, with each error represented as a CustomerUserError object.

Example

{ customerAccessTokenRenew(input: {refreshToken: "eyJhbGciOiJIUzI1NiJ9..."}) { customerAccessToken { accessToken expiresAt } customerUserErrors { code field message } } }

Implements

This type does not implement any interfaces.