Get list of orders-live
Get a list of orders-live associated with your API key's location, based on provided filters and pagination parameters. Orders are sorted by creation date. The orders-live created on a device in training mode are not included in the response.
GET
/v1/orders-live/authorization<token>
To get an API key, please contact us. We'll be happy to help you.
In: header
Query Parameters
index?integer
Index of the page query parameter
Default
0Range
0 <= valuesize?integer
Number of record on a page query parameter (capped to 100)
Default
10Range
1 <= value <= 100isPaid?boolean
Payment Status of the Order
isTransferred?boolean
Transfer Status of the Order
isCanceled?boolean
Cancellation Status of the Order
tillId?string
Till Unique Identifier associated with the Order
Format
uuidlocationId?string
Location id query parameter
Format
uuidResponse Body
application/json
curl -X GET "https://api-staging.pragma-project.dev/v1/orders-live/"{
"data": [
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"createdAt": "2023-08-16T09:00:00.000Z",
"updatedAt": "2023-08-18T09:00:00.000Z",
"customerId": null,
"locationId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"establishmentName": "Example Establishment",
"address1": "Example Address 1",
"address2": "Example Address 2",
"customHeader": "Example Custom Header",
"siretCode": "1234567890",
"phoneNumber": "1234567890",
"zipCode": "12345",
"city": "Example City",
"country": "Example Country",
"website": "https://example.com",
"nafCode": "1234567890",
"tvaCode": "1234567890",
"customFooter": "Example Custom Footer",
"companyName": "Example Company Name",
"roomName": "room name",
"tableName": "10-1",
"tillId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"revisionHash": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"total": 5500,
"totalTax": 500,
"totalWithoutTax": 5000,
"totalDiscount": 500,
"leftToPay": 200,
"channel": "unknown",
"serviceType": "delivery",
"source": "unknown",
"data": {
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"openedAt": "2023-08-16T09:00:00.000Z",
"modifiedAt": "2023-08-16T10:00:00.000Z",
"paidAt": "2023-08-16T09:00:00.000Z",
"canceledAt": "2023-08-16T09:00:00.000Z",
"transferredAt": "2023-08-16T09:00:00.000Z",
"tillId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"revisionHash": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"deviceIdentifier": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"deviceName": "Ipad",
"beeperNumber": 12,
"comment": "I want some burger",
"guestsCount": 2,
"preparationActivated": true,
"isMerged": false,
"manuallyClosed": false,
"isPaid": true,
"isCanceled": false,
"canceledReason": "",
"isTransferred": false,
"transferredTo": "none",
"fiscalNumber": 1234567890,
"signature": "NF565-i'm a signature",
"billPrintCount": 1,
"postPaymentPrintCount": 1,
"proofsOfPaymentCount": 1,
"firstBillPrintDate": "2023-08-16T09:00:00.000Z",
"postPaymentPrintDate": "2023-08-16T09:00:00.000Z",
"roomId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"roomName": "room name",
"roomType": "room",
"roomPricing": "normal",
"tableId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"tableName": "10-1",
"tablePosX": 5,
"tablePosY": 3,
"tableShape": "square",
"operatorId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"operatorName": "Batman",
"firebaseCustomerName": "Joker",
"firebaseCustomerRefKey": "super long path from firebase",
"firebaseReservationRefKey": "another super long path from firebase",
"bookingId": null,
"customerId": null,
"externalServiceId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"isPrepaid": false,
"extOctorateReservationId": 22,
"extQoodosCheckInId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"extQoodosUserId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"extQoodosUserName": "John Doe",
"pickupHour": "today at 12:00",
"closedAt": "2023-08-16T09:00:00.000Z",
"total": 5000,
"totalTax": 1000,
"totalDiscount": 500,
"totalWithoutTax": 4000,
"leftToPay": 200,
"customerInfo": "Joe Doe\n3 rue Albert\n33300 Bordeaux",
"deliveryCustomerInfo": "Joe Doe\n0650113476",
"deliveryAddress": "8 place des Grands Hommes\n33000 Bordeaux",
"deliveryComment": "At the back of the courtyard on the right",
"channel": "unknown",
"serviceType": "delivery",
"isTraining": false,
"source": "unknown",
"externalOrderId": "d290f1ee-6c54-4b01-90e6-d701748f0866",
"externalLocationId": "d290f1ee-6c54-4b01-90e6-d701748f1000",
"groupedTableInfo": [
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"catalogTableId": "d290f1ee-6c54-4b01-90e6-d701748f0851"
}
],
"productRowList": [
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"recordedAt": "2023-08-16T09:00:00.000Z",
"modifiedAt": "2023-08-16T10:00:00.000Z",
"transferredTo": null,
"isTransferred": false,
"deviceIdentifier": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"deviceName": "Ipad",
"isMerged": false,
"isCustomPrice": true,
"validated": true,
"weight": 500,
"isCanceled": false,
"canceledReason": "",
"taxId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"taxName": "Example Tax",
"taxRate": 10,
"priceId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"unitPriceRow": 1000,
"unitPriceRowWithModifier": 1100,
"currencyCode": "EUR",
"pricingName": "Standard Pricing",
"pricingType": "normal",
"pricingId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"name": "Example Product",
"subCategoryId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"subCategoryName": "Example Subcategory",
"categoryName": "Example Category",
"productId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"categoryId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"menuStepIndex": 2,
"menuStepName": "main course",
"parentProductRowId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"comboParentId": null,
"indexInPrepSequence": 2,
"categoryCatalogColor": "colorBrown",
"comment": "some comment",
"operatorId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"operatorName": "John Doe",
"quantity": 1,
"transmittedAt": "2023-08-16T09:00:00.000Z",
"reclaimedAt": "2023-08-16T09:00:00.000Z",
"preparationSequence": 3,
"orderedAt": "2023-08-16T09:00:00.000Z",
"taxAmount": 500,
"taxableAmount": 500,
"totalRowWithModifier": 2000,
"totalDiscount": 200,
"totalRow": 1800,
"sku": "example-product-sku",
"isLoss": false,
"lossReason": null,
"discountRowList": [
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"recordedAt": "2023-08-16T09:00:00.000Z",
"modifiedAt": "2023-08-16T10:00:00.000Z",
"amount": 50,
"discountId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"discountGroupId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"couponCode": null,
"rewardId": null,
"name": "Example Discount",
"splitAllowed": true,
"status": "validated"
}
],
"modifierRowList": [
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"recordedAt": "2023-08-16T09:00:00.000Z",
"modifiedAt": "2023-08-16T10:00:00.000Z",
"name": "Example Modifier",
"modifierId": "d290f1ee-6c54-4b01-90e6-d701748f0666",
"modifierGroupIndex": 1,
"modifierGroupId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"modifierIndex": 2,
"amount": 10,
"modifierGroupName": "Example Modifier Group"
}
]
}
],
"menuRowList": [
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"recordedAt": "2023-08-16T09:00:00.000Z",
"modifiedAt": "2023-08-16T10:00:00.000Z",
"unitPriceRow": 1000,
"currencyCode": "EUR",
"pricingId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"amountToAdd": 10,
"amountToSubtract": 5,
"menuId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"pricingName": "Standard Pricing",
"pricingType": "normal",
"name": "Example Menu",
"parentMenuRowId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"productRowList": [
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"recordedAt": "2023-08-16T09:00:00.000Z",
"modifiedAt": "2023-08-16T10:00:00.000Z",
"transferredTo": null,
"isTransferred": false,
"deviceIdentifier": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"deviceName": "Ipad",
"isMerged": false,
"isCustomPrice": true,
"validated": true,
"weight": 500,
"isCanceled": false,
"canceledReason": "",
"taxId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"taxName": "Example Tax",
"taxRate": 10,
"priceId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"unitPriceRow": 1000,
"unitPriceRowWithModifier": 1100,
"currencyCode": "EUR",
"pricingName": "Standard Pricing",
"pricingType": "normal",
"pricingId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"name": "Example Product",
"subCategoryId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"subCategoryName": "Example Subcategory",
"categoryName": "Example Category",
"productId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"categoryId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"menuStepIndex": 2,
"menuStepName": "main course",
"parentProductRowId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"comboParentId": null,
"indexInPrepSequence": 2,
"categoryCatalogColor": "colorBrown",
"comment": "some comment",
"operatorId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"operatorName": "John Doe",
"quantity": 1,
"transmittedAt": "2023-08-16T09:00:00.000Z",
"reclaimedAt": "2023-08-16T09:00:00.000Z",
"preparationSequence": 3,
"orderedAt": "2023-08-16T09:00:00.000Z",
"taxAmount": 500,
"taxableAmount": 500,
"totalRowWithModifier": 2000,
"totalDiscount": 200,
"totalRow": 1800,
"sku": "example-product-sku",
"isLoss": false,
"lossReason": null,
"discountRowList": [
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"recordedAt": "2023-08-16T09:00:00.000Z",
"modifiedAt": "2023-08-16T10:00:00.000Z",
"amount": 50,
"discountId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"discountGroupId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"couponCode": null,
"rewardId": null,
"name": "Example Discount",
"splitAllowed": true,
"status": "validated"
}
],
"modifierRowList": [
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"recordedAt": "2023-08-16T09:00:00.000Z",
"modifiedAt": "2023-08-16T10:00:00.000Z",
"name": "Example Modifier",
"modifierId": "d290f1ee-6c54-4b01-90e6-d701748f0666",
"modifierGroupIndex": 1,
"modifierGroupId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"modifierIndex": 2,
"amount": 10,
"modifierGroupName": "Example Modifier Group"
}
]
}
],
"totalRow": 1005
}
],
"paymentRowList": [
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"recordedAt": "2023-08-16T09:00:00.000Z",
"modifiedAt": "2023-08-16T10:00:00.000Z",
"amount": 100,
"changeAmount": 20,
"changePaymentName": "Example Payment",
"changePaymentMode": "card",
"changePaymentId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"firebaseCustomerRefKey": "some firebase path",
"currencyCode": "USD",
"externalServiceId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"name": "Example Payment",
"paymentId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"paymentMode": "card",
"paymentType": "payment",
"operatorId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"operatorName": "John Doe",
"status": "validated",
"sellerCardReceipt": "some receipt",
"buyerCardReceipt": "some receipt",
"tipAmount": 10,
"lastProofOfPaymentAmount": 90,
"totalProofOfPaymentAmount": 110,
"paymentProtocol": "payxpert"
}
]
}
}
],
"meta": {
"totalPage": 1,
"totalCount": 2,
"currentPageIndex": 0,
"pageSize": 20
},
"links": {
"self": "https://url?page=0&pageSize=20",
"first": "https://url?page=0&pageSize=20",
"last": "https://url?page=0&pageSize=20",
"prev": null,
"next": null
}
}