Redeem Ticket
Description
兑回票劵。
Resource
PATCH /v1/tickets/redeem
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Request Body Parameters
| Name | Type | Description |
|---|---|---|
| store_id | string | 門市代碼 |
| ticket_id | string | 票劵代碼 |
| order_id | string | 訂單編號 (option) |
Request
{
"store_id": "A001",
"ticket_id": "TESTTK001"
}
Response
Status-Code: 204 No Content