Create new PriceChanges for this location.

​

Body·

required

Cancellation token to cancel the operation.

  • Properties: 14

Responses

  • application/json
Request Example for post/v1/price-changes
curl https://apiint.api.parpos.com/settings/v1/price-changes \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'parpos-access-token: YOUR_SECRET_TOKEN' \
  --header 'parpos-location-token: YOUR_SECRET_TOKEN' \
  --data '{
  "PriceChanges": [
    {
      "Days": 7,
      "EndDate": "2026-06-06T06:24:53.9320268+00:00",
      "EndTime": "18:00:00",
      "EnforceDateRanges": true,
      "EnforceDays": true,
      "EnforceTimeRanges": true,
      "IsActive": true,
      "ItemPriceChanges": [
        {
          "ComponentPriceChanges": [
            {
              "ComponentId": 234,
              "ComponentItemPriceChanges": [
                {
                  "ItemId": 345,
                  "Price": 5,
                  "Id": 33
                }
              ],
              "Price": 5,
              "Id": 22
            }
          ],
          "ItemId": 123,
          "Price": 5,
          "Id": 11
        }
      ],
      "ModifierGroupPriceChanges": [
        {
          "ModifierGroupId": 456,
          "ModifierGroupItemPriceChanges": [
            {
              "ModifierGroupItemId": 567,
              "Price": 3.5,
              "Id": -1
            }
          ],
          "Id": -1
        }
      ],
      "PriceChangeDestinations": [
        {
          "DestinationId": 1,
          "Id": 22
        }
      ],
      "StartDate": "2026-05-07T06:24:53.9320867+00:00",
      "StartTime": "09:00:00",
      "Name": "Price change 1",
      "Id": -1
    }
  ],
  "BusinessDate": "2026-05-07T06:24:53.9320235+00:00",
  "IsImmediatePublish": false,
  "ChangesetName": "SavePriceChanges"
}'
Success
{
  "Data": [
    {
      "Id": -1,
      "OriginalId": 676652373
    }
  ]
}