The common properties for individual requests within a batch.

BatchRequest

interface BatchRequest {
    body?: { [key: string]: object };
    headers?: { [key: string]: string };
    method: HttpMethod;
    uri: string;
}

Properties

body?: { [key: string]: object }

Additional HTTP body information that is associated with an individual request within a batch.

BatchRequest

headers?: { [key: string]: string }

A mapping of additional HTTP headers to send or receive for an individual request within a batch.

BatchRequest

method: HttpMethod

BatchRequest

uri: string

The URI associated with an individual request within a batch. For FeaturedOfferExpectedPrice, this is /products/pricing/2022-05-01/offer/featuredOfferExpectedPrice.

BatchRequest