API說明

API位置 /new_ezding/orders/cancel_seats
需求描述 取消座位
傳輸物件格式 json
方法 POST

範例

curl -X POST     \
-H " X-Ftcsys-key: {KEY}" \ 
-H " X-Ftc-Authorization: {token}" \
-H " X- Accept-Language: {language}" \
-H "Content-Type: application/json" \ 
-d '{
"transaction_id": "20007422997",
"cinema_id": "1b47c492287211e69b8d6f151a450c6d",
}
https://{endpoint}/new_ezding/orders/cancel_seats

回傳範例 - 取消成功

< HTTP/1.1 200 OK
< Content-Type: application/json; charset=UTF-8
{
  "result": "",
  "code": 200,
  "status": "success"
}

回傳錯誤 - 取消失敗

< HTTP/1.1 403 Forbidden
< Content-Type: application/json; charset=UTF-8
{
  "code": 403,
  "message": "取消失敗",
  "status": "failure"
}

接收json參數

參數 名稱 範例 必填 備註
transaction_id 影城交易代碼ID 20007422997 Y
cinema_id 影城ID 1b47c492287211e69b8d6f151a450c6d Y

results matching ""

    No results matching ""