haggl_get_bids
Have the merchants on haggl.ai in one shopping category (for example travel) bid for the user at once, from their haggl ID record, without new proof. Works once the record holds a verified purchase in that category (from an earlier offer with signed email proof); otherwise it says so and returns no bids. Each bid is a merchant's own offer, funded by the merchant, with an accept_url; show the user each one with its personalized_price_notice, and accept only with their approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | What the user is after, e.g. "hotel in Barcelona, 4 nights in December". Sets the category when category is omitted. | |
| category | No | Optional: the brand index category, e.g. "travel". | |
| haggl_id | Yes | The user's haggl ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bids | No | Merchants' offers. Show each with its personalized_price_notice; accept only with the user's approval. | |
| code | No | Present only when the call failed: a machine-readable error code, e.g. quote_uncertain or rate_limited. | |
| note | No | Why there are no bids, when locked. | |
| error | No | Present only when the call failed: what went wrong. | |
| label | No | Category name. | |
| category | No | The shopping category. | |
| recovery | No | When the outcome is uncertain: the tool and session_id to read before retrying. | |
| unlocked | No | Whether the record holds a verified purchase in this category; when false, bids is empty. | |
| retryable | No | Whether the same call may be retried. | |
| how_it_works | No | The flow, step by step. | |
| retry_after_seconds | No | When rate limited: seconds to wait before retrying. |