POS API Reference
HomeSimpra POSSimpra InventoryCheck&Place
HomeSimpra POSSimpra InventoryCheck&Place
  1. Condiments
  • Introduction
  • Overview
  • External API Action Scenarios
  • Checks
    • Get Checks
    • Add Discount to Check
    • Get Check
    • Add Payment to Check
    • Add Portal Plus Invoice Id to Check
    • Add Service Charge to Check
    • Add Service Message To Check
    • Cancel Check Item
    • Change Delivery Status
    • Create Check Item
    • Create Check
    • Remove Check Discount
    • Remove Check Service Charge
    • Unlock Check
    • Get Check Activities
    • Add Note to Check
  • Menu Items
    • Get Menu Items
    • Get Menu Item
    • Create Menu Items
    • Update Menu Items
    • Upsert Menu Items
    • Remove Menu Item Report Tags
  • Menu Item Definitions
    • Get Menu Item Definitions
  • Menu Item Groups
    • Get Menu Item Groups
  • Item Definitions
    • Get Item Definitions
    • Update Item Definitions
  • Condiments
    • Get Condiments
      GET
    • Create Condiments
      POST
    • Update Condiments
      PATCH
    • Upsert Condiments
      POST
  • Condiment Groups
    • Get Condiment Groups
  • ComboMenus
    • Get ComboMenus
  • Custom Menu Items
    • Get Custom Menu Items
  • Customers
    • Get Customers
    • Add Customer
    • Update Customer
  • CustomerDiscounts
    • Get CustomerDiscounts
  • Employees
    • Get Employees
  • Properties
    • Get Properties
  • Accounting API
    • Get Enterprise
    • Get Property
    • Get Enterprises
    • Get Payment
    • Get Payments
    • Get Future Payments
    • Get Dealers
  • Cash Trackings
    • Get Cash Trackings
  • Currencies
    • Get Currencies
  • Current Accounts
    • Get Current Accounts
  • Daily Totals
    • Get Daily Totals
  • Devices
    • Get Devices
  • Discounts
    • Get Discounts
  • Imports
    • Get Imports
  • Opera Checks
    • Index
    • Mark As Sent Opera Pms Check
  • Payment Types
    • Get Payment Types
  • Price Lists
    • Get Price Lists
    • Get Price List
    • Create Price List
    • Create Price List with Sku
    • Update Price List
    • Delete Price List
    • Update Price List Items
    • Delete Price List Items
    • Update Price List Items with Sku
    • Delete Price List Items with Sku
  • Reason Payments
    • Get Reason Payments
  • Reasons
    • Get Reasons
  • Report Tags
    • Get Report Tags
    • Add Report Tag
    • Update Report Tag
  • Revenue Centers
    • Get Revenue Centers
  • Sales Channels
    • Get Sales Channels
  • Scheduled Jobs
    • Get Scheduled Job
    • Create Scheduled Job
    • Create Scheduled Job with Sku
    • Update Scheduled Job
    • Update Scheduled Job with Sku
  • Section Things
    • Get Section Things
  • Sections
    • Get Sections
  • Service Charges
    • Get Service Charges
  • Shifts
    • Get Shifts
    • Get Shift
  • Tables
    • Get Tables
  • Tags
    • Get Tags
  • Taxes
    • Get Taxes
  • Z Reports
    • Get Z Reports
  • Schemas
    • Schemas
      • PaginationMeta
      • Translation
      • Metafield
      • Error
      • Check
      • Customer
      • CustomerSummary
      • CustomerAccountDetail
      • MenuItem
      • Employee
      • Property
      • Enterprise
      • RevenueCenter
      • Table
      • SalesChannel
      • Delivery
      • CheckServiceCharge
      • CheckSummary
      • CheckDiscount
      • CheckPayment
      • CheckItem
      • CheckItemSummary
      • CheckOffer
      • Tax
      • Item
      • Device
      • Tag
      • ItemDefinition
      • CondimentGroup
      • DailyTotals
      • CreateCheckRequest
      • CreateCheckItemRequest
      • AddCheckPaymentRequest
      • AddCheckDiscountRequest
      • CreateCustomerRequest
      • CustomerAddressRequest
      • CustomerInvoiceRequest
      • UpdateCustomerRequest
      • CreateMenuItemRequest
      • UpdateMenuItemRequest
  1. Condiments

Upsert Condiments

Developing
Production
https://api.simpra.app
Production
https://api.simpra.app
POST
https://api.simpra.app
/apps/api/v1/condiments/upsert
Last modified:2026-09-29 11:49:01
Scope: Enterprise
Need enterprise token
Condiments are matched by sku: an existing condiment is updated, otherwise a new one is created. Condiments that are not in items are not changed.
The request is queued and processed within 15 minutes. The response does not mean the condiments are saved; follow the result with Get Imports (GET /imports/:id) using import_id.
Only the sent fields of an item are changed. A new condiment without price is created without item definitions, so it is not on sale.
Body Parameters
FieldDefaultRequiredDescription
target_idsenterprise, all properties and revenue centersvalid resource ids: enterprise, property or revenue center
itemsREQUIRED
items[].skuREQUIREDUnique within the request and across menu items and condiments
items[].condiment_group_idREQUIREDAn active condiment group of the enterprise
items[].nameREQUIRED for a new sku
items[].price
items[].active
items[].printabletrue
items[].tax_idnull removes the tax
items[].price_list_idnull removes the price list
items[].report_tag_idsWhen sent, replaces the report tags of the condiment
items[].translations[]
items[].extra_fields[]REQUIREDShared with menu items. The requirement varies depending on the system configuration
Errors (HTTP 422, returned before the request is queued)
MessageReason
items requireditems is missing or empty
sku requiredAn item has no sku
condiment_group_id requiredAn item has no condiment_group_id
Duplicated sku: <skus>The same sku is sent more than once
Invalid condiment_group_idNot an active condiment group of the enterprise
Invalid tax_idNot an active tax of the enterprise
Invalid price_list_idNot a price list of the enterprise
Invalid report_tag_idsAt least one id is not a report tag of the enterprise
Invalid extra field keysAn extra field has no key or no value
Invalid extra field valuesAn extra field has an empty key or value
Invalid extra fields: <names>No extra field with these names is defined for the enterprise
Condiment API is not enabledThe endpoint is not enabled for this environment
Errors that occur while the import is processed (for example a sku that is already used by a menu item) are not returned here; the import is marked failed with the error message.

Request

Authorization
Add parameter in header
Simpra-Access-Token
Example:
Simpra-Access-Token: ********************
Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
OK
Bodyapplication/json

🟠422Duplicated sku
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.simpra.app/apps/api/v1/condiments/upsert' \
--header 'Simpra-Access-Token: <api-key>' \
--header 'Content-Type: application\json' \
--data '{
    "target_ids": [
        "3f8a1d26-9b47-4e53-8c10-5d29a6f73b81"
    ],
    "items": [
        {
            "sku": "CND-001",
            "name": "Ekstra Peynir",
            "condiment_group_id": "6f3b2c10-8d4e-4a19-9f21-0b7c5e3a1d44",
            "price": 25,
            "active": true,
            "printable": true,
            "tax_id": "b1e7a904-3c62-4f88-8d15-7a92c4e60b33",
            "price_list_id": "0d5f1a77-2b83-4c90-a6e4-9f31d8b02c56",
            "report_tag_ids": [
                "e4c8b210-59a3-4d77-b8f1-2c60a9e34d85"
            ],
            "translations": [
                {
                    "locale": "tr",
                    "text": "Ekstra Peynir"
                },
                {
                    "locale": "en",
                    "text": "Extra Cheese"
                }
            ],
            "extra_fields": [
                {
                    "key": "ErpKodu",
                    "value": "10045"
                }
            ]
        },
        {
            "sku": "CND-002",
            "name": "Acı Sos",
            "condiment_group_id": "6f3b2c10-8d4e-4a19-9f21-0b7c5e3a1d44",
            "price": 0,
            "active": true,
            "printable": false
        },
        {
            "sku": "CND-003",
            "name": "Ekstra Sos",
            "condiment_group_id": "6f3b2c10-8d4e-4a19-9f21-0b7c5e3a1d44",
            "active": false
        }
    ]
}'
Response Response Example
200 - Success Example
{
    "success": true,
    "import_id": "f28c6b40-1e95-4a73-b0d6-8c47e29f51a3"
}
Modified at 2026-09-29 11:49:01
Previous
Update Condiments
Next
Get Condiment Groups
Built with