Skip to content

Reissue Tickets

Description

補發票券。

Resource

POST /v1/ticket/reissue

Authorization

採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login

Request Body Parameters

Name Type Description
members Member[] 會員列表
date string 日期
EXAMPLE "2021-01-01"

Request Body Parameters - Member

Name Type Description
vip_id string 會員編號
old_vip_group_id string 異動前的會員群組編號
new_vip_group_id string 異動後的會員群組編號
update_type string 更新類型
ALLOWED VALUES:
  • UPGRADE
  • DOWNGRADE
  • RENEW
  • CHANGE
seal_quantity int 集章數量

Request Body Example

{
  "members": [
    {
      "vip_id": "00000APP077650",
      "old_vip_group_id": "Z01",
      "new_vip_group_id": "Z02",
      "update_type": "UPGRADE",
      "seal_quantity": 5
    },
    {
      "vip_id": "00000APP087873",
      "old_vip_group_id": "Z01",
      "new_vip_group_id": "Z01",
      "update_type": "RENEW",
      "seal_quantity": 0
    }
  ],
  "date": "2021-01-01"
}

Response

Status-Code: 204 No Content