Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CommerceConnectorContextInputProps

Hierarchy

  • CommerceConnectorContextInputProps

Index

Properties

connector

connector: string

ID of the commerce connector you wish to use

Optional defaultAnonymousCredentials

defaultAnonymousCredentials: undefined | Credentials

Optional default credentials to be passed for anonymous GraphQL request.

Example: { "scope": "public", "locale": "en-US", "currency": "USD", "country": "US" }

Optional defaultRequestHeaders

defaultRequestHeaders: undefined | Headers | string[][] | Record<string, string>

Optional default request headers to be passed to each GraphQL request.

Optional existingToken

existingToken: undefined | string

An existing user's token. If it's valid, it will be used to re-establish the user's session.

graphqlServiceUrl

graphqlServiceUrl: string

GraphQL service URL you wish to use

Generated using TypeDoc