GET
/
v1
/
variants
/
product
/
{id}
curl --request GET \
  --url https://api.roastify.app/v1/variants/product/{id} \
  --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

id
string
required

The Id of the resource

Minimum length: 1
Example:

"clyd67824rn3f78g0f8j9"

Response

200
application/json
Get a variant by Id

The response is of type object[].