Shopping

Poll for search results

A PollResponse containing full or partial search results will be returned, given a valid PollRequest including a requestId.

Corresponding response status code indicates whether another poll is neccessary until all results are returned.

post/shopping/polls

Request body

requestIdstring required

This is the request ID found in the SearchResponse.

offsetinteger

This is the offset of the results to be polled next.

sizeinteger

This is the maximum number of results to be polled. The actual number of results might be less when there is no more results available at the moment.

currencystring

Currency code of results to be polled.

Example request

{
  "requestId": "OW|Economy|1-0-0|UnlimitedStarter-UnlimitedCandidate|20210901:@YTO:@AMS",
  "currency": "USD"
}

Response

OK

All have been returned. There is no more result available.

messagestring

message returned by server side if there is any

Changes

Changed in 4 of the 14 revisions of this API.17

    • added the optional property trips/items/prices/extended to the response with the 200 status

      response-optional-property-added

    • added the optional property trips/items/prices/extended to the response with the 206 status

      response-optional-property-added

    • added the optional property trips/items/prices/extended to the response with the 400 status

      response-optional-property-added

    • added the optional property trips/items/flights/items/flightKey to the response with the 200 status

      response-optional-property-added

    • added the optional property trips/items/flights/items/flightKey to the response with the 206 status

      response-optional-property-added

    • added the optional property trips/items/flights/items/flightKey to the response with the 400 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 17 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog