We have introduced a new endpoint Product availabilities, which provides a complete list of product availabilities defined in the eshop (
/admin/availabilities/), such as “On Stock” or “Sold out”.
Endpoint Product detail now returns objects
availabilityWhenSoldOut for each product or variant. The object contains
name of the availability (if defined).