updateRikmaOrderStatusTool
Advance a paid store order to shipped, fulfilled, or cancel it as its holder. Any member may mark shipped/fulfilled (getting the parcel out is the rikma’s work); cancel is holder-only — the member whose till took the money — because it resets their own self-reported sales not yet in a split; sales already in a split are left and the rikma is told to settle the refund. Idempotent (same status twice succeeds quietly); backwards transitions refuse (§3.4). On cancel, pass restock:true to put the items back on the shelf (default: only when the order was not yet shipped). Members only. Docs: https://1lev1.com/mcp#updateRikmaOrderStatusTool
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"orderRef": "<orderRef>",
"action": "<action>"
},
"name": "updateRikmaOrderStatusTool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | shipped → parcel left, fulfilled → delivered/picked up, cancel → refund. | |
| reason | No | Cancel reason shown on the order and in sale notes. | |
| restock | No | On cancel: put items back in stock. Default: only when not yet shipped. | |
| orderRef | Yes | Order ref (`<rikma>:<externalId>` as POST /orders answered) or orderId. | |
| projectId | Yes | Rikma id. | |
| trackingUrl | No | On shipped: a tracking page (http/https). | |
| trackingNumber | No | On shipped: the carrier’s tracking number. The buyer is mailed that it left, with this number. | |
| trackingCarrier | No | On shipped: the carrier, e.g. DHL. |