order-discounts
12 个接口(读 5 / 写 7) · 其中 7 个高危 · 凭证范围:查询需 finance:read,写操作需 finance:write
| 接口 | 编码 | 后端签名 | |
|---|---|---|---|
| POST | 按订单查询优惠申请 | finance.order-discounts.by-order | /v1/order-discounts/by-order |
| POST 高危 | 创建优惠申请 | finance.order-discounts.create | /v1/order-discounts/create |
| POST 高危 | 删除优惠申请 | finance.order-discounts.delete | /v1/order-discounts/delete |
| POST | 查询优惠申请详情 | finance.order-discounts.detail | /v1/order-discounts/detail |
| POST | 获取申请订单快照 | finance.order-discounts.order-snapshot | /v1/order-discounts/order-snapshot |
| POST | 分页查询优惠申请 | finance.order-discounts.page | /v1/order-discounts/page |
| POST 高危 | 反审核已生效优惠 | finance.order-discounts.reverse-approval | /v1/order-discounts/reverse-approval |
| POST | 查询优惠统计 | finance.order-discounts.statistics | /v1/order-discounts/statistics |
| POST 高危 | 提交优惠审批 | finance.order-discounts.submit | /v1/order-discounts/submit |
| POST 高危 | 更新优惠申请 | finance.order-discounts.update | /v1/order-discounts/update |
| POST 高危 | 作废已生效优惠 | finance.order-discounts.void | /v1/order-discounts/void |
| POST 高危 | 撤回优惠审批 | finance.order-discounts.withdraw | /v1/order-discounts/withdraw |
调用协议(各页通用)
本实体接口统一通过 POST https://open.risemap.cn/v1/api/invoke 调用,用 apiCode 指定接口。
JSON 响应为统一信封 { code, message, data },文件接口成功时直接返回文件;
错误码见错误码说明;凭证获取与调用协议见开放接口清单。
示例中的鉴权头为 OAuth 访问令牌形态;AppKey 集成商换成 -H "X-App-Key: <appKey>" -H "X-App-Secret: <appSecret>" 即可,其余不变。
所有调用以绑定员工身份执行,员工须具备对应主站功能权限(默认按后端接口 URL 自动对照,个别接口单独标注权限码)。
本页由接口注册表与后端接口规格自动生成。