We have enhanced Product insertion and Product update endpoints to set availabilities:
data.variants[].availabilityId
– availability of products on stock;data.variants[].availabilityWhenSoldOutId
– availability of products, which are currently our of stocks.In both cases the availability must exist. There is endpoint List of product availabilities providing the complete list.