Orders
Query parameters
Responses
200Success
application/json
get
GET /v1/om/orders HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"orders": [
{
"branchUid": "text",
"businessDate": "text",
"numberOfGuests": 1,
"type": "delivery",
"status": 1,
"closedAt": "text",
"canceledAt": "text",
"readyForPickup": true,
"readyForPickupAt": "text",
"callNumber": 1,
"callSource": "text",
"checkPrintCount": 1,
"invoicePrintCount": 1,
"noteToKitchen": "text",
"internalNote": "text",
"total": 1,
"gross": 1,
"subtotal": 1,
"tax": 1,
"totalDiscount": 1,
"subtotalDiscount": 1,
"taxDiscount": 1,
"totalLineDiscounts": 1,
"balanceDue": 1,
"prepaidTaxable": 1,
"prepaidTax": 1,
"totalPrepaid": 1,
"appendLoyaltyBenefits": true,
"shipTo": {},
"displayId": "text",
"source": "text",
"channelOrderDisplayId": "text",
"prepareTime": 1,
"estimatedPickupAt": "text",
"estimatedDeliveryAt": "text",
"externalData": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"uid": "text",
"fuid": "text",
"branchId": "text",
"formattedShortNumber": "text",
"can": [
"cancel"
],
"paidAmount": 1,
"userUid": "text",
"customerUid": "text",
"tableUids": [
"text"
],
"lines": [
{
"quantity": 1,
"note": "text",
"seats": [
1
],
"course": 1,
"status": 1,
"productType": 1,
"sentAt": "text",
"voidPrinting": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"lastPrintTime": "text",
"firedAt": "text",
"voidedAt": "text",
"voidReasonId": "text",
"voidWaste": true,
"requestedAt": "text",
"acceptedAt": "text",
"rejectedAt": "text",
"rejectReasonId": "text",
"price": 1,
"amount": 1,
"tax": 1,
"subtotal": 1,
"taxRate": 1,
"subtotalDiscounts": 1,
"taxDiscounts": 1,
"totalDiscounts": 1,
"gross": 1,
"dueAmount": 1,
"orderDiscountsSubtotal": 1,
"orderDiscountsTax": 1,
"orderAppliedDiscounts": [
{
"id": "text",
"amount": 1,
"subtotal": 1,
"tax": 1
}
],
"voucherUid": "text",
"invoiceId": "text",
"comboLineId": "text",
"comboOptionUid": "text",
"locked": true,
"lockedBy": "text",
"lockedAt": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"uid": "text",
"productUid": "text",
"uomUid": "text",
"appliedModifiers": [
{
"id": "text",
"options": [
{
"quantity": 1,
"amount": 1,
"price": 1,
"visible": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"modifierUid": "text"
}
]
}
],
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
],
"can": [
"accept"
],
"subinventoryUid": "text",
"returns": [
{
"quantity": 1,
"waste": true,
"invoiceId": "text",
"reasonId": "text",
"price": 1,
"amount": 1,
"subtotal": 1,
"tax": 1,
"gross": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"uid": "text"
}
],
"returnedQuantity": 1
}
],
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
],
"payments": [
{
"type": 1,
"status": 1,
"completedAt": "text",
"reversedAt": "text",
"custom": true,
"amount": 1,
"sourcePaymentId": "text",
"transactionRef": "text",
"attrs": {},
"invoiceId": "text",
"note": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"can": [
"confirm"
],
"methodUid": "text"
}
],
"invoices": [
{
"type": 1,
"status": 1,
"number": 1,
"source": "text",
"closedAt": "text",
"referenceInvoiceId": "text",
"applyExpiresAt": "text",
"checkPrintCount": 1,
"invoicePrintCount": 1,
"totalDiscount": 1,
"taxDiscount": 1,
"subtotalDiscount": 1,
"subtotal": 1,
"tax": 1,
"gross": 1,
"taxable": 1,
"total": 1,
"totalLineDiscounts": 1,
"prepaidTaxable": 1,
"prepaidTax": 1,
"totalPrepaid": 1,
"balanceDue": 1,
"id": "text",
"uid": "text",
"paidAmount": 1,
"appliedInvoices": [
{
"code": "text",
"balance": 1,
"taxableBalance": 1,
"taxBalance": 1,
"sourceDate": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uid": "text"
}
],
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
],
"lines": [
{
"id": "text",
"uid": "text",
"price": 1,
"amount": 1,
"dueAmount": 1,
"tax": 1,
"subtotal": 1,
"taxRate": 1,
"gross": 1,
"quantity": 1,
"productUid": "text",
"subtotalDiscounts": 1,
"taxDiscounts": 1,
"totalDiscounts": 1,
"referenceLineId": "text",
"status": 1,
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
]
}
],
"can": [
"close"
]
}
],
"alerts": [
{
"type": 1
}
],
"channelUid": "text",
"externalId": "text",
"estimatedReadyAt": "text",
"sessionUid": "text"
}
],
"users": [
{
"firstName": "text",
"lastName": "text",
"email": "text",
"phone": "text",
"phoneCountry": "text",
"phoneCountryCalling": "text",
"sequence": 1,
"number": "text",
"cityId": "text",
"birthDate": "text",
"gender": {},
"passcode": "text",
"unsubscribed": true,
"internalNote": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"roleAssignments": [
{
"endDate": "text",
"id": "text"
}
]
}
],
"customers": [
{
"firstName": "text",
"lastName": "text",
"email": "text",
"phone": "text",
"phoneCountry": "text",
"phoneCountryCalling": "text",
"sequence": 1,
"number": "text",
"cityId": "text",
"birthDate": "text",
"gender": {},
"passcode": "text",
"unsubscribed": true,
"internalNote": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"roleAssignments": [
{
"endDate": "text",
"id": "text"
}
]
}
],
"tables": [
{
"name": "text",
"x": 1,
"y": 1,
"width": 1,
"height": 1,
"circle": true,
"minSeats": 1,
"maxSeats": 1,
"archived": true,
"id": "text",
"areaId": "text"
}
],
"areas": [
{
"locales": {},
"backgroundImage": "text",
"id": "text",
"branchId": "text"
}
],
"paymentMethods": [
{
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"visible": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text"
}
],
"products": [
{
"image": "text",
"price": 1,
"locales": {},
"calories": 1,
"sort": 1,
"allergies": [
"text"
],
"active": true,
"posImageUrl": "text",
"type": 1,
"sku": "text",
"inventory": true,
"primaryUomUid": "text",
"voucherValidaty": 1,
"voucherPayLimit": 1,
"voucherSharingLimit": 1,
"voucherAccess": 1,
"voucherDirectPay": true,
"voucherTopup": true,
"voucherAutoTopup": true,
"voucherActivationEndDate": "text",
"id": "text",
"categoryId": "text",
"taxGroupUid": "text",
"bomUid": "text",
"listUids": [
"text"
],
"comboGroups": [
{
"locales": {},
"min": 1,
"max": 1,
"uid": "text",
"options": [
{
"upcharge": 1,
"selected": true,
"uid": "text",
"productUId": "text"
}
]
}
],
"modifiers": [
{
"minSelection": 1,
"maxSelection": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"options": [
{
"defaultQuantity": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text"
}
]
}
]
}
],
"categories": [
{
"image": "text",
"locales": {},
"sort": 1,
"id": "text"
}
],
"discounts": [
{
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"type": 1,
"value": 1,
"qualifications": [
"line"
],
"orderTypes": [
"delivery"
],
"max": 1,
"isActive": true,
"excludeTax": true,
"reasonRequired": true,
"commentRequired": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"rules": [
{
"conditions": [
{
"key": 1,
"operator": "contains",
"value": "text"
}
],
"action": 1,
"id": "text"
}
]
}
],
"nextId": "text",
"query": {}
}
}
Body
Responses
200Success
application/json
post
POST /v1/om/orders HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 581
{
"params": {
"branchId": "text",
"tableIds": [
"text"
],
"customerId": "text",
"userId": "text",
"numberOfGuests": 1,
"type": "delivery",
"appendLoyaltyBenefits": true,
"invoiceType": 1,
"callNumber": 1,
"callSource": "text",
"deviceId": "text",
"applyExpiresAt": "text",
"externalId": "text",
"externalData": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"shipTo": {},
"displayId": "text",
"source": "text",
"channelUid": "text",
"channelOrderDisplayId": "text",
"noteToKitchen": "text",
"internalNote": "text",
"prepareTime": 1,
"estimatedPickupAt": "text",
"estimatedDeliveryAt": "text"
}
}
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"id": "text"
}
}
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /v1/om/orders/{id} HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"order": {
"branchUid": "text",
"businessDate": "text",
"numberOfGuests": 1,
"type": "delivery",
"status": 1,
"closedAt": "text",
"canceledAt": "text",
"readyForPickup": true,
"readyForPickupAt": "text",
"callNumber": 1,
"callSource": "text",
"checkPrintCount": 1,
"invoicePrintCount": 1,
"noteToKitchen": "text",
"internalNote": "text",
"total": 1,
"gross": 1,
"subtotal": 1,
"tax": 1,
"totalDiscount": 1,
"subtotalDiscount": 1,
"taxDiscount": 1,
"totalLineDiscounts": 1,
"balanceDue": 1,
"prepaidTaxable": 1,
"prepaidTax": 1,
"totalPrepaid": 1,
"appendLoyaltyBenefits": true,
"shipTo": {},
"displayId": "text",
"source": "text",
"channelOrderDisplayId": "text",
"prepareTime": 1,
"estimatedPickupAt": "text",
"estimatedDeliveryAt": "text",
"externalData": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"uid": "text",
"fuid": "text",
"branchId": "text",
"formattedShortNumber": "text",
"can": [
"cancel"
],
"paidAmount": 1,
"userUid": "text",
"customerUid": "text",
"tableUids": [
"text"
],
"lines": [
{
"quantity": 1,
"note": "text",
"seats": [
1
],
"course": 1,
"status": 1,
"productType": 1,
"sentAt": "text",
"voidPrinting": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"lastPrintTime": "text",
"firedAt": "text",
"voidedAt": "text",
"voidReasonId": "text",
"voidWaste": true,
"requestedAt": "text",
"acceptedAt": "text",
"rejectedAt": "text",
"rejectReasonId": "text",
"price": 1,
"amount": 1,
"tax": 1,
"subtotal": 1,
"taxRate": 1,
"subtotalDiscounts": 1,
"taxDiscounts": 1,
"totalDiscounts": 1,
"gross": 1,
"dueAmount": 1,
"orderDiscountsSubtotal": 1,
"orderDiscountsTax": 1,
"orderAppliedDiscounts": [
{
"id": "text",
"amount": 1,
"subtotal": 1,
"tax": 1
}
],
"voucherUid": "text",
"invoiceId": "text",
"comboLineId": "text",
"comboOptionUid": "text",
"locked": true,
"lockedBy": "text",
"lockedAt": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"uid": "text",
"productUid": "text",
"uomUid": "text",
"appliedModifiers": [
{
"id": "text",
"options": [
{
"quantity": 1,
"amount": 1,
"price": 1,
"visible": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"modifierUid": "text"
}
]
}
],
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
],
"can": [
"accept"
],
"subinventoryUid": "text",
"returns": [
{
"quantity": 1,
"waste": true,
"invoiceId": "text",
"reasonId": "text",
"price": 1,
"amount": 1,
"subtotal": 1,
"tax": 1,
"gross": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"uid": "text"
}
],
"returnedQuantity": 1
}
],
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
],
"payments": [
{
"type": 1,
"status": 1,
"completedAt": "text",
"reversedAt": "text",
"custom": true,
"amount": 1,
"sourcePaymentId": "text",
"transactionRef": "text",
"attrs": {},
"invoiceId": "text",
"note": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"can": [
"confirm"
],
"methodUid": "text"
}
],
"invoices": [
{
"type": 1,
"status": 1,
"number": 1,
"source": "text",
"closedAt": "text",
"referenceInvoiceId": "text",
"applyExpiresAt": "text",
"checkPrintCount": 1,
"invoicePrintCount": 1,
"totalDiscount": 1,
"taxDiscount": 1,
"subtotalDiscount": 1,
"subtotal": 1,
"tax": 1,
"gross": 1,
"taxable": 1,
"total": 1,
"totalLineDiscounts": 1,
"prepaidTaxable": 1,
"prepaidTax": 1,
"totalPrepaid": 1,
"balanceDue": 1,
"id": "text",
"uid": "text",
"paidAmount": 1,
"appliedInvoices": [
{
"code": "text",
"balance": 1,
"taxableBalance": 1,
"taxBalance": 1,
"sourceDate": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uid": "text"
}
],
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
],
"lines": [
{
"id": "text",
"uid": "text",
"price": 1,
"amount": 1,
"dueAmount": 1,
"tax": 1,
"subtotal": 1,
"taxRate": 1,
"gross": 1,
"quantity": 1,
"productUid": "text",
"subtotalDiscounts": 1,
"taxDiscounts": 1,
"totalDiscounts": 1,
"referenceLineId": "text",
"status": 1,
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
]
}
],
"can": [
"close"
]
}
],
"alerts": [
{
"type": 1
}
],
"channelUid": "text",
"externalId": "text",
"estimatedReadyAt": "text",
"sessionUid": "text"
},
"user": {
"firstName": "text",
"lastName": "text",
"email": "text",
"phone": "text",
"phoneCountry": "text",
"phoneCountryCalling": "text",
"sequence": 1,
"number": "text",
"cityId": "text",
"birthDate": "text",
"gender": {},
"passcode": "text",
"unsubscribed": true,
"internalNote": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"roleAssignments": [
{
"endDate": "text",
"id": "text"
}
]
},
"customer": {
"firstName": "text",
"lastName": "text",
"email": "text",
"phone": "text",
"phoneCountry": "text",
"phoneCountryCalling": "text",
"sequence": 1,
"number": "text",
"cityId": "text",
"birthDate": "text",
"gender": {},
"passcode": "text",
"unsubscribed": true,
"internalNote": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"roleAssignments": [
{
"endDate": "text",
"id": "text"
}
]
},
"tables": [
{
"name": "text",
"x": 1,
"y": 1,
"width": 1,
"height": 1,
"circle": true,
"minSeats": 1,
"maxSeats": 1,
"archived": true,
"id": "text",
"areaId": "text"
}
],
"areas": [
{
"locales": {},
"backgroundImage": "text",
"id": "text",
"branchId": "text"
}
],
"paymentMethods": [
{
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"visible": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text"
}
],
"products": [
{
"image": "text",
"price": 1,
"locales": {},
"calories": 1,
"sort": 1,
"allergies": [
"text"
],
"active": true,
"posImageUrl": "text",
"type": 1,
"sku": "text",
"inventory": true,
"primaryUomUid": "text",
"voucherValidaty": 1,
"voucherPayLimit": 1,
"voucherSharingLimit": 1,
"voucherAccess": 1,
"voucherDirectPay": true,
"voucherTopup": true,
"voucherAutoTopup": true,
"voucherActivationEndDate": "text",
"id": "text",
"categoryId": "text",
"taxGroupUid": "text",
"bomUid": "text",
"listUids": [
"text"
],
"comboGroups": [
{
"locales": {},
"min": 1,
"max": 1,
"uid": "text",
"options": [
{
"upcharge": 1,
"selected": true,
"uid": "text",
"productUId": "text"
}
]
}
],
"modifiers": [
{
"minSelection": 1,
"maxSelection": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"options": [
{
"defaultQuantity": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text"
}
]
}
]
}
],
"modifiers": [
{
"locales": {},
"minSelection": 1,
"maxSelection": 1,
"id": "text",
"options": [
{
"id": "text",
"locales": {},
"price": 1,
"isActive": true,
"sortNumber": 1,
"multiple": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uomAssignmentUid": "text",
"uomUid": "text",
"productUid": "text"
}
]
}
],
"discounts": [
{
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"type": 1,
"value": 1,
"qualifications": [
"line"
],
"orderTypes": [
"delivery"
],
"max": 1,
"isActive": true,
"excludeTax": true,
"reasonRequired": true,
"commentRequired": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"rules": [
{
"conditions": [
{
"key": 1,
"operator": "contains",
"value": "text"
}
],
"action": 1,
"id": "text"
}
]
}
]
}
}
Path parameters
idstringRequired
Body
Responses
200Success
application/json
patch
PATCH /v1/om/orders/{id} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 349
{
"params": {
"id": "text",
"tableIds": [
"text"
],
"customerId": "text",
"userId": "text",
"numberOfGuests": 1,
"noteToKitchen": "text",
"internalNote": "text",
"type": {},
"externalData": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"readyForPickup": true,
"prepareTime": 1,
"estimatedPickupAt": "text",
"estimatedDeliveryAt": "text"
}
}
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"succeed": true
}
}
Path parameters
idstringRequired
Body
Responses
200Success
application/json
patch
PATCH /v1/om/orders/{id}/discount HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"params": {
"orderId": "text",
"discountId": "text",
"source": 1,
"reasonId": "text",
"comment": "text"
}
}
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {}
}
Path parameters
idstringRequired
Body
Responses
200Success
application/json
patch
PATCH /v1/om/orders/{id}/update-discount HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"params": {
"orderId": "text",
"discountId": "text",
"source": 1,
"reasonId": "text",
"comment": "text"
}
}
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"succeed": true
}
}
Path parameters
idstringRequired
Body
Responses
200Success
application/json
patch
PATCH /v1/om/orders/{id}/cancel-discount HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"params": {
"orderId": "text",
"discountId": "text"
}
}
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {}
}
Path parameters
idstringRequired
Body
Responses
200Success
application/json
patch
PATCH /v1/om/orders/{id}/custom-discount HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 224
{
"params": {
"orderId": "text",
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"subtotalAmount": 1,
"taxAmount": 1
}
}
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {}
}
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /v1/om/orders/by-external/{id} HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"order": {
"branchUid": "text",
"businessDate": "text",
"numberOfGuests": 1,
"type": "delivery",
"status": 1,
"closedAt": "text",
"canceledAt": "text",
"readyForPickup": true,
"readyForPickupAt": "text",
"callNumber": 1,
"callSource": "text",
"checkPrintCount": 1,
"invoicePrintCount": 1,
"noteToKitchen": "text",
"internalNote": "text",
"total": 1,
"gross": 1,
"subtotal": 1,
"tax": 1,
"totalDiscount": 1,
"subtotalDiscount": 1,
"taxDiscount": 1,
"totalLineDiscounts": 1,
"balanceDue": 1,
"prepaidTaxable": 1,
"prepaidTax": 1,
"totalPrepaid": 1,
"appendLoyaltyBenefits": true,
"shipTo": {},
"displayId": "text",
"source": "text",
"channelOrderDisplayId": "text",
"prepareTime": 1,
"estimatedPickupAt": "text",
"estimatedDeliveryAt": "text",
"externalData": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"uid": "text",
"fuid": "text",
"branchId": "text",
"formattedShortNumber": "text",
"can": [
"cancel"
],
"paidAmount": 1,
"userUid": "text",
"customerUid": "text",
"tableUids": [
"text"
],
"lines": [
{
"quantity": 1,
"note": "text",
"seats": [
1
],
"course": 1,
"status": 1,
"productType": 1,
"sentAt": "text",
"voidPrinting": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"lastPrintTime": "text",
"firedAt": "text",
"voidedAt": "text",
"voidReasonId": "text",
"voidWaste": true,
"requestedAt": "text",
"acceptedAt": "text",
"rejectedAt": "text",
"rejectReasonId": "text",
"price": 1,
"amount": 1,
"tax": 1,
"subtotal": 1,
"taxRate": 1,
"subtotalDiscounts": 1,
"taxDiscounts": 1,
"totalDiscounts": 1,
"gross": 1,
"dueAmount": 1,
"orderDiscountsSubtotal": 1,
"orderDiscountsTax": 1,
"orderAppliedDiscounts": [
{
"id": "text",
"amount": 1,
"subtotal": 1,
"tax": 1
}
],
"voucherUid": "text",
"invoiceId": "text",
"comboLineId": "text",
"comboOptionUid": "text",
"locked": true,
"lockedBy": "text",
"lockedAt": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"uid": "text",
"productUid": "text",
"uomUid": "text",
"appliedModifiers": [
{
"id": "text",
"options": [
{
"quantity": 1,
"amount": 1,
"price": 1,
"visible": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"modifierUid": "text"
}
]
}
],
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
],
"can": [
"accept"
],
"subinventoryUid": "text",
"returns": [
{
"quantity": 1,
"waste": true,
"invoiceId": "text",
"reasonId": "text",
"price": 1,
"amount": 1,
"subtotal": 1,
"tax": 1,
"gross": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"uid": "text"
}
],
"returnedQuantity": 1
}
],
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
],
"payments": [
{
"type": 1,
"status": 1,
"completedAt": "text",
"reversedAt": "text",
"custom": true,
"amount": 1,
"sourcePaymentId": "text",
"transactionRef": "text",
"attrs": {},
"invoiceId": "text",
"note": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"can": [
"confirm"
],
"methodUid": "text"
}
],
"invoices": [
{
"type": 1,
"status": 1,
"number": 1,
"source": "text",
"closedAt": "text",
"referenceInvoiceId": "text",
"applyExpiresAt": "text",
"checkPrintCount": 1,
"invoicePrintCount": 1,
"totalDiscount": 1,
"taxDiscount": 1,
"subtotalDiscount": 1,
"subtotal": 1,
"tax": 1,
"gross": 1,
"taxable": 1,
"total": 1,
"totalLineDiscounts": 1,
"prepaidTaxable": 1,
"prepaidTax": 1,
"totalPrepaid": 1,
"balanceDue": 1,
"id": "text",
"uid": "text",
"paidAmount": 1,
"appliedInvoices": [
{
"code": "text",
"balance": 1,
"taxableBalance": 1,
"taxBalance": 1,
"sourceDate": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uid": "text"
}
],
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
],
"lines": [
{
"id": "text",
"uid": "text",
"price": 1,
"amount": 1,
"dueAmount": 1,
"tax": 1,
"subtotal": 1,
"taxRate": 1,
"gross": 1,
"quantity": 1,
"productUid": "text",
"subtotalDiscounts": 1,
"taxDiscounts": 1,
"totalDiscounts": 1,
"referenceLineId": "text",
"status": 1,
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
]
}
],
"can": [
"close"
]
}
],
"alerts": [
{
"type": 1
}
],
"channelUid": "text",
"externalId": "text",
"estimatedReadyAt": "text",
"sessionUid": "text"
},
"user": {
"firstName": "text",
"lastName": "text",
"email": "text",
"phone": "text",
"phoneCountry": "text",
"phoneCountryCalling": "text",
"sequence": 1,
"number": "text",
"cityId": "text",
"birthDate": "text",
"gender": {},
"passcode": "text",
"unsubscribed": true,
"internalNote": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"roleAssignments": [
{
"endDate": "text",
"id": "text"
}
]
},
"customer": {
"firstName": "text",
"lastName": "text",
"email": "text",
"phone": "text",
"phoneCountry": "text",
"phoneCountryCalling": "text",
"sequence": 1,
"number": "text",
"cityId": "text",
"birthDate": "text",
"gender": {},
"passcode": "text",
"unsubscribed": true,
"internalNote": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"roleAssignments": [
{
"endDate": "text",
"id": "text"
}
]
},
"tables": [
{
"name": "text",
"x": 1,
"y": 1,
"width": 1,
"height": 1,
"circle": true,
"minSeats": 1,
"maxSeats": 1,
"archived": true,
"id": "text",
"areaId": "text"
}
],
"areas": [
{
"locales": {},
"backgroundImage": "text",
"id": "text",
"branchId": "text"
}
],
"paymentMethods": [
{
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"visible": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text"
}
],
"products": [
{
"image": "text",
"price": 1,
"locales": {},
"calories": 1,
"sort": 1,
"allergies": [
"text"
],
"active": true,
"posImageUrl": "text",
"type": 1,
"sku": "text",
"inventory": true,
"primaryUomUid": "text",
"voucherValidaty": 1,
"voucherPayLimit": 1,
"voucherSharingLimit": 1,
"voucherAccess": 1,
"voucherDirectPay": true,
"voucherTopup": true,
"voucherAutoTopup": true,
"voucherActivationEndDate": "text",
"id": "text",
"categoryId": "text",
"taxGroupUid": "text",
"bomUid": "text",
"listUids": [
"text"
],
"comboGroups": [
{
"locales": {},
"min": 1,
"max": 1,
"uid": "text",
"options": [
{
"upcharge": 1,
"selected": true,
"uid": "text",
"productUId": "text"
}
]
}
],
"modifiers": [
{
"minSelection": 1,
"maxSelection": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"options": [
{
"defaultQuantity": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text"
}
]
}
]
}
],
"modifiers": [
{
"locales": {},
"minSelection": 1,
"maxSelection": 1,
"id": "text",
"options": [
{
"id": "text",
"locales": {},
"price": 1,
"isActive": true,
"sortNumber": 1,
"multiple": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uomAssignmentUid": "text",
"uomUid": "text",
"productUid": "text"
}
]
}
],
"discounts": [
{
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"type": 1,
"value": 1,
"qualifications": [
"line"
],
"orderTypes": [
"delivery"
],
"max": 1,
"isActive": true,
"excludeTax": true,
"reasonRequired": true,
"commentRequired": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"rules": [
{
"conditions": [
{
"key": 1,
"operator": "contains",
"value": "text"
}
],
"action": 1,
"id": "text"
}
]
}
]
}
}
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /v1/om/orders/by-table/{id} HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"order": {
"branchUid": "text",
"businessDate": "text",
"numberOfGuests": 1,
"type": "delivery",
"status": 1,
"closedAt": "text",
"canceledAt": "text",
"readyForPickup": true,
"readyForPickupAt": "text",
"callNumber": 1,
"callSource": "text",
"checkPrintCount": 1,
"invoicePrintCount": 1,
"noteToKitchen": "text",
"internalNote": "text",
"total": 1,
"gross": 1,
"subtotal": 1,
"tax": 1,
"totalDiscount": 1,
"subtotalDiscount": 1,
"taxDiscount": 1,
"totalLineDiscounts": 1,
"balanceDue": 1,
"prepaidTaxable": 1,
"prepaidTax": 1,
"totalPrepaid": 1,
"appendLoyaltyBenefits": true,
"shipTo": {},
"displayId": "text",
"source": "text",
"channelOrderDisplayId": "text",
"prepareTime": 1,
"estimatedPickupAt": "text",
"estimatedDeliveryAt": "text",
"externalData": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"uid": "text",
"fuid": "text",
"branchId": "text",
"formattedShortNumber": "text",
"can": [
"cancel"
],
"paidAmount": 1,
"userUid": "text",
"customerUid": "text",
"tableUids": [
"text"
],
"lines": [
{
"quantity": 1,
"note": "text",
"seats": [
1
],
"course": 1,
"status": 1,
"productType": 1,
"sentAt": "text",
"voidPrinting": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"lastPrintTime": "text",
"firedAt": "text",
"voidedAt": "text",
"voidReasonId": "text",
"voidWaste": true,
"requestedAt": "text",
"acceptedAt": "text",
"rejectedAt": "text",
"rejectReasonId": "text",
"price": 1,
"amount": 1,
"tax": 1,
"subtotal": 1,
"taxRate": 1,
"subtotalDiscounts": 1,
"taxDiscounts": 1,
"totalDiscounts": 1,
"gross": 1,
"dueAmount": 1,
"orderDiscountsSubtotal": 1,
"orderDiscountsTax": 1,
"orderAppliedDiscounts": [
{
"id": "text",
"amount": 1,
"subtotal": 1,
"tax": 1
}
],
"voucherUid": "text",
"invoiceId": "text",
"comboLineId": "text",
"comboOptionUid": "text",
"locked": true,
"lockedBy": "text",
"lockedAt": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"uid": "text",
"productUid": "text",
"uomUid": "text",
"appliedModifiers": [
{
"id": "text",
"options": [
{
"quantity": 1,
"amount": 1,
"price": 1,
"visible": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"modifierUid": "text"
}
]
}
],
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
],
"can": [
"accept"
],
"subinventoryUid": "text",
"returns": [
{
"quantity": 1,
"waste": true,
"invoiceId": "text",
"reasonId": "text",
"price": 1,
"amount": 1,
"subtotal": 1,
"tax": 1,
"gross": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"uid": "text"
}
],
"returnedQuantity": 1
}
],
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
],
"payments": [
{
"type": 1,
"status": 1,
"completedAt": "text",
"reversedAt": "text",
"custom": true,
"amount": 1,
"sourcePaymentId": "text",
"transactionRef": "text",
"attrs": {},
"invoiceId": "text",
"note": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"can": [
"confirm"
],
"methodUid": "text"
}
],
"invoices": [
{
"type": 1,
"status": 1,
"number": 1,
"source": "text",
"closedAt": "text",
"referenceInvoiceId": "text",
"applyExpiresAt": "text",
"checkPrintCount": 1,
"invoicePrintCount": 1,
"totalDiscount": 1,
"taxDiscount": 1,
"subtotalDiscount": 1,
"subtotal": 1,
"tax": 1,
"gross": 1,
"taxable": 1,
"total": 1,
"totalLineDiscounts": 1,
"prepaidTaxable": 1,
"prepaidTax": 1,
"totalPrepaid": 1,
"balanceDue": 1,
"id": "text",
"uid": "text",
"paidAmount": 1,
"appliedInvoices": [
{
"code": "text",
"balance": 1,
"taxableBalance": 1,
"taxBalance": 1,
"sourceDate": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uid": "text"
}
],
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
],
"lines": [
{
"id": "text",
"uid": "text",
"price": 1,
"amount": 1,
"dueAmount": 1,
"tax": 1,
"subtotal": 1,
"taxRate": 1,
"gross": 1,
"quantity": 1,
"productUid": "text",
"subtotalDiscounts": 1,
"taxDiscounts": 1,
"totalDiscounts": 1,
"referenceLineId": "text",
"status": 1,
"appliedDiscounts": [
{
"type": 1,
"value": 1,
"excludeTax": true,
"source": 1,
"sourceId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"amount": 1,
"subtotalAmount": 1,
"taxAmount": 1,
"reasonId": "text",
"comment": "text",
"invoiceId": "text",
"id": "text"
}
]
}
],
"can": [
"close"
]
}
],
"alerts": [
{
"type": 1
}
],
"channelUid": "text",
"externalId": "text",
"estimatedReadyAt": "text",
"sessionUid": "text"
},
"user": {
"firstName": "text",
"lastName": "text",
"email": "text",
"phone": "text",
"phoneCountry": "text",
"phoneCountryCalling": "text",
"sequence": 1,
"number": "text",
"cityId": "text",
"birthDate": "text",
"gender": {},
"passcode": "text",
"unsubscribed": true,
"internalNote": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"roleAssignments": [
{
"endDate": "text",
"id": "text"
}
]
},
"customer": {
"firstName": "text",
"lastName": "text",
"email": "text",
"phone": "text",
"phoneCountry": "text",
"phoneCountryCalling": "text",
"sequence": 1,
"number": "text",
"cityId": "text",
"birthDate": "text",
"gender": {},
"passcode": "text",
"unsubscribed": true,
"internalNote": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"roleAssignments": [
{
"endDate": "text",
"id": "text"
}
]
},
"tables": [
{
"name": "text",
"x": 1,
"y": 1,
"width": 1,
"height": 1,
"circle": true,
"minSeats": 1,
"maxSeats": 1,
"archived": true,
"id": "text",
"areaId": "text"
}
],
"areas": [
{
"locales": {},
"backgroundImage": "text",
"id": "text",
"branchId": "text"
}
],
"paymentMethods": [
{
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"visible": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text"
}
],
"products": [
{
"image": "text",
"price": 1,
"locales": {},
"calories": 1,
"sort": 1,
"allergies": [
"text"
],
"active": true,
"posImageUrl": "text",
"type": 1,
"sku": "text",
"inventory": true,
"primaryUomUid": "text",
"voucherValidaty": 1,
"voucherPayLimit": 1,
"voucherSharingLimit": 1,
"voucherAccess": 1,
"voucherDirectPay": true,
"voucherTopup": true,
"voucherAutoTopup": true,
"voucherActivationEndDate": "text",
"id": "text",
"categoryId": "text",
"taxGroupUid": "text",
"bomUid": "text",
"listUids": [
"text"
],
"comboGroups": [
{
"locales": {},
"min": 1,
"max": 1,
"uid": "text",
"options": [
{
"upcharge": 1,
"selected": true,
"uid": "text",
"productUId": "text"
}
]
}
],
"modifiers": [
{
"minSelection": 1,
"maxSelection": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"options": [
{
"defaultQuantity": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text"
}
]
}
]
}
],
"modifiers": [
{
"locales": {},
"minSelection": 1,
"maxSelection": 1,
"id": "text",
"options": [
{
"id": "text",
"locales": {},
"price": 1,
"isActive": true,
"sortNumber": 1,
"multiple": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uomAssignmentUid": "text",
"uomUid": "text",
"productUid": "text"
}
]
}
],
"discounts": [
{
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"type": 1,
"value": 1,
"qualifications": [
"line"
],
"orderTypes": [
"delivery"
],
"max": 1,
"isActive": true,
"excludeTax": true,
"reasonRequired": true,
"commentRequired": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"rules": [
{
"conditions": [
{
"key": 1,
"operator": "contains",
"value": "text"
}
],
"action": 1,
"id": "text"
}
]
}
]
}
}
Was this helpful?