company.Stock

The stock data for a product

Field Type Description
soldout Bool Is this product sold out?
amount UInt? Nullable. The amount of products in stock
soldoutUntil DateTimeHHMM Untill when is the product sold out?

Examples

Example 1

{
    "soldout": true,
    "amount": 12,
    "soldoutUntil": "2019-01-31 12:00"
}
1.9.0 stable