Get Items By Category ID
Retrieve all menu items in a specific category by its categoryId.
When to Use
▾
Use this endpoint when:
- Listing items grouped by category
- Building a category-driven menu UI
How to Use
▾
/v3/serviceStep 1: Get the Category ID
▾
Use the categoryId from Get Categories By Store ID.
Step 2: Send the Query
▾
POST function: "get.category.items" with the categoryId.
Request Parameters
▾
alacarte service
Example: "alacarte"
Currently only support 'v1"
Example: "v1"
Function that provide by alacarte
Example: "get.category.items"
Request body
ID of the Category
Example: "5eabf31ee0e9cd7b01a3a35e"
Response Parameters
▾
Optional, if pagination exists.
Example: ""
Current page record
Example: 2
List of items
Category ID
Example: ""
Name of Category
Example: ""
Creation date time
Example: "2020-09-22T04:44:57.950398414Z"
Description of the item
Example: "Describe"
Item image
Example: []
Item available
Example: true
Item ID
Example: "5eaeee9db07a77cef7caceb6"
Item name
Example: "Test123"
Current position among item
Example: 2
Item preferences
Preferences ID
Example: "5f698149585d7cc1ae35a38d"
Preferences name
Example: "Sweetness"
Set minimum choice
Example: 1
Set maximum choice
Example: 3
Preference labels
Label ID
Example: "5f698149585d7cc1ae35a38e"
Label name
Example: "Basic"
Item price
Amount in cent (min RM 0.10 10 = RM 0.10)
Example: 100
Current only support Ringgit Malaysia
Example: "MYR"
Item quantity
Example: 350
Schedules startAt and endAt
Example: ["2020-09-22T02:00:00.000Z", "2020-09-22T14:00:00.000Z"]
Item sides
Side Category ID
Example: "5f698149585d7cc1ae35a395"
Side Category name
Example: "Side Category 1"
Side Category available
Example: true
Set minimum choice
Example: 1
Set maximum choice
Example: 3
Side items
Side Item ID
Example: "5f698149585d7cc1ae35a392"
Side Item is available
Example: true
Side Item name
Example: "Coke"
Side item price
Amount in cent (min RM 0.10 10 = RM 0.10)
Example: 100
Current only support Ringgit Malaysia
Example: "MYR"
Item SKU
Example: "fkj31i"
Last update date time
Example: "2020-09-22T04:44:57.950398414Z"