Adjust inventory level
easystore_adjust_inventory_levelWRITE. Add to or remove from the stock of one variant at one location by a relative amount (positive adds, negative removes; 0 is rejected). Not idempotent: repeating it changes the stock again. Omit location_id for the primary location. Needs write_products. PUT /api/4.0/inventory_levels/adjust.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant_id | Yes | Variant id (see easystore_list_product_variants). | |
| location_id | No | Location id (see easystore_list_locations). Default: the primary location. | |
| adjustment_quantity | Yes | Relative change: 5 adds 5, -5 removes 5. |