社区精华贴集锦 - 接口样例、常见问题(持续更新中...)

最新同步:

  微商城后台如何查询购买的工具型应用:https://developers.youzanyun.com/article/1558591858247

  微商城后台如何查看自用型授权的应用https://developers.youzanyun.com/article/1560304959462

最新公告:

  重新创建账号或多账号数据合并迁移说明:https://bbs.youzan.com/thread-674215-1-1.html
  有赞云应用市场升级 F&Q:https://bbs.youzan.com/thread-675335-1-1.html
  有赞云“小程序插件”和“App 大师”产品临时下线通知:https://bbs.youzan.com/thread-675544-1-1.html

第三方对接

  有赞和第三方系统问题汇总:https://developers.youzanyun.com/article/1556773295981
  ERP 如何和有赞对接:https://developers.youzanyun.com/article/1567004809078

有容器对接方案

  应用市场同城配送工具型有容器对接方案:https://developers.youzanyun.com/article/1568606207281

无容器对接方案
虚拟商品对接指南:https://developers.youzanyun.com/article/1571123491780

接入必读:

  有赞云对接指南:https://developers.youzanyun.com/article/1557112969171

账号问题:

  电商云注册新用户异常:https://developers.youzanyun.com/article/1558408233108

SDK 使用:

  报错 Exception in thread “main”:https://developers.youzanyun.com/article/1556774000099

应用 & 授权:
  无容器应用如何获取 token?:https://developers.youzanyun.com/article/1567043948308
  如何取消应用授权:https://developers.youzanyun.com/article/1556780277517
  如何查看 client_id 和 client_secret:https://developers.youzanyun.com/article/1556850068966
  如何申请 API 接口权限:https://developers.youzanyun.com/article/1556850673218
  access_token,refresh_token 有效期详解:
https://developers.youzanyun.com/article/1557492791133
  code: 41002,message: clientId 不存在或流量峰值受限:
https://developers.youzanyun.com/article/1564997983690

接口调用:

  HTTP 方式调用有赞云接口:https://developers.youzanyun.com/article/1556948242840
  code:1000,message:Request method ‘GET’ not supported:https://developers.youzanyun.com/article/1561463259741

店铺 API:

  如何创建测试店铺:https://developers.youzanyun.com/article/1556780536424
  如何查看店铺 id(kdt_id) :https://developers.youzanyun.com/article/1556940059631

商品 API:

如何获取商品 id(item_id):https://developers.youzanyun.com/article/1569812854736
  如何使用订单号查到商品分组:https://developers.youzanyun.com/article/1556772280323
  报错商品不存在!- 自查方案:https://developers.youzanyun.com/article/1556780965402
  商品 SKU 不存在 - 自查方案https://developers.youzanyun.com/article/1560838932752
  获取商品详情失败 商品不存在:https://developers.youzanyun.com/article/1556780484086
  with_hold_quantity 字段详解:https://developers.youzanyun.com/article/1556780868524
  新增商品(复杂参数传入示例):https://developers.youzanyun.com/article/1560404411445
  商品 id,编码和订单接口返回详解:https://developers.youzanyun.com/article/1561101790192

订单 API:
  实物商品和海淘商品订单状态流转:https://developers.youzanyun.com/article/1568015720318
  虚拟商品和电子卡券商品订单状态流转:https://developers.youzanyun.com/article/1568018840745
  有赞订单同步到商家系统方案:https://developers.youzanyun.com/article/1556780673180
  报错:page_no 超出最大查询限制:https://developers.youzanyun.com/article/1556781308263
  self_fetch_info 到店自提信息详情:https://developers.youzanyun.com/article/1556781783745
  如何利用批量订单接口查询自己想要的数据:https://developers.youzanyun.com/article/1556781833220
  code: 5000,message: trade not found:https://developers.youzanyun.com/article/1561370806042

物流 & 发货 API:

  code:102570038,message: 分销单只允许分销系统同步发货:https://developers.youzanyun.com/article/1561368586085
  code:102570002,message: 发货商品不合法, 无法发货:https://developers.youzanyun.com/article/1561367158578

客户 API:

  用户和客户的区别:https://developers.youzanyun.com/article/1556780338514
  创建客户报错:customer already exist:https://developers.youzanyun.com/article/1556781600929

用户 API:
  如何获取 open_id:https://developers.youzanyun.com/article/1556781104528

物流 API:

如何获取物流公司编号:https://developers.youzanyun.com/article/1556781458693

优惠券码 API:
如何使用接口创建不同类型的优惠券:https://developers.youzanyun.com/article/1568961511008
调用 youzan.ump.coupons.unfinished.search 接口返回的数据不正确:https://developers.youzanyun.com/article/1566283102168

消息推送:
  有赞云消息推送规则调整公告 QAhttps://developers.youzanyun.com/article/1566443600004
  收不到消息推送 - 自查方案:https://developers.youzanyun.com/article/1564382464586
  有赞云消息订阅规则:https://developers.youzanyun.com/article/1556548908480
  推送消息解析 demo:https://developers.youzanyun.com/article/1556773707302
  有赞云消息推送失败后如何重推:https://developers.youzanyun.com/article/1556863012345

推荐实现方案:

  接口方式实现商家开电子发票:https://developers.youzanyun.com/article/1556781698813

非接口方案:

  如何获取到多网点推广小程序码路径:https://developers.youzanyun.com/article/1556780752825
  拼团等单个活动小程序路径提取步骤:https://developers.youzanyun.com/article/1556781242722
  如何获取限时折扣推广链接:https://developers.youzanyun.com/article/1558962357152