GET
/
v1
/
variants
/
{sku}
curl --request GET \
  --url https://api.roastify.app/v1/variants/{sku} \
  --header 'x-api-key: <api-key>'
{
  "id": "clyd67824rn3f78g0f8j9",
  "title": "12oz Coffee Box",
  "size": "<string>",
  "color": "<string>",
  "retailPrice": 123,
  "sku": "COF-GND-12O-COL-BOX",
  "inStock": true,
  "stockQty": 999
}

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
Get a variant by SKU

The response is of type object.