Add inventory items to a plan
Adds items to a restock, rebalance, markdown, supplier-return or supplier-exchange plan. On rerun, existing items matching (plan, variant, size, shop) are refreshed in place via ITEM_UPDATED audit; items with a prior manual user edit are skipped. Used by the Databricks workflow executor. Requires Bearer token authentication.
Authorizations
Static internal-ops token used by the data platform and internal cron jobs (e.g. zombie-run sweep). Validated via requireBearerToken inside the handler against a service-specific environment variable.
Body
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Non-empty list of restock items to add or refresh in the plan
1UUID of the organization that owns the plan
1UUID of the existing plan to add items to
1Discriminator — must be 'RESTOCK' for this variant
RESTOCK Databricks workflow run ID; used as the audit sourceRef for every item written

