Configuration parameters common to Commerce SDK clients

Type Parameters

Hierarchy

  • ClientConfig

Implements

Constructors

Properties

baseUri?: string
fetchOptions: any
headers: {
    [key: string]: string;
}

Type declaration

  • [key: string]: string
parameters: Params
proxy?: string
throwOnBadResponse: boolean
transformRequest: ((data, headers) => any)

Type declaration

    • (data, headers): any
    • Parameters

      • data: unknown
      • headers: {
            [key: string]: string;
        }
        • [key: string]: string

      Returns any

defaults: Pick<Required<ClientConfigInit<never>>, "transformRequest">