Create a catalog item
Adds an item to a venue's catalog. vat (or its alias vat_rate) omitted takes the standard rate of the venue's country (400 when the venue has none). pricing_mode omitted: per_person when unit_price_per_person > 0, else flat. A plain item needs unit_price.
Package: send is_package: true and components, items of the same venue (plain items, each once). Do not send unit_price, unit_price_per_person or vat: the price is the sum of quantity × unit_price of the components, written to unit_price (or to unit_price_per_person when pricing_mode is per_person), and vat the lowest rate of its items. min_price must not exceed that price. A component without a tax rate takes the standard rate of the venue's country. The response is the package with its derived price and its components. Role permission: quotes.manage (and a venue the member can see).
Request
- Base URL: https://joinways.app/api/v1
- URL: https://joinways.app/api/v1/catalog-items
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://joinways.app/oauth/authorize, token URL https://joinways.app/api/oauth/token, scopes: mcp.write)
Headers
Optional client-generated key (1 to 255 characters, e.g. a UUID v4) that makes the request idempotent for 24 hours: a retry with the same key replays the recorded response (marked Idempotency-Replayed: true) instead of executing the operation again. Same key with another body: 422 idempotency_key_reuse; while the first request runs: 409 idempotency_conflict. See the Idempotency section.
Request body
Example request
{
"components": [
{
"quantity": 1,
"unit_price": 25
}
]
}Response
The created item.
Example response
{
"name": "Plated dinner, 3 courses",
"category": "Catering",
"type": "Catering",
"unit_label": "per person",
"unit_price": 95,
"vat": 20,
"vat_rate": 20,
"components": [
{
"name": "Meeting room",
"quantity": 1,
"unit_price": 25,
"vat": 20
}
],
"applied_price_rule": {
"label": "High season"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.