Update Category By ID
Update a category's name, status, or position in the menu order.
When to Use
▾
Use this endpoint when:
- Renaming a category (e.g., "Drinks" → "Beverages")
- Activating / deactivating a category
- Re-ordering categories on the menu
How to Use
▾
/v3/servicePOST function: "update.category" with categoryId and the changed fields. Use positionChange 1 to move down, -1 to move up.
Request Parameters
▾
alacarte service
Example: "alacarte"
Currently only support 'v1"
Example: "v1"
Function that provide by alacarte
Example: "update.category"
Request body
ID of the Category
Example: "5f68485ccb3285b9d3955696"
Category name
Example: "Drinks"
Status of Category "ACTIVE" and "INACTIVE"
Example: "ACTIVE"
Move UP or DOWN the position using -1 or 1
Example: 1
Response Parameters
▾
Updated category
Category ID
Example: "5f68485ccb3285b9d3955696"
ID of the Store that Create from RM
Example: "10946114768247530"
Category Items
Example: null
Item Name
Example: "Drinks"
Status of Item
Example: "ACTIVE"
Current position among Category
Example: 1
Creation date time
Example: "2020-09-22T04:25:23.684330293Z"
Last update date time
Example: "2020-09-22T04:25:23.684330293Z"