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.

基础地址 https://api.kawa-coffee.example/v2 · OpenAPI 3.1.0 · v2.3.0 · 12 个接口 · 9 个模型 · 1 条旅程

资源 #

资源列表创建读取更新删除其他动作
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}/queue2.3.0 起
Webhooks—————HOOKorder.paid

旅程 #

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

模型 #

版本变更

评论