Black & White Coffee API guide

blackwhiteroasters.com

Browse the Black & White Coffee storefront catalogue and compare listed coffee names and prices when available.

Actions and inputs

products

List Black & White Coffee beans from the most recent catalogue sync. Filter by stock status or search term and compare the listed prices.

Inputs roaster black-and-white, optional query or in-stock filter

/products.json

Read public product listings directly from the Black & White Coffee storefront.

Example inputs

List in-stock beans in the last synced catalogue

roaster
black-and-white
in-stock
true

Coffee cart items

Create

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

Inputs Coffee product link, available bag size, quantity

Read

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

Inputs Your 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 without changing any existing subscription.

Inputs Cart item