Update Discount Trigger Groups
post
/config/sim/v1/sales/discounts/updatetriggergroups
Updates the Discount Trigger Group. If Discount Trigger Group is not found, it creates a new Discount Trigger Group
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
Discount Trigger Group object of the organization
Root Schema : schema
Type:
objectModel for Discount Trigger Groups Object
Show Source
-
effGrpObjNum:
integer
ObjectNumber of Effectivity GroupExample:
1 -
hierUnitId(required):
integer
Unique reference of the hierarchy unit of the propertyExample:
1 -
minimumQuantity:
integer
The minimum number of items that must be ordered from the Trigger Menu Item Group before the discount is applied to the check. Applicable only for autoRuleType 1 and 2Example:
1 -
objectNum(required):
integer
Object number of the DiscountExample:
1 -
sequenceNum(required):
integer
Sequence Number of the discount trigger groupExample:
1 -
total:
number
The total amount of Trigger Menu Item Group Items that must ordered to activate the Award Menu Item Group. Applicable only for autoRuleType 3Example:
1.23 -
triggerCondimentGroupObjNum:
integer
Object number of the Condiment Menu Item Group to use as the trigger for the discountExample:
1 -
triggerMIGroupObjNum(required):
integer
Object number of the Menu Item Group to trigger the discount award.Example:
1
Response
Supported Media Types
- application/json
200 Response
Discount trigger group Updated or Added.
Root Schema : DiscountTriggerGrpsResponse
Type:
Show Source
object-
effGrpObjNum:
integer
ObjectNumber of Effectivity GroupExample:
1 -
hierUnitId:
integer
Unique Hierarchy Unit ValueExample:
1 -
objectNum:
integer
Object Number of the Discount.Example:
1 -
sequenceNum:
integer
Sequence Number of the discount trigger groupExample:
1