Options that are available to all requests that support specifying a store

interface CommonStoreEnabledRequestOptions {
    abortController?: AbortController;
    aggregateTimeoutMs?: number;
    correlationId?: string;
    params?: Record<
        string,
        undefined
        | string
        | number
        | boolean
        | (string | number | boolean)[],
    >;
    retry?: CommercetoolsRetryConfig;
    storeKey?: string;
    timeoutMs?: number;
}

Hierarchy (View Summary)

Properties

abortController?: AbortController

An optional AbortController that can be used to abort the request

aggregateTimeoutMs?: number

The aggregate timeout in milliseconds (aggregate time spent across the original request and retries)

correlationId?: string

A unique id used to track the source of a request.

params?: Record<
    string,
    undefined
    | string
    | number
    | boolean
    | (string | number | boolean)[],
>

Query string parameters. For repeated param=value in the query string, define an array with values

Retry configuration

storeKey?: string

The key of the store that you want this call to apply to

timeoutMs?: number

The request timeout in milliseconds