Create Category
Create a new menu category in an à la carte store.
When to Use
▾
Use this endpoint when:
- Adding a new menu category (e.g., "Drinks", "Desserts")
- Setting up a fresh store's menu structure
How to Use
▾
/v3/servicePOST function: "create.category" with storeId, name, and status.
Request Parameters
▾
alacarte service
Example: "alacarte"
Currently only support 'v1"
Example: "v1"
Function that provide by alacarte
Example: "create.category"
Request body
ID of the Store that Create from RM
Example: "1556079400120532579"
Category name
Example: "Drinks"
Status of Category "ACTIVE" and "INACTIVE"
Example: "ACTIVE"
Response Parameters
▾
Optional, if pagination exists.
Example: ""
Current page record
Example: 1
Created categories
Category ID
Example: "5f697cb3585d7cc1ae35a37f"
ID of the Store that Create from RM
Example: "1556079400120532579"
Category Items
Example: null
Item Name
Example: "Drinks"
Status of Category "ACTIVE" and "INACTIVE"
Example: "ACTIVE"
Current position among Category
Example: 7
Creation date time
Example: "2020-09-22T04:25:23.684330293Z"
Last update date time
Example: "2020-09-22T04:25:23.684330293Z"