Skip to main content

Get Order By ID

Retrieve full details of a specific order by its orderId.

When to Use

Use this endpoint when:

  • Displaying a single order's details on an order page
  • Auditing or troubleshooting a specific transaction

How to Use

Endpoint
POST/v3/service

POST function: "get.store.order" with storeId and orderId.


Request Parameters

serviceSTRING

alacarte service

Example: "alacarte"

versionSTRING

Currently only support 'v1"

Example: "v1"

functionSTRING

Function that provide by alacarte

Example: "get.store.order"

requestOBJECT

Request body

storeIdSTRING

ID of the Store that Create from RM

Example: "2808912573238362402"

orderIdSTRING

Order Id

Example: "25f6984d6585d7cc1ae35a39c"

Response Parameters

createdAtDATETIME

Creation date time of store

Example: "2020-09-22T04:44:57.950398414Z"

customerOBJECT

Customer info

countryCodeSTRING

Country Code

Example: "60"

emailSTRING

Customer Email

Example: "[email protected]"

idSTRING

Customer ID

Example: "5f63082ae9c755d6ba3122ac"

nameSTRING

Customer Name

Example: "Bassem AlSabbagh"

phoneNumberSTRING

Customer contact number

Example: "1123621544"

deliveryOBJECT

Delivery info (null if not delivery)

deliveryAtSTRING

When and what time the order deliver

Example: "2020-10-01T08:35:22.525Z"

driveThruOBJECT

Drive thru info (null if not drive thru)

itemsARRAY

Order items

descriptionSTRING

Item description

Example: "got Nasi gt lemak"

imageUrlARRAY

Item Image

Example: []

itemIdSTRING

Item ID

Example: "5f69a41f212de28db36031d6"

nameSTRING

Item Name

Example: "Nasi lemak & Lemak"

preferencesARRAY

Item preferences (empty array when none)

priceOBJECT

Item price

amountINTEGER

Amount in cent

Example: 10

currencyTypeSTRING

Currency type

Example: "MYR"

quantityINTEGER

Item Quantity

Example: 1

remarkSTRING

Customer Remark

Example: ""

sidesARRAY

Item sides (empty array when none)

orderIdSTRING

Order ID

Example: "5f7596e066ef1c1a4f9807f4"

paymentOBJECT

Payment info

deliveryFeeOBJECT

Delivery fee

amountINTEGER

Amount in cent

Example: 0

currencyTypeSTRING

Currency type

Example: ""

roundingOBJECT

Rounding amount

amountINTEGER

Amount in cent

Example: -2

currencyTypeSTRING

Currency type

Example: "MYR"

serviceFeeOBJECT

Service fee

amountINTEGER

Amount in cent

Example: 1

currencyTypeSTRING

Currency type

Example: "MYR"

percentageINTEGER

Percentage (divide by 100)

Example: 500

serviceTaxOBJECT

Service tax

amountINTEGER

Amount in cent

Example: 1

currencyTypeSTRING

Currency type

Example: "MYR"

percentageINTEGER

Percentage (divide by 100)

Example: 1300

statusSTRING

Payment Status (PAID, NOTPAID, PENDING, REFUNDED)

Example: "NOTPAID"

subTotalOBJECT

Sub total

amountINTEGER

Amount in cent

Example: 10

currencyTypeSTRING

Currency type

Example: "MYR"

totalAfterRoundingOBJECT

Total after rounding

amountINTEGER

Amount in cent

Example: 10

currencyTypeSTRING

Currency type

Example: "MYR"

totalBeforeRoundingOBJECT

Total before rounding

amountINTEGER

Amount in cent

Example: 12

currencyTypeSTRING

Currency type

Example: "MYR"

quantityINTEGER

Quantity of the item

Example: 1

queueNoINTEGER

Queue number of the item

Example: 0

stateSTRING

State of the item (ACCEPTED, REJECTED, CANCELED, REFUNDED)

Example: "ACCEPTED"

statusSTRING

Order status. One of: `EMPTY`, `WAITING_FOR_PAYMENT`, `WAIT_FOR_CONFIRMATION`, `CANCELLED`, `PROGRESSING`, `WAITING_FOR_COURIER`, `FINDING_COURIER`, `SHIPPING`, `COMPLETED`, `DELAYED`, `REJECTED`

Example: "EMPTY"

storeIdSTRING

ID of the Store that Create from RM

Example: "10946114768247530"

tableOBJECT

Table info

idSTRING

Table ID

Example: "5e86af7ef9e6794801df3302"

isActiveBOOLEAN

Table is active

Example: true

isDefaultBOOLEAN

Is default table

Example: true

nameSTRING

Table Name

Example: "Default Table"

typeSTRING

Type (DINEIN, DELIVERY, PICKUP, DRIVE_THRU)

Example: "PICKUP"

updatedAtDATETIME

Last update date time

Example: "2020-10-01T08:44:16.863Z"