---
title: "Poll for search results"
method: POST
path: "/shopping/polls"
tags: ["Shopping"]
---

# Poll for search results

`POST /shopping/polls`

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.

## Request body

- PollRequest — todo
  - `requestId` string, required — This is the request ID found in the `SearchResponse`.
  - `offset` integer — This is the offset of the results to be polled next.
  - `size` integer — 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.
  - `currency` string — Currency code of results to be polled.

## Response `200`

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

- PollResponse
  - `message` string — message returned by server side if there is any

## Other responses

- `206` — Partial > > There are more results available to be polled for the same `PollRequest`.
- `400` — Partial > > There are more results available to be polled for the same `PollRequest`.

---

[API](https://skmtc.net/newpathfly/apis/virtual-interlining-api.md) · [All operations](https://skmtc.net/newpathfly/apis/virtual-interlining-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/newpathfly/virtual-interlining-api/versions/5e3990fa16fa/schema)
