cURL
curl --request GET \ --url https://api.roastify.app/v1/stock \ --header 'x-api-key: <api-key>'
[ { "sku": "COF-GND-12O-FHV-BOX", "stockQty": 100, "inStock": true } ]
Get the stock status and quantity of all available variants
The API key to authenticate requests provided by Roastify. A Base or Pro plan is required to use the API.
Returns the stock list
The SKU of the variant
"COF-GND-12O-FHV-BOX"
The stock quantity of the variant. If the quantity is 999, it means the stock is considered unlimited.
100
Boolean indicating whether the variant is in stock
true