I'm building a React storefront for a client using the Storefront API and am having trouble finding a value for the current stock quantity in the checkout from the product object gets returned from the API request. I can see the 'avaliable for sale' boolean, but I need to build a selection dropdown for quantities, limited to the amount of items in stock.
I might be missing something completely obvious, in which case - apologies, but it seems to be either missing from the response object, or I'm being completely blind?
attached is an example of a product:
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022