GitHub

ShopifyCustomerAccessToken

Type

import { ShopifyCustomerAccessToken } from '@daffodil/driver/shopify'

A unique authentication token that identifies a logged-in customer and authorizes modifications to the Customer object. The token is required for customer-specific operations like updating profile information or managing addresses.

Tokens have an expiration date and must be renewed using customerAccessTokenRenew before they expire. Create tokens with customerAccessTokenCreate using legacy customer account authentication (email and password), or with customerAccessTokenCreateWithMultipass for single sign-on flows.

interface ShopifyCustomerAccessToken {
  __typename: "CustomerAccessToken"
  accessToken: string
  expiresAt: Scalars['DateTime']['output']
}

Properties

__typename
"CustomerAccessToken"
accessToken
string

The customer’s access token.

expiresAt
Scalars['DateTime']['output']

The date and time when the customer access token expires.