Update product stock on all marketplaces
channable_update_stockSet the stock of up to 50 offers. Each item is the offer id as the marketplaces know it, plus the WHOLE new stock value (not a delta). Channable passes the new stock to every marketplace of the project, which changes what customers can buy. POST /v1/companies/{company}/projects/{project}/stock_updates. Channable passes this change on to the marketplace. It cannot be undone through this API and the call is never retried; if it times out, check the order in Channable before trying again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | 1-50 stock updates. | |
| project_id | No | Channable project id (Project settings). Default: the project chosen at login. |