收藏
回答

创建礼品卡 返回40150 invalid card parameters ?

https://api.weixin.qq.com/card/create?access_token=

{

  "card": {

    "card_type": "GENERAL_CARD",

    "general_card": {

      "background_pic_url": "http://mmbiz.qpic.cn:80/mmbiz_jpg/rL6Y944DQzYTg8QNeMlEmuFic6IRpBmK4MY69liamny7wX2aIv0PaYR9ibOUNtgvibmXyUd3AFFjLyd2oMUhzCYZyw/0",

      "sub_card_type": "GIFT_CARD",

      "auto_activate": true,

      "supply_bonus": false,

      "supply_balance": false,

      "base_info": {

        "giftcard_info": {

          "price": 129900

        },

        "logo_url": "http://mmbiz.qpic.cn:80/mmbiz_jpg/rL6Y944DQzaOA8vqb7HTa5nbichvQQ9GH7kumrgpFWyxrU5wuBWDeuVmRfEuXWufbR0BhEShICGMichJJDn2mwBQ/0",

        "max_give_friend_times": 0,

        "brand_name": "好又多生活超市",

        "code_type": "CODE_TYPE_TEXT",

        "title": "大闸蟹",

        "color": "Color020",

        "notice": "有效日期至2024-11-24",

        "service_phone": "13599178751",

        "description": "发臭不可以食用",

        "date_info": {

          "type": "DATE_TYPE_FIX_TIME_RANGE",

          "begin_timestamp": 1732032000,

          "end_timestamp": 1732463999,

          "fixed_term": 5,

          "fixed_begin_term": 0

        },

        "sku": {

          "quantity": 0

        },

        "use_all_locations": true,

        "use_custom_code": true,

        "bind_openid": false,

        "can_share": false,

        "can_give_friend": false,

        "get_limit": 0,

        "location_id_list": null,

        "center_title": null,

        "center_sub_title": null,

        "center_url": null,

        "custom_url_name": null,

        "center_app_brand_user_name": null,

        "center_app_brand_pass": null,

        "custom_url": null,

        "custom_url_sub_title": null,

        "custom_app_brand_user_name": null,

        "custom_app_brand_pass": null,

        "promotion_url_name": null,

        "promotion_url": null,

        "promotion_app_brand_user_name": null,

        "promotion_app_brand_pass": null

      },

      "advanced_info": null

    }

  }

}

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容