Add Discount Trigger Groups
post
/config/sim/v1/sales/discounts/triggergroups
Add the Discount trigger group object to a specified hierarchy unit .
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:
object
Model 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 Menu Item 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
A collection of Discount Trigger Groups.
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 revenue center.Example:
1
-
sequenceNum:
integer
Sequence Number of the discount award groupExample:
1