assign_order
Assign a pending order to an assignee for fulfilment. Business-rule preconditions are enforced; rejections return machine-readable errors and are audit-logged.
Instructions
Assign a pending order to a person for fulfilment. Writes are gated: if a business rule rejects this call, the error is machine-readable ({ code, message }) and the attempt is recorded in the audit log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | ||
| assignee | Yes |