Set stock quantity
skuvault_set_stock_quantityWRITE: set the exact quantity of a product at one warehouse location, overwriting what is there (running it again with the same values changes nothing more). Use skuvault_get_inventory_by_location first to see the current quantity. Moderate throttling (10/min). POST /inventory/setItemQuantity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Product SKU (give sku or code). | |
| code | No | Product code (give sku or code). | |
| quantity | Yes | The new quantity at that location (0 or more). | |
| warehouse_id | Yes | SkuVault warehouse id (an integer; see skuvault_list_warehouses). | |
| location_code | Yes | Location whose quantity is set. |