We have added a new field to Product detail endpoint: negativeStockAllowed (data.variants[].negativeStockAllowed). In case an eshop does not allow to sell goods not available on stock (negative stock), this option can be overriden for individual products (variants). Possible values are:
yes-global – selling goods not on stock is allowed in the eshop (all products)no-global – selling goods not on stock is not allowed in the eshop (and there is no exception for this product)yes – selling goods not on stock is not allowed in the eshop, but there is an exception for this product – it can be sold even if not avaiable on stockNote: The other way around, i. e. all products can be sold even if not on stock, but individual products can be forbidden, is not possible.