Show Order

This API is responsible for retrieving detailed information about a specific order. It provides partners with comprehensive order details, including item lists, quantities, prices, statuses, and timestamps. It ensures that partners can track and manage their orders efficiently, keeping them informed about the order status and any updates throughout the order's lifecycle.

For more details on the order flow from creation to delivery, please refer to Partner API → Order Flow Guides.

Model Attributes

AttributeDescriptionType
idthe unique identifier of that table entityInteger
app_order_uuidorder unique identifier from the application sideString
created_atDate time of order creationString in ISO 8601 Format
order_statusthe current status of an orderString Enum
estimated_timeThe estimated time for which the order is expected to be done, the estimated time is an integer that represents minutesInteger
full_addressFor Delivery orders, the full address of the customerString or Null
latFor Delivery orders, the latitude of the address of the customerFloat or Null
lngFor Delivery orders, the longitude of the address of the customerFloat or Null
notesAny additional notes a customer have on the entire orderString or Null
total_priceOrder total priceFloat
service_typeorder service typeString Enum
payment_typeOrder payment typeString Enum
payment_statusOrder payment statusesString Enum
itemsOrder items, it follows the same format of creationObject
is_customer_arrivedFor Curbside orders, this attribute is updated by both the customer and the waiter. It indicates whether the customer has arrived to receive their order.Boolean
cancellation_reasonFor Cancelled orders, this attribute is used to specify the reason for the order cancellation. It's mandatory for cancelled orders and null otherwiseObject or Null

Order Statuses

The order can be in any of the following statuses, some statuses are meant to be used for specific service types

Enum NameDescriptionAdditional Notes
pendingOrder is created but not yet accepted by the company.By default, all newly created orders are in pending status
in_progressOrder was accepted and is being prepared.
readyOrder is ready.
in_routeFor Delivery service, indicates that the order is on its way.Used alongside delivery service type
doneOrder successfully delivered to the customerThis is the ending status of any successful order.
cancelledOrder got cancelled
rejectedOrder got rejected by the Company's waiter
company_force_cancelledOrder got force cancelled by the companyThis status occurs when a company schedules application uninstall while ongoing orders still exists, these orders gets automatically cancelled with the company_force_cancelled status
company_early_cancelledOrder got early cancelled by a companyThis status occurs when an order "in pending status" is fired while a company is uninstalling an application

Service Types

A branch has the ability to offer some services for the integrating applications to use. Each order should specify the service type needed to serve from the list of available services of each branch.

Available service_types are:

Enum Name
dine_in
delivery
pick_up
curbside

Payment Types

Payment types are used to specify the way the order was paid. It takes one of 2 values:

Enum NameDescription
cashorder will be paid in cash
onlineorder was paid using an online payment method

Payment Status

Payment statuses are used to specify the current status of the order payment. It takes one of 2 values:

Enum NameDescription
pending_paymentorder is created but not yet paid
paid
Language
Credentials
Bearer
Click Try It! to start a request and see the response here!