Update Condiment Sets
post
/config/sim/v1/menuItems/updatecondimentsets
Updates the Condiment Set. If Condiment Set is not found , it creates a new condiment set .
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
Request body
Root Schema : CondimentSetCUDRequestBody
Type:
object
CUD Request Body for Condiment Set Object
Show Source
-
condimentItems:
array condimentItems
An array of menu items that are part of the condiment set
-
hierUnitId(required):
integer
Unique reference of the hierarchy unitExample:
2
-
name(required):
object name
name
-
objectNum(required):
integer
Object Number of the condiment setExample:
1
Nested Schema : condimentItems
Type:
array
An array of menu items that are part of the condiment set
Show Source
Nested Schema : name
Type:
object
name
Example:
{
"en-US":"Coffee",
"de-DE":"Kaffee",
"es-MX":"Cafe"
}
Nested Schema : CondimentSet_condimentItemsCUD
Type:
Show Source
object
-
condimentItemNum:
integer
Sequence number of the condiment itemExample:
1
-
defaultCount:
integer
The number of each condiment that comes with the set. Value must lie between 0 and 99999999.Example:
1
-
miDefSequence:
integer
The Menu Item definition sequence number of each record. This coincides with the Menu Item Definition that appears in the POS client when the condiment is triggered.Example:
0
-
miMstrObjNum:
integer
Object number of the menu item master assigned to the condiment itemExample:
1
-
options:
string
A string value of 0s & 1s of length 8 representing the enablement or disablement of the options associated with the condiment itemExample:
00000000
-
sortOrder:
integer
The order in which the condiments are displayed on checks, receipts, SLUs, and KDS displays. Value must lie between 0 and 32767.Example:
1
Response
Supported Media Types
- application/json
200 Response
Condiment Set Updated or Added.
Root Schema : CondimentSetResponse
Type:
Show Source
object
-
hierUnitId:
integer
Unique reference of the hierarchy unitExample:
2
-
objectNum:
integer
Object Number of the condiment setExample:
1