Add Discount Award Groups
post
/config/sim/v1/sales/discounts/awardgroups
Add the Discount award 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.
DiscountAwardGrps object of the organization
Root Schema : schema
Type:
object
Model for Discount Award Groups Object
Show Source
-
amountOff:
number
The discount amount for flat amount-based discount. Applicable only for awardType - 2Example:
2.55
-
amountSubstitution:
number
The price to charge for each item in the Trigger Menu Item Group. Applicable only for awardType - 3Example:
1.22
-
awardMIGroupObjNum(required):
integer
Object number of the Menu Item Group to trigger the discount award.Example:
1
-
awardType:
integer
Type of the award; 0 - None, 1 - Percent Off, 2 - Amount Off, 3 - Amount SubstitutionExample:
1
-
effGrpObjNum:
integer
Object Number of the effectivity groupExample:
1
-
hierUnitId(required):
integer
Unique reference of the hierarchy unit of the propertyExample:
1
-
maxCount:
integer
When Simple Transaction Exclusivity is set for this discount, enter the maximum number of discounts that can be applied to one check. Applicable only for autoRuleType - 1-4Example:
1
-
objectNum(required):
integer
Object number of the DiscountExample:
1
-
percentOff:
number
The percentage of the percent-based discount. Applicable only for awardType - 1Example:
1.55
-
sequenceNum(required):
integer
Sequence Number of the Menu Item GroupExample:
1
Response
Supported Media Types
- application/json
200 Response
Discount award group Added.
Root Schema : DiscountAwardGrpsResponse
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