Submit a new Order at the location.

​

Body·

required

Cancellation token to cancel the operation

  • Specify the NewOrder to calculate

    Properties: 15
  • (Optional) Specify the Ordering options for this request

    Properties: 1
  • True if you would like the confirmation email suppressed, False if not. Default is False if not specified.

Responses

  • application/json
Request Example for post/v1/orders
curl https://apiint.api.parpos.com/order/v1/orders \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'parpos-access-token: YOUR_SECRET_TOKEN' \
  --header 'parpos-location-token: YOUR_SECRET_TOKEN' \
  --data '{
  "Options": {
    "CalculateItemPrice": true
  },
  "Order": {
    "CustomerId": "3fd81026-d221-4194-81aa-cf9238d0d989",
    "DestinationId": 4,
    "Discounts": [
      {
        "Amount": 10,
        "DiscountId": 6298,
        "Id": 5,
        "Name": "10%",
        "Percent": 2
      }
    ],
    "ExternalLoyaltyAccount": "213232323",
    "FutureOrder": {
      "Delivery": {
        "Address1": "VilleParla",
        "Address2": "KingStreet",
        "City": "Queensland",
        "Country": "USA",
        "PostalCode": "12345",
        "StateCode": "NY"
      },
      "EmailAddress": "youremail@yourdomain",
      "ManualSend": false,
      "PhoneNumber": "123457831",
      "PickupTime": "2026-05-08T06:53:51.9812169+00:00",
      "SendReminderEmail": false
    },
    "IsTaxExempt": true,
    "Items": [
      {
        "ComboItems": [
          {
            "ComponentId": 5007,
            "DestinationId": 4,
            "Seat": 0,
            "Description": "Sandwich",
            "Id": 2,
            "ItemId": 4007,
            "MenuItemId": 0,
            "Price": 0,
            "Quantity": 0
          },
          {
            "ComponentId": 5008,
            "DestinationId": 4,
            "Seat": 0,
            "Description": "Fries",
            "Id": 3,
            "ItemId": 4008,
            "MenuItemId": 0,
            "Price": 0,
            "Quantity": 0
          }
        ],
        "DestinationId": 4,
        "Seat": 0,
        "Description": "Combo Sandwich1",
        "Id": 1,
        "ItemId": 4006,
        "MenuItemId": 0,
        "Price": 0,
        "Quantity": 12
      },
      {
        "DestinationId": 4,
        "Note": "Keep it spicy",
        "Seat": 0,
        "Description": "Fries",
        "Id": 13,
        "ItemId": 3008,
        "MenuItemId": 0,
        "Price": 4,
        "Quantity": 0
      }
    ],
    "LaneId": 11,
    "Name": "FirstOrder",
    "Payments": [
      {
        "type": "NewCreditCardPayment",
        "AccountNumber": "9999999",
        "Cvv": "999",
        "ExpirationDate": "1124",
        "NameOnCard": "John Cena",
        "StreetAddress": "KingStreet",
        "City": "Queensland",
        "Country": "USA",
        "State": "NY",
        "PostalCode": "12345",
        "Amount": 4,
        "Id": 110,
        "TenderId": 9,
        "TipAmount": 1
      }
    ],
    "Promotions": [
      {
        "Amount": 5,
        "Id": 17,
        "Name": "BOGO",
        "PromotionId": 17001
      }
    ],
    "SectionId": 1232,
    "Surcharges": [
      {
        "Amount": 1,
        "Id": 18,
        "Name": "Surcharge",
        "SurchargeId": 19001
      }
    ],
    "AdditionalData": {
      "key1": "value1"
    },
    "Taxes": [
      {
        "Amount": 1,
        "Id": 19,
        "TaxId": 20001
      }
    ]
  },
  "SuppressConfirmationEmail": false
}'
Success
{
  "Data": {
    "LegacyId": 43343233234,
    "Id": "db0d4ad3-6fa1-4c99-bea1-d3480c7e72a6"
  }
}