---
title: "A link that fills the shopper's basket (stock is checked; nothing is bought)"
method: GET
path: "/api/agent/basket"
---

# A link that fills the shopper's basket (stock is checked; nothing is bought)

`GET /api/agent/basket`

## Request

- Base URL: `https://camdentools.com`
- URL: `https://camdentools.com/api/agent/basket`
- Auth: none declared

## Query parameters

- `items` string, required
- `format` string

## Response `200`

Markdown (or JSON) with the basket link

## Other responses

- `400`: Missing items
- `404`: None of the product ids exist

---

[API](https://skmtc.dev/camdentools/apis/camden-tools-agent-api.md) · [All operations](https://skmtc.dev/camdentools/apis/camden-tools-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/camdentools/apis/camden-tools-agent-api/revisions/4daf83e5a9a2?raw)
