GET
/
v1
/
products
curl --request GET \
  --url https://api.roastify.app/v1/products \
  --header 'x-api-key: <api-key>'
{
  "products": [
    {
      "id": "clyd67824rn3f78g0f8j9",
      "createdAt": "2024-02-19T17:09:28.925Z",
      "title": "12oz Coffee Box",
      "description": "<string>",
      "imageUrl": "https://d13jwb0zul8vwm.cloudfront.net/design-upload/02288a8b-8644-487a-b8f9-297fe779cc97.jpeg",
      "productType": "CoffeeBox12oz"
    }
  ],
  "pageInfo": {
    "endCursor": "<string>",
    "hasNextPage": true
  }
}

Authorizations

x-api-key
string
header
required

The API key to authenticate requests provided by Roastify. A Base or Pro plan is required to use the API.

Query Parameters

cursor
string

The cursor to start from. This is the productId of the last product in the previous page. This can also be found in the endCursor property of the previous page's response.

Example:

"clyd67824rn3f78g0f8j9"

pageSize
string

The number of results to return. Defaults to 20 and maximum is 100

Example:

"10"

Response

200
application/json

Returns all products in your Roastify Merchant account (paginated)

The response is of type object.