List products
list_productsRetrieve a brewery's sellable products such as casks, kegs, smallpack, multipacks, stock items, and services with codes, types, prices, and contained drinks; filter by tag, code, type, or name.
Instructions
The brewery's sellable products (casks, kegs, smallpack, multi-packs, stock items, services) with code, type, price and the drink(s) each contains. Obsolete products are left out unless asked for. Uses GET /products/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only products with this tag: the tag's name (assumed; API parameter `tags`, which the spec does not describe) | |
| code | No | Exact product code (API parameter `code`) | |
| page | No | API page to start from (use next_page from a previous call, with the same max_results) | |
| type | No | Product type (API parameter `type`) | |
| ordering | No | Sort order (API parameter `ordering`): a field name, - in front for descending, several separated by commas. The API's default is ascending id. | |
| max_results | No | Most records to return in this call; whole API pages only (up to 200 per page), so fewer may come back with a next_page to continue from | |
| name_contains | No | Part of the product name (API parameter `name__contains`) | |
| include_obsolete | No | Include obsolete products (otherwise `obsolete=false` is sent) |