有赞新零售社区

发帖
API使用问题»C# 请求youzan.scrm.card.create错误

C# 请求youzan.scrm.card.create错误

0a777353d1e0 2018-12-21 788 浏览 2 评论 | [显示全部楼层] [打印]
API:youzan.scrm.card.create 3.0.0
店铺名称:小鲜村健康驿站
店铺ID:42254106


入参:{"activate_mode":0,"card_type":1,
"color_code":"#55bd47",
"is_allow_share":true,
"term_days":9999,
"term_type":0,
"sync_weixin_mode":0,
"rights":[{"is_available":true,"type":1,"name":"包邮","discount":100}],
"grant_condition":[{"amount_limit":0,"points_limit":0,"trade_limit":0}],
"description":"微信会员",
"name":"微信会员"}

返回:{"error_response":{"code":141500101,"message":"invalid params"}
请问是哪个必传参数 没写对吗





本帖最后由 0a777353d1e0 于 2018-12-21 15:12 编辑
用手机打开
收藏 ··· 回复
    解决了,那个 term_type 参数 没有0值,只有 1 2 3 这个选项导致的。谢谢~~

      1跳至
      您需要登录后才可以回帖 登录 | 立即注册

      本版积分规则

      复制链接
      新浪微博
      QQ空间
      微信扫码
      • 回复

      • 评分

      客服工作时间是9:00-18:00,客服妹子当前不在线,若不能及时回复请谅解。试试右上角的搜索吧,论坛有丰富的经验贴、公告贴,相信一定能够帮到您~

      复制成功