Common properties of batch requests against individual APIs.

Export

BatchRequest

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

Properties

Properties

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

A mapping of additional HTTP headers to send/receive for the individual batch request.

Type declaration

  • [key: string]: string

Memberof

BatchRequest

method: HttpMethod

Memberof

BatchRequest

uri: string

The resource path of the operation you are calling in batch without any query parameters. If you are calling getItemOffersBatch, supply the path of getItemOffers. Example: /products/pricing/v0/items/B000P6Q7MY/offers If you are calling getListingOffersBatch, supply the path of getListingOffers. Example: /products/pricing/v0/listings/B000P6Q7MY/offers

Memberof

BatchRequest