Skip to main content

批次编辑

基本信息

接口名称:编辑券批次状  态:已完成
接口路径:POST /paas/micro/ecoupon/_updateBrandTicketDirect更新时间:2024-04-28 23:16:29
Mock地址:https://apimock.e-buychina.com/mock/617/paas/micro/ecoupon/_updateBrandTicketDirect

请求参数

Headers:

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

Body:

参数名称类型必填默认值备注其他信息
uuidstring
appIdstring
langstring
actionstringMock:_updateBrandTicketDirect
timestampnumber
contentobject
  brandSalePricenumber商户实收金额(单位分)
  ticketValidStartnumber活动开始时间
  ticketValidEndnumber活动结束时间
  codeValidStartstring券码可用开始时间
  codeValidEndstring券码可用结束时间
  commissionDatenumber券码相对有效期类型
  codeValidDaysnumber券码相对有效期天数
  ticketTypestring批次类型
  brandIdstring品牌id
  brandNamestring品牌名称
  ticketNamestring批次名称
  saleChannelIdnumber销售渠道id
  productIdnumber券产品id
  ticketBindInfoobject批次活动信息
    bingTicketIdstring
    ebuyTicketIdstring活动产品id
    ebuyTicketNamestring活动产品名称
    thirdSendTicketIdstring三方码商产品id
  ticketUseDescriptionobject批次描述
    useDescriptionstring使用用途说明
    discountDescriptionstring
  saleChannelInfoobject
    saleChannelIdnumber销售渠道id
    saleChannelNamestring销售渠道名称
    activitystring活动名称
    productSourcestring
    thirdpartySourceIdnumber活动id
  ticketConfigobject批次自定义配置
    supportSameDayCancelstring是否支持当天核销撤销
    supportNextDayCancelstring是否支持隔日核销撤销
    merchantCustomRealAmountstring是否为A
B账户(Y或空)
    codePrefixstring券码自定义前缀
    codeSuffixstring券码自定义后缀
    codeRandomstring券码随机数长度
    codeRandomTypestring券码随机数类型
    stepPricestring是否阶梯价
  paymentParamobject自定义参数
    printTemplatestring小票打印模板
    isOverIncomestring是否支持溢收
    paymentParamobject收银机自定义参数
  ticketIdnumber批次id
signTypestring

返回数据

参数名称类型必填默认值备注其他信息
uuidstring请求序列号最大长度:50
最小长度:1
Mock:@now('yyyyMMdd')-@string('lower',32)
successboolean交易成功与否Mock:@boolean
actionstring交易类型最大长度:50
最小长度:1
Mock:_addEcouponTicket
timestampnumber返回时间戳Mock:@timestamp
errorCodestring错误码最大长度:50
Mock:@word
errorMessagestring错误描述最大长度:50
Mock:@csentence
signTypestring签名类型最大长度:20
Mock:sha256
signstring签名值最大长度:500
Mock:@natural
contentobject返回报文
  ticketIdinteger批次idMock:1

备注

变更历史

变更日期变更内容
2024-04-28
2024-04-28
2024-04-25
2024-04-25
api-id=36468