收藏
回答

创建代金券单天限额必须为面额整数倍?

{

"stock_type": "NORMAL",

"coupon_use_rule": {

"available_merchants": ["*******"],

"combine_use": false,

"available_items": [],

"fixed_normal_coupon": {

"coupon_amount": 5000,

"transaction_minimum": 20000

}

},

"no_cash": false,

"stock_use_rule": {

"prevent_api_abuse": true,

"natural_person_limit": true,

"max_amount_by_day": 400,

"max_amount": 500000,

"max_coupons_per_user": 1,

"max_coupons": 100

},

"stock_name": "1",

"available_end_time": "2024-07-31T00:00:00+08:00",

"comment": "",

"pattern_info": {

"background_color": "COLOR010",

"coupon_image": "",

"merchant_logo": "",

"description": "****"

},

"belong_merchant": "*****",

"out_request_no": "****",

"available_begin_time": "2024-06-12T23:00:00+08:00"

}

这是参数,我都无语了,接口文档中并没有 单天限额字段,为什么创建总是提示:failed,resp code = 400,return body = {"code":"PARAM_ERROR","message":"单天限额必须为面额整数倍"}

最后一次编辑于  06-12
回答关注问题邀请回答
收藏

1 个回答

  • Memory (私信不回复)
    Memory (私信不回复)
    06-12

    你数学是咋学的?眼神貌似也不太好

    "coupon_amount": 5000,

    "max_amount_by_day": 400,

    



    06-12
    有用 1
    回复 2
    • yx
      yx
      06-12
      。。。。 笑死 确实我眼神不好 我把单位看成了 个
      06-12
      回复
    • yx
      yx
      06-12
      谢谢谢谢了
      06-12
      回复
登录 后发表内容