Catalog
View the Roastify catalog, including products and coffee blends
GET/v1/catalog/products
Get All Products
Get all available products in the catalog
Authorization
x-api-key
Required<token>
The API key to authenticate requests provided by Roastify. If you do not have an API key, please contact [email protected]
In: header
Status code | Description |
---|---|
200 | Get all available products in the catalog |
400 | Returns an error |
401 | Unauthorized |
422 | Data Validation Error |
500 | Internal Server Error |
GET/v1/catalog/products/{id}
Get Product by ID
Get a catalog product by ID
Authorization
x-api-key
Required<token>
The API key to authenticate requests provided by Roastify. If you do not have an API key, please contact [email protected]
In: header
Path Parameters
id
Requiredstring
The Id of the resource
Example:"clyd67824rn3f78g0f8j9"
Minimum length: 1
Status code | Description |
---|---|
200 | Get a product by Id in the catalog |
400 | Returns an error |
401 | Unauthorized |
422 | Data Validation Error |
500 | Internal Server Error |
GET/v1/catalog/blends
Get All Coffee Blends
Get all availalbe blends in the catalog. This does not include custom blends or discontinued blends
Authorization
x-api-key
Required<token>
The API key to authenticate requests provided by Roastify. If you do not have an API key, please contact [email protected]
In: header
Status code | Description |
---|---|
200 | Get all availalbe blends in the catalog |
400 | Returns an error |
401 | Unauthorized |
422 | Data Validation Error |
500 | Internal Server Error |
GET/v1/catalog/blends/{id}
Get Coffee Blend by ID
Get a coffee blend by Id
Authorization
x-api-key
Required<token>
The API key to authenticate requests provided by Roastify. If you do not have an API key, please contact [email protected]
In: header
Path Parameters
id
Requiredstring
The Id of the resource
Example:"clyd67824rn3f78g0f8j9"
Minimum length: 1
Status code | Description |
---|---|
200 | Get a blend by Id |
400 | Returns an error |
401 | Unauthorized |
422 | Data Validation Error |
500 | Internal Server Error |