Update Item Quantity By ID
Quick endpoint to update only the quantity of an item without touching other fields.
When to Use
▾
Use this endpoint when:
- Stock count changes (inventory adjustment)
- Out-of-stock toggles via quantity = 0
How to Use
▾
/v3/serviceStep 1: Get the Item ID
▾
Use the itemId returned by Create Item.
Step 2: Send the Quantity Update
▾
POST function: "update.item.quantity" with the new quantity.
Request Parameters
▾
alacarte service
Example: "alacarte"
Currently only support 'v1"
Example: "v1"
Function that provide by alacarte
Example: "update.item.quantity"
Request body
Item ID
Example: "5f698149585d7cc1ae35a391"
Item quantity
Example: 300
Response Parameters
▾
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: "5f698149585d7cc1ae35a391"
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"
Last update date time
Example: "2020-09-22T04:44:57.950398414Z"