Enterprisenull price, active or tax_id is ignored; a null price_list_id removes the price list.active, price, tax_id and price_list_id are applied to the item definitions of property_ids and their revenue centers. Send "active": false to stop selling the condiment, "active": true to sell it again.| Field | Default | Required | Description |
|---|---|---|---|
| name | |||
| sku | Must be unique across menu items and condiments | ||
| condiment_group_id | An active condiment group of the enterprise | ||
| price | |||
| active | |||
| printable | |||
| tax_id | |||
| price_list_id | |||
| translations | |||
| property_ids | all properties | ||
| report_tag_ids | [] | Added to the current report tags; must not be attached yet | |
| extra_fields | [] |
422)Duplicated report tags. Report tag ids should be unique is returned when a sent report tag is already attached. The validation errors of Create Condiments apply as well, except condiment_group_id required, Name can't be blank and Price can't be blank.{
"active": false,
"property_ids": ["a7d3f612-4e85-4b20-9c71-6f08b2d54e19"]
}curl --location --request PATCH 'https://api.simpra.app/apps/api/v1/condiments/9c2e5b81-7a34-4f06-b9d2-3e81c7a40f92' \
--header 'Accept-Language: en' \
--header 'Simpra-Access-Token: <api-key>' \
--header 'Content-Type: application\json' \
--data '{
"name": "Ekstra Peynir (Büyük)",
"price": 30,
"translations": [
{
"locale": "en",
"text": "Extra Cheese (Large)"
}
]
}'{
"condiment": {
"id": "9c2e5b81-7a34-4f06-b9d2-3e81c7a40f92"
}
}