Set stock level
smaregi_set_stockWRITE: set the absolute stock quantity of one product in one store, replacing the current quantity. Use smaregi_adjust_stock for a relative change. PATCH /stock/{product_id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Note stored in the stock history. | |
| store_id | Yes | Numeric Smaregi id (string or number). | |
| product_id | Yes | Numeric Smaregi id (string or number). | |
| stock_amount | Yes | The new quantity. |