收藏
回答

微信小店类目详情接口,没有返回资质信息!

https://developers.weixin.qq.com/doc/store/shop/API/channels-shop-category/api_getcategorydetail.html,微信小店获取类目信息接口没有返回资质信息相关内容,但是提交审核的时候又要求要有资质信息,这里怎么解决

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

2 个回答

  • knit
    knit
    03-02

    返回的完整对象:{

        "code": 0,

        "data": {

            "success": true,

            "errcode": 0,

            "errmsg": "ok",

            "info": {

                "cat_id": "546971",

                "name": "方便面/拉面/面饼"

            },

            "attr": {

                "shop_no_shipment": false,

                "access_permit_required": false,

                "pre_sale": true,

                "seven_day_return": false,

                "brand_list": [],

                "deposit": 100000,

                "product_attr_list": [

                    {

                        "name": "食品名称",

                        "type": "string",

                        "type_v2": "string",

                        "value": "",

                        "is_required": true,

                        "hint": "",

                        "append_allowed": false

                    },

                    {

                        "name": "生产企业名称",

                        "type": "string",

                        "type_v2": "string",

                        "value": "",

                        "is_required": true,

                        "hint": "",

                        "append_allowed": false

                    },

                    {

                        "name": "产地",

                        "type": "string",

                        "type_v2": "string",

                        "value": "",

                        "is_required": false,

                        "hint": "产地为中国的需要具体到县/市/区",

                        "append_allowed": false

                    },

                    {

                        "name": "单件净含量",

                        "type": "string",

                        "type_v2": "decimal4_unit",

                        "value": "g;kg;ml;L",

                        "is_required": true,

                        "hint": "最小包装单位的净含量,填写格式:数字+单位,如:500g",

                        "append_allowed": true

                    },

                    {

                        "name": "规格",

                        "type": "string",

                        "type_v2": "string",

                        "value": "",

                        "is_required": false,

                        "hint": "由最小包装单位的净含量和件数组成,例如:3x552g",

                        "append_allowed": false

                    },

                    {

                        "name": "是否进口",

                        "type": "select_one",

                        "type_v2": "select_one",

                        "value": "是;否",

                        "is_required": true,

                        "hint": "",

                        "append_allowed": false

                    },

                    {

                        "name": "口味",

                        "type": "string",

                        "type_v2": "string",

                        "value": "",

                        "is_required": false,

                        "hint": "",

                        "append_allowed": false

                    },

                    {

                        "name": "包装方式",

                        "type": "select_one",

                        "type_v2": "select_one",

                        "value": "散装;袋装;盒装;罐装;礼盒装;其他",

                        "is_required": false,

                        "hint": "",

                        "append_allowed": false

                    },

                    {

                        "name": "食品生产许可证编号",

                        "type": "string",

                        "type_v2": "string",

                        "value": "",

                        "is_required": true,

                        "hint": "",

                        "append_allowed": false

                    },

                    {

                        "name": "产品标准号",

                        "type": "string",

                        "type_v2": "string",

                        "value": "",

                        "is_required": true,

                        "hint": " ",

                        "append_allowed": false

                    },

                    {

                        "name": "贮存条件",

                        "type": "select_one",

                        "type_v2": "select_one",

                        "value": "常温;冷藏;冷冻;阴凉干燥处",

                        "is_required": false,

                        "hint": "",

                        "append_allowed": true

                    },

                    {

                        "name": "是否为有机食品",

                        "type": "select_one",

                        "type_v2": "select_one",

                        "value": "是;否",

                        "is_required": false,

                        "hint": "",

                        "append_allowed": false

                    },

                    {

                        "name": "配料表",

                        "type": "string",

                        "type_v2": "string",

                        "value": "",

                        "is_required": false,

                        "hint": " ",

                        "append_allowed": false

                    },

                    {

                        "name": "生产日期",

                        "type": "string",

                        "type_v2": "string",

                        "value": "",

                        "is_required": false,

                        "hint": "填写时间区间(天/月/年-天/月/年)或“见包装”",

                        "append_allowed": false

                    },

                    {

                        "name": "保质期",

                        "type": "string",

                        "type_v2": "integer_unit",

                        "value": "天;月;年",

                        "is_required": true,

                        "hint": "",

                        "append_allowed": false

                    },

                    {

                        "name": "是否转基因",

                        "type": "select_one",

                        "type_v2": "select_one",

                        "value": "是;否",

                        "is_required": false,

                        "hint": "",

                        "append_allowed": false

                    }

                ],

                "sale_attr_list": [

                    {

                        "name": "规格",

                        "type": "string",

                        "type_v2": "string",

                        "value": "",

                        "is_required": true,

                        "hint": "由最小包装单位的净含量和件数组成,例如:3x551g",

                        "append_allowed": false

                    }

                ],

                "transactionfee_info": {

                    "basis_point": 100,

                    "original_basis_point": 200,

                    "incentive_type": 1

                },

                "coupon_rule": {

                    "discount_ratio_limit": 20,

                    "discount_limit": 0

                },

                "floor_price": null,

                "confirm_receipt_days": [],

                "is_limit_brand": false,

                "product_requirement": {

                    "product_title_requirement": "",

                    "product_img_requirement": "",

                    "product_desc_requirement": ""

                },

                "size_chart": {

                    "is_support": false,

                    "item_list": []

                },

                "is_confidence_require_bad_must_pay": false,

                "product_qua_list": null

            }

        },

        "msg": ""

    },请求的接口POST https://api.weixin.qq.com/shop/ec/category/detail?access_token=ACCESS_TOKEN
    

    appId:wx299d5ad9d0c9ab26



    03-02
    有用
    回复 1
    • 微信小店技术专员-eobai
      微信小店技术专员-eobai
      03-03
      546971类目是需要资质的,测试也是有返回所需资质。建议开发者通过curl命令调用api 获取原始回包,再排查为啥没把回包内容里的资质解析出来。
      03-03
      回复
  • 智能回答 智能回答 本次回答由AI生成
    03-01
    有用
    回复
登录 后发表内容