Prepare an exact inventory adjustment
supercatch_prepare_inventory_adjustmentFreeze one exact owned listing, expected version, quantity adjustment and seller reason. Inspect its reservation-aware plan and approve it in SuperCatch before execution. Use the exact owned listing ID and version from SuperCatch's native listing surface. Inventory changes require a separately approved native plan. No pricing, listing identity/content, order, publication or provider-quantity verification changes. A queued follow-up is not provider acceptance. Returns a strict inventory.adjust plan, durable operation receipt or bounded history page. Approval references, credentials and private follow-up details are never returned. Requires OAuth store:inventory:write consent. Requires separate store:inventory:write consent and current EDIT_LISTINGS permission on an approved owned store. One exact listing per plan; plans expire after nine minutes; execution accepts only plan ID, stable idempotency key and the native approval reference when supplied by the approved flow. Persists an expiring exact inventory plan for trusted native web approval; does not change stock. Foreign or stale listings, changed reservations or recipients, revoked consent, mismatched plans and reused keys for another intent fail. After an uncertain response, recover the same operation with its original key before any new adjustment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Set the exact local on-hand stock count. Apply a nonzero relative change to local on-hand stock. | |
| delta | No | Nonzero integer change to local on-hand stock; the resulting count cannot be negative. | |
| reason | No | Required seller explanation recorded with the inventory adjustment. Required seller explanation recorded with the inventory adjustment. | |
| quantity | No | Desired local on-hand count, including copies held by active reservations. Effective checkout availability subtracts those holds. Zero is allowed; native single-copy limits still apply. | |
| listing_id | No | Exact owned listing ID, never a catalog ID or slug. Exact owned listing ID, never a catalog ID or slug. | |
| expected_version | No | Exact listing version returned by SuperCatch; stale inventory plans are rejected. Exact listing version returned by SuperCatch; stale inventory plans are rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||