Change the status of an existing order. Valid transitions move an order through the workflow: pending → preparing → ready → served. Served or cancelled orders can only be reverted to pending.
Request
curl -X POST https://api.series.hr/fnb/change-order-status/12 \
-H "apikey: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"Status": "preparing"
}'
Path Parameters
The order number to update.
Body
The new order status: pending, preparing, ready, served, or cancelled.
Response
{
"success": true,
"data": {
"WorkspaceId": "a7d5339a-5531-4336-99c6-6f3249c9ac20",
"OrderNumber": "12",
"Action": "change-status",
"NewStatus": "preparing",
"Order": {
"Id": "1717027200000",
"Customer": {
"UserId": 714760171,
"Username": "builderman",
"DisplayName": "Builderman",
"AvatarUrl": "https://tr.rbxcdn.com/..."
},
"OrderType": "dine-in",
"TableNumber": "T1",
"OrderNumber": "12",
"Items": [],
"Status": "preparing",
"ClaimStatus": "claimed",
"ClaimedBy": null,
"Total": 50,
"CreatedAt": "2026-04-05T11:30:00.000Z",
"CreatedBy": "714760171",
"UpdatedAt": "2026-04-05T12:05:00.000Z"
}
}
}
Status Codes
200: Order status updated successfully
400: Invalid status value, or invalid state transition
401: API key is required or invalid
403: F&B module is disabled or workspace access is denied
404: Order not found
Pass your API key in the apikey header. Alternatively, the x-api-key header is also accepted.
The order number to update
Available options:
pending,
preparing,
ready,
served,
cancelled