set_stock_count
Preview stock-count changes before applying them. Validate adjustments with dry-run mode to prevent incorrect inventory updates.
Instructions
Preview-first replacement for the deprecated immediate stock-count 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 | ||
| stockCountId | No | ||
| idempotencyKey | No | ||
| expectedDesiredHash | No | ||
| expectedSemanticHash | No | ||
| expectedWriteShapeHash | No | ||
| expectedEntityTimestamp | No |