Logo PopinaPopina API

Get an order V2

Get an order based on the id provided.

GET/v2/orders/{id}
authorization<token>

To get an API key, please contact us. We'll be happy to help you.

In: header

Path Parameters

idstring

Order id path parameter

Formatuuid

Query Parameters

locationId?string

Location id query parameter

Formatuuid

Response Body

application/json

curl -X GET "https://api.pragma-project.dev/v2/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "tillId": "19818646-df1d-4c99-b178-4fe04bb8d522",
  "roomId": "c3631f02-ff67-42b8-8775-18c47f52a678",
  "revisionHash": "2942a7c8-bcb1-484c-832a-7c5ee7186169",
  "deviceIdentifier": "string",
  "openedAt": {},
  "modifiedAt": {},
  "closedAt": {},
  "paidAt": {},
  "canceledAt": {},
  "transferredAt": {},
  "firstBillPrintDate": {},
  "postPaymentPrintDate": {},
  "total": -9007199254740991,
  "totalTax": -9007199254740991,
  "totalDiscount": -9007199254740991,
  "totalWithoutTax": -9007199254740991,
  "leftToPay": -9007199254740991,
  "guestsCount": 0,
  "billPrintCount": 0,
  "proofsOfPaymentCount": 0,
  "postPaymentPrintCount": 0,
  "roomType": "room",
  "roomPricing": "custom",
  "roomName": "string",
  "tableId": "073fbfcb-cd05-4203-be18-a1ce6f8e4d2d",
  "tableName": "string",
  "tablePosX": -9007199254740991,
  "tablePosY": -9007199254740991,
  "tableShape": "string",
  "beeperNumber": -9007199254740991,
  "deviceName": "string",
  "comment": "string",
  "preparationActivated": true,
  "isMerged": true,
  "manuallyClosed": true,
  "isPaid": true,
  "isCanceled": true,
  "canceledReason": "string",
  "fiscalNumber": -9007199254740991,
  "signature": "string",
  "operatorId": "373c4133-3dda-4217-938b-a5730b9cc41a",
  "operatorName": "string",
  "firebaseCustomerName": "string",
  "firebaseCustomerRefKey": "string",
  "firebaseReservationRefKey": "string",
  "bookingId": null,
  "customerId": null,
  "isPrepaid": true,
  "isTransferred": true,
  "transferredTo": "string",
  "externalServiceId": "string",
  "extOctorateReservationId": -9007199254740991,
  "extQoodosCheckInId": "1b12bc29-552f-4d46-9828-266b1455d502",
  "extQoodosUserId": "e4c75c72-b2c4-494e-9a8f-3c0b17a1ffc3",
  "extQoodosUserName": "string",
  "pickupHour": "string",
  "groupedTableInfo": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "catalogTableId": "ddfbdf7a-09d4-4844-814d-259974e39011"
    }
  ],
  "customerInfo": "string",
  "deliveryCustomerInfo": "string",
  "deliveryAddress": "string",
  "deliveryComment": "string",
  "channel": "unknown",
  "serviceType": "takeout",
  "isTraining": false,
  "source": "unknown",
  "externalOrderId": "string",
  "externalLocationId": "string",
  "paymentRowList": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "recordedAt": {},
      "modifiedAt": {},
      "amount": -9007199254740991,
      "changeAmount": -9007199254740991,
      "changePaymentName": "string",
      "changePaymentMode": "string",
      "lastProofOfPaymentAmount": -9007199254740991,
      "totalProofOfPaymentAmount": -9007199254740991,
      "status": "validated",
      "name": "string",
      "paymentType": "payment",
      "paymentMode": "cash",
      "paymentId": "472e651e-5a1e-424d-8098-23858bf03ad7",
      "movementId": "6d70aa0f-b438-487d-b073-0eb66eb6ab63",
      "changePaymentId": "string",
      "tipAmount": -9007199254740991,
      "externalServiceId": "string",
      "firebaseCustomerRefKey": "string",
      "currencyCode": "string",
      "operatorId": "string",
      "operatorName": "string",
      "paymentProtocol": "manual"
    }
  ],
  "productRowList": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "parentProductRowId": "string",
      "comboParentId": null,
      "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113",
      "categoryId": "337f5e5d-288b-40d5-be14-901cc3acacc0",
      "taxId": "ec2f3321-4009-45bd-9423-63aa80044823",
      "priceId": "b245ceea-4bc7-4619-ae4c-559a1faf418e",
      "operatorId": "373c4133-3dda-4217-938b-a5730b9cc41a",
      "pricingId": "95485fa7-dfd0-412f-94ab-8c5aefc2bf79",
      "deviceIdentifier": "string",
      "recordedAt": {},
      "modifiedAt": {},
      "reclaimedAt": {},
      "transmittedAt": {},
      "orderedAt": {},
      "taxName": "string",
      "taxRate": -9007199254740991,
      "taxAmount": -9007199254740991,
      "taxableAmount": -9007199254740991,
      "subCategoryId": "982c876c-aa7c-4e4f-ae18-aeb8518f3413",
      "subCategoryName": "string",
      "categoryName": "string",
      "categoryCatalogColor": "colorGreen",
      "unitPriceRow": -9007199254740991,
      "unitPriceRowWithModifier": -9007199254740991,
      "totalRowWithModifier": -9007199254740991,
      "totalDiscount": -9007199254740991,
      "totalRow": -9007199254740991,
      "quantity": -9007199254740991,
      "weight": 0,
      "pricingName": "string",
      "pricingType": "custom",
      "deviceName": "string",
      "operatorName": "string",
      "name": "string",
      "canceledReason": "string",
      "isTransferred": true,
      "transferredTo": "string",
      "comment": "string",
      "isMerged": true,
      "isCustomPrice": true,
      "validated": true,
      "isCanceled": true,
      "currencyCode": "string",
      "menuStepName": "string",
      "menuStepIndex": -9007199254740991,
      "indexInPrepSequence": -9007199254740991,
      "preparationSequence": -9007199254740991,
      "sku": "string",
      "isLoss": true,
      "lossReason": "string",
      "menuRowId": "a8e8e128-07b6-4180-96a6-a6e0b6d774b5",
      "modifierRowList": [
        {
          "recordedAt": {},
          "modifiedAt": {},
          "amount": -9007199254740991,
          "name": "string",
          "modifierIndex": -9007199254740991,
          "modifierGroupName": "string",
          "modifierGroupIndex": -9007199254740991,
          "modifierId": "string",
          "modifierGroupId": "2894e026-80d4-4a6a-8281-e3c706256766"
        }
      ],
      "discountRowList": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "recordedAt": {},
          "modifiedAt": {},
          "amount": -9007199254740991,
          "status": "validated",
          "splitAllowed": true,
          "name": "string",
          "discountId": "string",
          "discountGroupId": "40a5b925-67b0-4b11-87cf-5fa4fa62e21b",
          "couponCode": null,
          "rewardId": null,
          "extQoodosCheckInId": "string"
        }
      ]
    }
  ],
  "menuRowList": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "recordedAt": {},
      "modifiedAt": {},
      "unitPriceRow": -9007199254740991,
      "currencyCode": "string",
      "amountToAdd": -9007199254740991,
      "amountToSubtract": -9007199254740991,
      "pricingId": "95485fa7-dfd0-412f-94ab-8c5aefc2bf79",
      "menuId": "23cd2b3a-61d0-42e8-956a-ddbb0a604d97",
      "pricingName": "string",
      "pricingType": "custom",
      "name": "string",
      "parentMenuRowId": "ba323538-6fa7-487b-917c-bffbe891b4f1",
      "totalRow": -9007199254740991,
      "productRowList": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "parentProductRowId": "string",
          "comboParentId": null,
          "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113",
          "categoryId": "337f5e5d-288b-40d5-be14-901cc3acacc0",
          "taxId": "ec2f3321-4009-45bd-9423-63aa80044823",
          "priceId": "b245ceea-4bc7-4619-ae4c-559a1faf418e",
          "operatorId": "373c4133-3dda-4217-938b-a5730b9cc41a",
          "pricingId": "95485fa7-dfd0-412f-94ab-8c5aefc2bf79",
          "deviceIdentifier": "string",
          "recordedAt": {},
          "modifiedAt": {},
          "reclaimedAt": {},
          "transmittedAt": {},
          "orderedAt": {},
          "taxName": "string",
          "taxRate": -9007199254740991,
          "taxAmount": -9007199254740991,
          "taxableAmount": -9007199254740991,
          "subCategoryId": "982c876c-aa7c-4e4f-ae18-aeb8518f3413",
          "subCategoryName": "string",
          "categoryName": "string",
          "categoryCatalogColor": "colorGreen",
          "unitPriceRow": -9007199254740991,
          "unitPriceRowWithModifier": -9007199254740991,
          "totalRowWithModifier": -9007199254740991,
          "totalDiscount": -9007199254740991,
          "totalRow": -9007199254740991,
          "quantity": -9007199254740991,
          "weight": 0,
          "pricingName": "string",
          "pricingType": "custom",
          "deviceName": "string",
          "operatorName": "string",
          "name": "string",
          "canceledReason": "string",
          "isTransferred": true,
          "transferredTo": "string",
          "comment": "string",
          "isMerged": true,
          "isCustomPrice": true,
          "validated": true,
          "isCanceled": true,
          "currencyCode": "string",
          "menuStepName": "string",
          "menuStepIndex": -9007199254740991,
          "indexInPrepSequence": -9007199254740991,
          "preparationSequence": -9007199254740991,
          "sku": "string",
          "isLoss": true,
          "lossReason": "string",
          "menuRowId": "a8e8e128-07b6-4180-96a6-a6e0b6d774b5",
          "modifierRowList": [
            {
              "recordedAt": {},
              "modifiedAt": {},
              "amount": -9007199254740991,
              "name": "string",
              "modifierIndex": -9007199254740991,
              "modifierGroupName": "string",
              "modifierGroupIndex": -9007199254740991,
              "modifierId": "string",
              "modifierGroupId": "2894e026-80d4-4a6a-8281-e3c706256766"
            }
          ],
          "discountRowList": [
            {
              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
              "recordedAt": {},
              "modifiedAt": {},
              "amount": -9007199254740991,
              "status": "validated",
              "splitAllowed": true,
              "name": "string",
              "discountId": "string",
              "discountGroupId": "40a5b925-67b0-4b11-87cf-5fa4fa62e21b",
              "couponCode": null,
              "rewardId": null,
              "extQoodosCheckInId": "string"
            }
          ]
        }
      ]
    }
  ]
}