Stock
| Field | Type | Required | Description |
|---|---|---|---|
info |
string |
A custom text concerning stock (see available_text in old cake system) | |
orderable |
boolean |
A boolean flag that determines if the product it orderable at all | |
quantity |
integer |
The amount of products that are available format: int32 |
|
maxOrderQuantity |
integer |
The maximum of amount of items that are orderable in one order format: int32 |
|
minOrderQuantity |
integer |
The minimu amount of items that have to be ordered of this product format: int32 · default: 1 |
|
ignoreQuantity |
boolean |
If true, this will allow the customer to buy more products than are available in stock default: true |
Example
Section titled “Example”{ "info": "string", "orderable": true, "quantity": 0, "maxOrderQuantity": 0, "minOrderQuantity": 0, "ignoreQuantity": true}
