order.mark_delivered
Mark a shipped order delivered (shipped -> delivered), stamping the arrival on its shipment. Idempotent by state; out-of-sequence is a conflict.
- Scope:
order.write - System: no
- Reachable from:
POST /v1/commands/order.mark_delivered(tenant credential) · MCP toolorder.mark_delivered· SDKclient.call('order.mark_delivered', …) - Events:
order.delivered
Input (JSON Schema)
Section titled “Input (JSON Schema)”{ "properties": { "order_id": { "minLength": 1, "type": "string" }, "shipment_id": { "minLength": 1, "type": "string" } }, "required": [ "order_id" ], "type": "object"}Result (200)
Section titled “Result (200)”{ "additionalProperties": false, "properties": { "order_id": { "type": "string" }, "status": { "type": "string" } }, "required": [ "order_id", "status" ], "type": "object"}Errors
Section titled “Errors”validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)