Update Menu Item Prices (v2)
Endpoint: config/sim/v2/menuItems/bulkUpdateMenuItemPrices
Pre-Processing Validation Criteria
-
A non-empty request file is required.
-
You do not have permissions to access this resource.
-
The field ActiveOnMenuLevel must be between 0 and 8.
-
The field PrepCost must be between 0 and 9999999999.
-
The field Price must be between 0 and 9999999999.
-
The field Options must be a string with a minimum length of 8 and a maximum length of 8.
-
Option bit must contain only 0's and 1's.
-
The field externalReference1 must be a string with a maximum length of 32.
-
The field externalReference2 must be a string with a maximum length of 32.
-
Reserved Bit Positions cannot be set as 1; Check Set Bit 0. Bit positions - 0,1,4,5,6,7 are reserved for 'options' and cannot be set.
-
menuItemDefinitionId is a required field
-
priceSequenceNum is a required field
-
menuItemPriceId is a required field
-
Duplicate priceSequenceNum
Sample Request
[
{
"hierUnitId": 8387,
"menuItemDefinitionId": 178228,
"priceSequenceNum": 3,
"activeOnMenuLevel": 1,
"prepCost": 0.0,
"price": 10.0,
"taxClassOverrideObjNum": 11,
"condimentParentTaxClassOverrideObjNum": null,
"serviceChargeGroupObjNum": null,
"options": "00100000",
"effectivityGroupObjNum": null,
"externalReference1": "ext-reference-1",
"externalReference2": "ext-reference-2"
},
{
"hierUnitId": 8387,
"menuItemDefinitionId": 178228,
"priceSequenceNum": 4,
"activeOnMenuLevel": 1,
"prepCost": 0.0,
"price": 10.0,
"taxClassOverrideObjNum": null,
"condimentParentTaxClassOverrideObjNum": 12,
"serviceChargeGroupObjNum": null,
"options": "00100000",
"effectivityGroupObjNum": null,
"externalReference1": "ext-ref-1"
},
{
"hierUnitId": 8387,
"menuItemDefinitionId": 178228,
"priceSequenceNum": 5,
"activeOnMenuLevel": 1,
"prepCost": 0.0,
"price": 10.0,
"taxClassOverrideObjNum": 1,
"condimentParentTaxClassOverrideObjNum": null,
"serviceChargeGroupObjNum": null,
"options": "00100000",
"effectivityGroupObjNum": 13,
"externalReference2": "ext-ref-2"
},
{
"hierUnitId": 8387,
"menuItemDefinitionId": 178228,
"priceSequenceNum": 6,
"activeOnMenuLevel": 1,
"prepCost": 0.0,
"price": 10.0,
"taxClassOverrideObjNum": 1,
"condimentParentTaxClassOverrideObjNum": 2,
"serviceChargeGroupObjNum": 2,
"options": "00100000",
"effectivityGroupObjNum": 2,
"externalReference1": "ext-$-reference-1",
"externalReference2": "ext-$-reference-2"
},
{
"hierUnitId": 8387,
"menuItemDefinitionId": 178228,
"priceSequenceNum": 2,
"activeOnMenuLevel": 1,
"prepCost": 0.0,
"price": 10.0,
"taxClassOverrideObjNum": 1,
"condimentParentTaxClassOverrideObjNum": 2,
"serviceChargeGroupObjNum": 2,
"options": "00100000",
"effectivityGroupObjNum": 2
},
{
"hierUnitId": 8387,
"menuItemDefinitionId": 178228,
"priceSequenceNum": 7,
"activeOnMenuLevel": 1,
"prepCost": 0.0,
"price": 10.0,
"taxClassOverrideObjNum": 1,
"condimentParentTaxClassOverrideObjNum": null,
"serviceChargeGroupObjNum": 13,
"options": "00100000",
"effectivityGroupObjNum": null
},
{
"hierUnitId": 8387,
"menuItemDefinitionId": 178228,
"priceSequenceNum": 1,
"activeOnMenuLevel": 1,
"prepCost": 0.0,
"price": 10.0,
"taxClassOverrideObjNum": 1,
"condimentParentTaxClassOverrideObjNum": null,
"serviceChargeGroupObjNum": 13,
"options": "00100000",
"effectivityGroupObjNum": null
},
{
"hierUnitId": 8387,
"menuItemDefinitionId": 178228,
"priceSequenceNum": 8,
"activeOnMenuLevel": 1,
"prepCost": 0.0,
"price": 10.0,
"taxClassOverrideObjNum": 1,
"condimentParentTaxClassOverrideObjNum": null,
"serviceChargeGroupObjNum": 13,
"options": "00100000",
"effectivityGroupObjNum": null
}
]