企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## Coupon Verify >接口说明 优惠券验证接口 >接口请求说明 HTTP请求格式: application/json >接口参数说明 ~~~[api] post:/api/coupon/verify *string:code#优惠码 *string:orderNumber#订单号 *string:tripType#航程 :OW - 单程,RT - 往返 *string:route#航线:YTO-CTU,BJS-YTO *string:cabin#舱位:E - 经济舱,F - 头等舱,B - 商务舱,P - 高级经济舱 *string:carrier#航司:US,CA *string:platformType#平台类型:WEB Or MOBILE <<< success { "status": 0, "msg": "success", "timestamp": "20180815033851801", "code": "tianbao200", "discountAmount": 200, "discountType": "DIRECTLY_REDUCE", "fareType": "TOTAL_FEE", "currencyCode": "USD", "effectType": "EACH_ORDER" } <<< error { "status": 1001, "msg": "Invalid promo code", "timestamp": "20180718044652458" } ~~~ >接口请求示例 ~~~ { "code":"tianbao200", "orderNumber":"", "tripType":"OW", "route":"CTU-YTO", "cabin":"F", "carrier":"US", "platformType":"WEB" } ~~~