Get Hilife Tickets Usage Records
Description
取得萊爾富票券使用紀錄。
Resource
GET /v1/ticket/hilife_usage_records/{store_id}
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Path Parameters
| Name | Type | Description |
|---|---|---|
| store_id | string | 門市代號 |
Query Parameters
| Name | Type | Description |
|---|---|---|
| start_date | string | 開始日期 EXAMPLE "2020-01-01" |
| end_date | string | 結束日期 EXAMPLE "2020-01-01" |
Request
GET /v1/ticket/hilife_usage_records/A01?start_date=2021-08-10&end_date=2021-08-10
Response
{
"tickets": [
{
"id": "TE0020",
"redeem_product_id": "01001",
"redeem_product_name": "清降蛤蠣義大利麵",
"use_time": "2020-11-21 16:04:02"
}
]
}
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| tickets | Ticket | 票劵列表 |
Response Body Parameters - Ticket
| Name | Type | Description |
|---|---|---|
| id | string | 票劵編號 |
| redeem_product_id | string | 兌換商品編號 |
| redeem_product_name | string | 兌換商品名稱 |
| use_time | string | 票券兑回時間 | |