Skip to main content

批量同步券码状态更新

基本信息

接口名称:批量同步券码状态更新状  态:已完成
接口路径:POST /paas/micro/ecoupon/batchUpdateCodeStatus更新时间:2024-04-11 22:26:09
Mock地址:https://apimock.e-buychina.com/mock/617/paas/micro/ecoupon/batchUpdateCodeStatus

请求参数

Headers:

参数名称参数值是否必填
Content-Typeapplication/json

Body:

参数名称类型必填默认值备注其他信息
appIdstring
actionstring
signTypestring
langstring
uuidstring
contentobject
  updateTypestring操作类型
  notifyTypestring通知类型Mock:@string
  codeValidEndstring码有效结束时间(yyyyMMddHHmmss)
  codesarray券码列表(券码数量不能超出20)
  brandIdnumber品牌id
  isNotifystring是否通知销售渠道(默认为空无须通知,Y需要通知)
  supportPartialstring是否支持部分成功(默认为空不支持,Y支持通知)
timestampnumber

返回数据

参数名称类型必填默认值备注其他信息
successboolean
errorMessagestring
signstring
actionstring
errorCodestring
signTypestring
uuidstring
contentobject
  codeStatusListarray激活响应明细
    codestring券码
    currentStatusstring当前券码状态
    statusDescstring当前券码状态说明
    saleChannelIdstring销售渠道id
    saleChannelCodestring销售渠道编码
    ticketIdstring券批次id
    ticketNamestring券批次名称
    validStartstring券码有效期开始时间
    validEndstring券码有效结束时间
timestampnumber

备注

updateType 操作名称 更新前状态 更新后状态 备注
invalid 串码作废 00:未使用、初始化
03:未激活
04:已冻结
05:已作废
freeze 冻结串码 00:未使用 04:已冻结 已冻结的串码,可以调用解冻操作后恢复原状态
unfreeze 解冻串码 04:已冻结 00:未使用
delay 券码延期 已作废和已使用 不可延期
延期券码有效期不能为空




notifyType 操作名称
brand 品牌通知
agentChannel 代理商通知
saleChannel 销售渠道通知

变更历史

变更日期变更内容
2024-04-11
2024-04-10
2024-03-25
2024-03-25
2024-03-25
2024-03-25
2024-03-25
api-id=36402