有赞新零售社区

发帖
API使用问题»调用 youzan.item.add 接口,提示"店铺没有创建自建商品权限"

[API调用-商品/交易] 调用 youzan.item.add 接口,提示"店铺没有创建自建商品权限"

四画一天 03-07 547 浏览 3 评论 | 只看楼主 [打印]
调用 youzan.item.add 接口,提示"店铺没有创建自建商品权限",但实际是开启了的,麻烦看看
店铺后台截图:




入参:
{"gateway":"https://open.youzanyun.com","headers":{},"name":"youzan.item.add","version":"1.0.0","oauthType":"TOKEN","paramModelClass":"com.youzan.cloud.open.sdk.gen.v1_0_0.model.YouzanItemAddParams","httpMethod":"POST","apiparams":{"param":{"buyBtnLabel":null,"itemWeight":null,"presaleParam":{"preSaleType":-1,"etdStart":null,"etdDays":null,"etdType":null,"depositRatio":null,"preSaleStart":null,"depositType":null,"deposit":null,"balanceDueEnd":null,"preSaleEnd":null,"balanceDueStart":null},"postSaleParam":null,"imageIds":[8779178864,7562248727,8779179010,8779178856,8779179011],"videoId":null,"itemDeliveryParam":{"postage":null,"deliveryTemplateId":2544002,"deliverySetting":{"heavyContinued":null,"express":true,"cityDelivery":null,"selfPick":false},"prepareTime":null},"categoryParam":{"cid":null,"categoryProperties":{"publics":[{"id":2583,"valNames":[]},{"id":2584,"valNames":[]},{"id":2600,"valNames":[]},{"id":2672,"valNames":[]},{"id":2910,"valNames":[]},{"id":2932,"valNames":[]},{"id":2933,"valNames":[]},{"id":2934,"valNames":[]},{"id":2935,"valNames":[]},{"id":2940,"valNames":[]},{"id":3015,"valNames":[]},{"id":3016,"valNames":[]},{"id":3017,"valNames":[]},{"id":3018,"valNames":[]},{"id":3383,"valNames":[]},{"id":7776,"valNames":[]},{"id":7964,"valNames":[]},{"id":8041,"valNames":[]},{"id":8043,"valNames":[]},{"id":8044,"valNames":[]}],"leafCategoryId":2924,"privates":[]}},"itemNo":"S-1098167295-G20240827184501-84220855","itemProps":null,"skuList":[{"weight":510,"barcode":null,"skuProps":[{"propValueName":"白象小龙虾拌面152g*3袋","propName":"规格","propNameId":1,"propValueId":231404}],"price":1990,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMMLXLX3","stockNum":1},{"weight":420,"barcode":null,"skuProps":[{"propValueName":"白象葱油拌面122g*3袋","propName":"规格","propNameId":1,"propValueId":231405}],"price":1990,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMCY3","stockNum":1},{"weight":540,"barcode":null,"skuProps":[{"propValueName":"白象热干面163g*3袋","propName":"规格","propNameId":1,"propValueId":231406}],"price":1990,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMRGM3","stockNum":1},{"weight":510,"barcode":null,"skuProps":[{"propValueName":"白象酸豆角155.5g*3袋","propName":"规格","propNameId":1,"propValueId":231407}],"price":1990,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMSDJ3","stockNum":1},{"weight":480,"barcode":null,"skuProps":[{"propValueName":"白象油泼面147g*3袋","propName":"规格","propNameId":1,"propValueId":231408}],"price":1990,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMYPM3","stockNum":1},{"weight":360,"barcode":null,"skuProps":[{"propValueName":"白象热干面163g*2袋","propName":"规格","propNameId":1,"propValueId":178055}],"price":1390,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMRGM2","stockNum":1},{"weight":680,"barcode":null,"skuProps":[{"propValueName":"白象酸豆角155.5g*4袋","propName":"规格","propNameId":1,"propValueId":178056}],"price":2290,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMSDJ4","stockNum":1},{"weight":720,"barcode":null,"skuProps":[{"propValueName":"白象热干面163g*4袋","propName":"规格","propNameId":1,"propValueId":178057}],"price":2290,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMRGM4","stockNum":1},{"weight":900,"barcode":null,"skuProps":[{"propValueName":"白象热干面163g*5袋","propName":"规格","propNameId":1,"propValueId":178058}],"price":2890,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMRGM5","stockNum":1},{"weight":700,"barcode":null,"skuProps":[{"propValueName":"白象葱油拌面122g*5袋","propName":"规格","propNameId":1,"propValueId":178059}],"price":2890,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMCY5","stockNum":1},{"weight":850,"barcode":null,"skuProps":[{"propValueName":"白象酸豆角155.5g*5袋","propName":"规格","propNameId":1,"propValueId":178060}],"price":2890,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMSDJ5","stockNum":1},{"weight":800,"barcode":null,"skuProps":[{"propValueName":"白象油泼面147g*5袋","propName":"规格","propNameId":1,"propValueId":178061}],"price":2890,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMYPM5","stockNum":1},{"weight":850,"barcode":null,"skuProps":[{"propValueName":"白象小龙虾拌面152g*5袋","propName":"规格","propNameId":1,"propValueId":178062}],"price":2890,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMMLXLX5","stockNum":1},{"weight":960,"barcode":null,"skuProps":[{"propValueName":"白象油泼面147g*6袋","propName":"规格","propNameId":1,"propValueId":178063}],"price":3390,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMYPM6","stockNum":1},{"weight":1020,"barcode":null,"skuProps":[{"propValueName":"白象麻辣小龙虾152g*6袋","propName":"规格","propNameId":1,"propValueId":178064}],"price":3390,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMMLXLX6","stockNum":1},{"weight":1080,"barcode":null,"skuProps":[{"propValueName":"白象热干面163g*6袋","propName":"规格","propNameId":1,"propValueId":178065}],"price":3390,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMRGM6","stockNum":1},{"weight":840,"barcode":null,"skuProps":[{"propValueName":"白象葱油拌面122g*6袋","propName":"规格","propNameId":1,"propValueId":178066}],"price":3390,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMCY6","stockNum":1},{"weight":1260,"barcode":null,"skuProps":[{"propValueName":"白象热干面163g*7袋","propName":"规格","propNameId":1,"propValueId":178067}],"price":3590,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMRGM7","stockNum":1},{"weight":1800,"barcode":null,"skuProps":[{"propValueName":"白象热干面163g*10袋","propName":"规格","propNameId":1,"propValueId":178068}],"price":5290,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYRGM10","stockNum":1},{"weight":1700,"barcode":null,"skuProps":[{"propValueName":"白象酸豆角155.5g*10袋","propName":"规格","propNameId":1,"propValueId":178069}],"price":5290,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYJBMSDJ10","stockNum":1},{"weight":1400,"barcode":null,"skuProps":[{"propValueName":"白象葱油拌面122g*10袋","propName":"规格","propNameId":1,"propValueId":178070}],"price":5290,"maxGuidePrice":null,"costPrice":null,"minGuidePrice":null,"prepareTime":null,"skuNo":"CYCYBM10","stockNum":1}],"stockDeductMode":null,"extraParam":null,"noSaleKdtIds":null,"templateId":null,"yzOpenId":null,"tagIds":null,"title":"白象【拌面5选1】酱拌面大份量拌面麻辣鲜香好吃方便地道特产风味","displayOnKdtIds":null,"skuValueProps":[{"name":"白象小龙虾拌面152g*3袋","imgId":7562248832,"id":231404},{"name":"白象葱油拌面122g*3袋","imgId":7562248831,"id":231405},{"name":"白象热干面163g*3袋","imgId":8779179029,"id":231406},{"name":"白象酸豆角155.5g*3袋","imgId":7562248692,"id":231407},{"name":"白象油泼面147g*3袋","imgId":7562248829,"id":231408},{"name":"白象热干面163g*2袋","imgId":8779178877,"id":178055},{"name":"白象酸豆角155.5g*4袋","imgId":8779178879,"id":178056},{"name":"白象热干面163g*4袋","imgId":7562248754,"id":178057},{"name":"白象热干面163g*5袋","imgId":7562248755,"id":178058},{"name":"白象葱油拌面122g*5袋","imgId":7562248697,"id":178059},{"name":"白象酸豆角155.5g*5袋","imgId":7562248759,"id":178060},{"name":"白象油泼面147g*5袋","imgId":8779178883,"id":178061},{"name":"白象小龙虾拌面152g*5袋","imgId":8779179111,"id":178062},{"name":"白象油泼面147g*6袋","imgId":8779178885,"id":178063},{"name":"白象麻辣小龙虾152g*6袋","imgId":8779179113,"id":178064},{"name":"白象热干面163g*6袋","imgId":7562248764,"id":178065},{"name":"白象葱油拌面122g*6袋","imgId":8779178888,"id":178066},{"name":"白象热干面163g*7袋","imgId":8779179038,"id":178067},{"name":"白象热干面163g*10袋","imgId":7562248904,"id":178068},{"name":"白象酸豆角155.5g*10袋","imgId":8779179118,"id":178069},{"name":"白象葱油拌面122g*10袋","imgId":7562248769,"id":178070}],"sellPoint":null,"autoListingTime":0,"itemType":0,"skuPictureDisplayConfig":true,"messages":null,"itemPageSettingModel":null,"joinLevelDiscount":null,"summary":null,"displayOffKdtIds":null,"startSaleNum":null,"barcode":null,"buyBtnConfig":null,"purchasePermission":null,"isDisplay":1,"itemPriceParam":{"origin":"55.00","minGuidePrice":null,"costPrice":null,"price":1390,"maxGuidePrice":null},"prepareTime":null,"quantity":21,"hideStock":null,"nodeKdtId":null,"desc":"<div style=\"width:750.0px;height:25018.0px;overflow:hidden;overflow:auto;height:auto;width:750px;\">\n <div style=\"width:750.0px;height:25018.0px;overflow:hidden;overflow:auto;height:auto;width:750px;\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i3/2215452778635/O1CN01Gurmrv2Det0KzrUZM_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i2/2215452778635/O1CN0138OSmi2Det0LcQMLQ_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i1/2215452778635/O1CN01Bns9Zv2Det0NraYb9_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i2/2215452778635/O1CN01zilCoQ2Det0MMgTiu_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i2/2215452778635/O1CN01unrkRU2Det0OTd7kl_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i4/2215452778635/O1CN01l6bKYe2Det0JFhpRC_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i3/2215452778635/O1CN01BncZKC2Det0MsvTeJ_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i2/2215452778635/O1CN01ZNb0En2Det0LcOoiZ_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i3/2215452778635/O1CN0180A5TJ2Det0LOU3Rg_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i2/2215452778635/O1CN01bjNFRw2Det0P2Sm3Y_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i3/2215452778635/O1CN01byVyyH2Det0LOUFvg_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i4/2215452778635/O1CN01qqVwDW2Det0NfDwi4_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i3/2215452778635/O1CN016Lp4wM2Det0DunDt8_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i1/2215452778635/O1CN01efdOvG2Det0MstOkZ_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i3/2215452778635/O1CN01I7yRrf2Det0Kzt2Ec_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i3/2215452778635/O1CN0171ZXzT2Det0NraQHP_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i2/2215452778635/O1CN01CKkcNv2Det0MMhPvZ_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i2/2215452778635/O1CN013Jw2d32Det0MkHk2k_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i1/2215452778635/O1CN016BlhZ02Det0MsrilK_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i1/2215452778635/O1CN01wDLARR2Det0DunI1V_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i1/2215452778635/O1CN01Fbmenm2Det0KxbeLk_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i3/2215452778635/O1CN01dkw3ay2Det0LOWGh1_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i2/2215452778635/O1CN01e3DyMk2Det0DupMvX_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i4/2215452778635/O1CN01aGo4Mk2Det0Mqcosw_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i1/2215452778635/O1CN017qgEmH2Det0JZc202_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i4/2215452778635/O1CN01fMPrGM2Det0JFiAEF_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i4/2215452778635/O1CN018z7lDJ2Det0Ldxklt_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i1/2215452778635/O1CN01fz7M9G2Det0LcRQpM_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i2/2215452778635/O1CN0192ajXW2Det0JFgtCb_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i4/2215452778635/O1CN01wnS8ca2Det0MMi1Jh_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i4/2215452778635/O1CN01k7gp3f2Det0JZbd3Y_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i3/2215452778635/O1CN01mRLVs82Det0Msujtb_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i3/2215452778635/O1CN01CmE9wO2Det0LM3L4u_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i1/2215452778635/O1CN01GBAyRD2Det0JZcQxt_!!2215452778635.jpg\">\n  <img style=\"display:block;width:100.0%;;vertical-align:middle;max-width:100%;height:auto;display:block;\" src=\"https://img.alicdn.com/imgextra/i3/2215452778635/O1CN01yMzTwh2Det0NfH6AI_!!2215452778635.jpg\">\n </div>\n</div>"}}}

响应结果:{"code":121010001,"data":null,"success":false,"message":"店铺没有创建自建商品权限,无法操作","traceId":"yz7-0a350016-1741167040936-457163"}
本帖最后由 四画一天 于 2025-3-7 11:33 编辑
用手机打开
收藏 ··· 回复
    此帖仅作者可见

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

    本版积分规则

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

    • 评分

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

    复制成功