Kawa Coffee API #

Order coffee ahead, pay for it, and get told when it is ready.

A sample API for a chain of coffee shops. Every request needs a bearer token from the developer console.

Base URL https://api.kawa-coffee.example/v2 · OpenAPI 3.1.0 · v2.3.0 · 12 operations · 9 models · 1 journey

Resources #

ResourcesListCreateReadUpdateDeleteOther
MenuDrinks and the options each one takes.GET/menu-items—GET/menu-items/{itemId}———
OrdersAn order is what a customer asks one store to make.GET/ordersPOST/ordersGET/orders/{orderId}PATCH/orders/{orderId}—POST/orders/{orderId}/cancel
PaymentsOne payment settles one order.—POST/paymentsGET/payments/{paymentId}———
StoresOpening hours and how busy each store is.GET/stores————GET/stores/{storeId}/queueSince 2.3.0
Webhooks—————HOOKorder.paid

Journeys #

  • Order and pay — From picking a drink to hearing that the payment went through.

Models #

API changes

Comments