GET
/
v1
/
stock
/
{sku}
curl --request GET \
  --url https://api.roastify.app/v1/stock/{sku} \
  --header 'x-api-key: <api-key>'
{
  "sku": "COF-GND-12O-FHV-BOX",
  "stockQty": 100,
  "inStock": true
}

Authorizations

x-api-key
string
header
required

The API key to authenticate requests provided by Roastify. If you do not have an API key, please contact [email protected]

Path Parameters

sku
string
required

The SKU of the resource

Minimum length: 1
Example:

"COF-WHB-12O-FHV-BOX"

Response

200
application/json
Returns the stock status and quantity of a variant

The response is of type object.