Update stock
update_stockUpdate the stock quantity for a product or specific variant on supported marketplaces. Requires explicit seller confirmation before executing.
Instructions
Set the stock quantity for one product or a specific variant.
[ROUTINE] This action changes live shop data and requires the seller's explicit confirmation before it executes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stock | Yes | ||
| platform | No | Marketplace to target. Defaults to shopee. | |
| product_id | Yes | ||
| variant_id | No | ||
| confirmation_token | No | Echo back the token from a prior 'confirmation required' response to approve and execute this action. Only needed when the client cannot prompt directly. |