Products API π‘ BETA
The products family holds the routes mounted for catalogue items, stock and prices.
Endpoints
Exact lines from the Generated api-products reference; the generated page is the full table.
| Method | Path |
|---|---|
| GET | /api/products/categories |
| POST | /api/products/categories |
| POST | /api/products/inventory/adjust |
| POST | /api/products/inventory/build |
| POST | /api/products/inventory/quote/:param |
| DELETE | /api/products/items |
| GET | /api/products/items |
| POST | /api/products/items |
Example
Minimal HTTP exchange for the first verified route (schemas are not modeled in the generated reference).
GET /api/products/categories HTTP/1.1
Host: localhost:8080
Authorization: Bearer <token>
HTTP/1.1 200 OK
What it does
| Capability | Verified endpoint | Registered in |
|---|---|---|
| Products categories | GET /api/products/categories |
botserver/crates/botproducts/src/list_price_lists.rs |
| Products categories | POST /api/products/categories |
botserver/crates/botproducts/src/list_price_lists.rs |
| Inventory adjust | POST /api/products/inventory/adjust |
botserver/crates/botproducts/src/routes.rs |
| Inventory build | POST /api/products/inventory/build |
botserver/crates/botproducts/src/routes.rs |
| Inventory quote | POST /api/products/inventory/quote/:param |
botserver/crates/botproducts/src/routes.rs |
| Products items | DELETE /api/products/items |
botserver/crates/botproducts/src/list_price_lists.rs |
| Products items | GET /api/products/items |
botserver/crates/botproducts/src/list_price_lists.rs |
| Products items | POST /api/products/items |
botserver/crates/botproducts/src/list_price_lists.rs |
Limits
- The Generated api-products reference is authoritative: no endpoint outside its table is inferred here.
- Routes require an authenticated session unless listed in the anonymous allowlist in
botsecurity-auth/src/auth_api/public_routes.rs. - The generated table does not model request or response fields; consult the mounted handler for them.
Related
- Generated api-products reference - Full verified route table.
- Tasks API
- Reports API
- Files API