In this example we will query a product variant:
Shirt.Shirt has 2 options - Size and Color.S/M/L.Red/Green/Blue.S+Red is out of stock.Call Get Product to retrieve product options
Call Get Product Options Availability to retrieve the S size availability
Notice in the response that:
Red is out of stock because S+Red is out of stock.availableForPurchase is false because both size and color must be given for this product.Call Get Product Options Availability to retrieve the availability of S+Green
Notice in the response that:
availableForPurchase is true.