有赞新零售社区

发帖
API使用问题»youzan.mei.order.create.4.0.0调用问题

[API调用-美业] youzan.mei.order.create.4.0.0调用问题

三把刷子 2022-11-01 882 浏览 0 评论 | 只看楼主 [打印]
使用API调试工具 调试创建订单接口  youzan.mei.order.create.4.0.0  返回
{
  "trace_id": "yz7-0ae859b2-1667273809234-57114",
  "code": 230100003,
  "success": false,
  "message": "deptId不正确"
}


使用生成的  curl -X POST -H 'content-type: application/json'  -d '{"type":"8","node_kdt_id":"112824246","order_buyer_info":{"yz_open_id":"11HCse7C1036963462049206272"},"order_promotions":[null],"order_items":[{"salesmen":[null],"item_technicians":[null],"custom_card_info":{"scope_node_kdtIds":[null,null]},"num":"10","item_origin_price":"498000","sku_id":"11457946192","item_id":"2150628466","item_type":"2","stage":"1"}],"order_gift_items":[null]}'  "https://open.youzanyun.com/api/youzan.mei.order.create/4.0.0?access_token=efbbf52f526e399627a093111e67403"
返回如下,参数一致
{"trace_id":"yz7-0a350a3f-1667273959758-681906","code":230100003,"success":false,"message":"参数错误","error_data":{"orderType":"订单类型不能为空","orderItems":"may not be empty"}}


这个到底什么问题?


用手机打开
收藏 ··· 回复
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

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

    • 评分

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

    复制成功