使用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"}}
这个到底什么问题?
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|