Heart Roasters API guide

heartroasters.com

Browse the Heart Roasters storefront catalogue to see which coffees are listed and compare bean names and prices where shown.

Actions and inputs

/products.json

Read the public Heart Roasters storefront catalogue.

products

List Heart Roasters beans from the most recent catalogue sync. Filter by stock status or search term and compare the listed prices.

Inputs roaster heart, optional query or in-stock filter

compare

Compare selected Heart Roasters coffees by name and listed price where available.

Inputs two or more bean selections

Example inputs

List in-stock beans in the last synced catalogue

roaster
heart
in-stock
true

Cart items

Create

Add an available coffee to your cart for a one-time purchase without checking out.

Inputs Coffee, available bag size, quantity

Read

Review the coffees, bag sizes, and subtotal shown in your cart.

Inputs Your current cart

Update

Adjust the number of bags for a coffee in your cart.

Inputs Cart item, new quantity

Delete

Remove a coffee from your cart; this does not cancel an order or subscription.

Inputs Cart item