Leaves Coffee Roasters API guide
shop.leavescoffee.jp
Look up beans in the Leaves Coffee Roasters catalogue and compare product names and prices listed by the storefront.
Actions and inputs
/products.jsonRead the public Leaves Coffee Roasters catalogue for bean names, listed prices, and any availability shown.
productsList Leaves Coffee Roasters beans from the most recent catalogue sync. Filter by stock status or search term and compare the listed prices.
Inputs roaster leaves, optional query or in-stock filter
Example inputs
List in-stock beans in the last synced catalogue
- roaster
leaves- in-stock
true
Cart items
- Create
Add a bag of coffee to your cart without checking out.
Inputs Bean listing, available variant if offered, quantity
- Read
Review the beans, quantities, and prices shown in your cart.
Inputs Your storefront session
- Update
Adjust the number of bags for a cart item.
Inputs Cart item, new quantity
- Delete
Remove a bag selection from your cart without affecting any placed order.
Inputs Cart item