Skip to main content

Get Orders By Store ID

List all orders for a store with filters for payment status, type, delivery status, and date ranges.

When to Use

Use this endpoint when:

  • Building an orders dashboard
  • Filtering orders by status, type, or date
  • Running reports across delivery / dine-in / pickup / drive-thru

How to Use

Endpoint
POST/v3/service

POST function: "get.store.orders" with the storeId and optional filter fields. Supports pagination via cursor.


Request Parameters

serviceSTRING

alacarte service

Example: "alacarte"

versionSTRING

Currently only support v1

Example: "v1"

functionSTRING

Function provided by alacarte

Example: "get.store.orders"

requestOBJECT

Request body

storeIdSTRINGrequired

Store ID

Example: "2808912573238362402"

orderIdSTRING

Filter by part of Order ID

Example: "610a61722c0efd453116420c"

shortOrderIdSTRING

Filter by part of short order ID

Example: "jm9espv4"

cursorSTRING

Pagination cursor

Example: ""

paymentStatusARRAY

Filter by payment status. Values: PROGRESSING, FINDING_COURIER, SHIPPING, COMPLETED, REJECTED

Example: ["COMPLETED"]

startOrderAtDATETIME

Filter from order start date

Example: "2020-09-22T02:00:00.000Z"

endOrderAtDATETIME

Filter to order end date

Example: "2020-09-22T02:00:00.000Z"

startDeliveryAtDATETIME

Filter from delivery start date

Example: "2020-09-22T02:00:00.000Z"

endDeliveryAtDATETIME

Filter to delivery end date

Example: "2020-09-22T02:00:00.000Z"

typeARRAY

Filter by order type. Values: DINEIN, DELIVERY, PICKUP, DRIVE_THRU

Example: ["DINEIN","DELIVERY"]

deliveryStatusARRAY

Filter by delivery status. Values: EMPTY, WAITING_FOR_PAYMENT, WAIT_FOR_CONFIRMATION, CANCELLED, PROGRESSING, WAITING_FOR_COURIER, FINDING_COURIER, SHIPPING, COMPLETED, DELAYED, REJECTED

Example: ["WAIT_FOR_CONFIRMATION","FINDING_COURIER"]

sortARRAY

Sort field. Use - prefix for descending, + for ascending. e.g. -deliveryAt, +orderAt

Example: ["-deliveryAt"]

Response Parameters

cursorSTRING

Optional, if pagination exists.

Example: "3235"

countINTEGER

Current page record

Example: 25

itemsARRAY

List of orders

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

idSTRING

Preferences ID

Example: "5f698149585d7cc1ae35a38d"

nameSTRING

Preferences name

Example: "Sweetness"

labelsARRAY

Preference labels

idSTRING

Label ID

Example: "5f698149585d7cc1ae35a38e"

nameSTRING

Label name

Example: "Basic"

priceOBJECT

Item price

amountINTEGER

Amount in cent

Example: 100

currencyTypeSTRING

Currency type

Example: "MYR"

quantityINTEGER

Item Quantity

Example: 1

remarkSTRING

Customer Remark

Example: ""

sidesARRAY

Item sides

idSTRING

Side ID

Example: ""

nameSTRING

Side Name

Example: "test"

sideItemsARRAY

Side items

idSTRING

Side Item ID

Example: "5f7b4195021ba83f52a02551"

nameSTRING

Side Item Name

Example: "Hainan Chicken Rice"

priceOBJECT

Side item price

amountINTEGER

Amount in cent

Example: 100

currencyTypeSTRING

Currency type

Example: "MYR"

orderIdSTRING

Order ID

Example: "5f7596e066ef1c1a4f9807f4"

paymentOBJECT

Payment info

deliveryFeeOBJECT

Delivery fee

amountINTEGER

Amount in cent

Example: 0

currencyTypeSTRING

Currency type

Example: "MYR"

roundingOBJECT

Rounding amount

amountINTEGER

Amount in cent

Example: 0

currencyTypeSTRING

Currency type

Example: "MYR"

serviceFeeOBJECT

Service fee

amountINTEGER

Amount in cent

Example: 0

currencyTypeSTRING

Currency type

Example: "MYR"

percentageINTEGER

Percentage (divide by 100)

Example: 0

serviceTaxOBJECT

Service tax

amountINTEGER

Amount in cent

Example: 0

currencyTypeSTRING

Currency type

Example: "MYR"

percentageINTEGER

Percentage (divide by 100)

Example: 0

statusSTRING

Payment Status (PAID, NOTPAID, PENDING, REFUNDED)

Example: "NOTPAID"

subTotalOBJECT

Sub total

amountINTEGER

Amount in cent

Example: 200

currencyTypeSTRING

Currency type

Example: "MYR"

totalAfterRoundingOBJECT

Total after rounding

amountINTEGER

Amount in cent

Example: 200

currencyTypeSTRING

Currency type

Example: "MYR"

totalBeforeRoundingOBJECT

Total before rounding

amountINTEGER

Amount in cent

Example: 200

currencyTypeSTRING

Currency type

Example: "MYR"

quantityINTEGER

Quantity of the item

Example: 1

queueNoINTEGER

Queue number of the item

Example: 0

stateSTRING

Order state. Values: ACCEPTED, REJECTED, CANCELED, REFUNDED

Example: "ACCEPTED"

statusSTRING

Delivery status. Values: 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: false

nameSTRING

Table Name

Example: "Table A1"

typeSTRING

Order type. Values: DINEIN, DELIVERY, PICKUP, DRIVE_THRU

Example: ""

updatedAtDATETIME

Last update date time

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