Change an order #

PATCH/orders/{orderId}
鉴权: bearerAuth (bearer)

Only orders waiting for payment can change.

参数 #

路径参数
orderIdstring必填

请求体 #

application/json示例由 schema 生成
{
}

响应 #

The changed order.
application/json示例由 schema 生成
{
},
}
}
],
}

代码示例 #

curl -X PATCH "https://api.kawa-coffee.example/v2/orders/ord_8f2k1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "note": "note",
    "pickup_at": "2026-01-15T09:30:00Z"
  }'

评论