set_purchase_order
Safely preview purchase order changes with dry-run mode before applying. Validate updates via hashes and tokens to prevent unintended inventory writes.
Instructions
Preview-first replacement for the deprecated immediate purchase-order write. Apply remains unavailable until its domain adapter and canary are complete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | patch | |
| dryRun | No | ||
| values | No | ||
| previewToken | No | ||
| idempotencyKey | No | ||
| purchaseOrderId | No | ||
| expectedDesiredHash | No | ||
| expectedSemanticHash | No | ||
| expectedWriteShapeHash | No | ||
| expectedEntityTimestamp | No |