ordercallbackNotifyDoc (订单创建成功后推送给下游系统)


仅用来展示文档,无任何逻辑

接口信息

协议 请求方式 请求地址
HTTPS POST https://open.mengdian.com/api/mname/WE_MALL/cname/ordercallbackNotifyDoc?accesstoken=ACCESS_TOKEN

请求参数

请求示例

{
  "data": {
    "order_id": 2288282,
    "order_no": "155015050729417",
    "member_id": "7107359a-19bb-4c52-a95c-2f6ddb7a441c",
    "open_id": "ogPxqs7wsZvHVfL4jKj01lReDoB4",
    "order_source": 1,
    "order_type": 1,
    "order_status": 0,
    "create_time": "2015-04-05 23:11:12",
    "create_man": "bigken",
    "update_time": "2015-04-05 23:11:12",
    "update_man": "bigken",
    "is_delete": false,
    "discount_amount": 10,
    "discount_detail": {
      "sku_codes": [
        "358000201406300511295889"
      ],
      "discount_id": 1145633445,
      "discount_name": "满包邮",
      "discount_desc": "包邮",
      "discount_type": 1,
      "discount_condition": 200,
      "discount_amount": 0,
      "is_shipping_free": true
    },
    "coupon_amount": 100,
    "coupon_detail": {
      "coupon_id": 78233,
      "coupon_name": "一等奖",
      "coupon_use_amount": 200,
      "coupon_discount_amount": 10,
      "coupon_type": 86,
      "coupon_code_id": 69122
    },
    "point_use": 100,
    "point_amount": 10,
    "real_amount": 10,
    "is_onlinepay": true,
    "pay_status": 0,
    "pay_time": null,
    "payment_id": "1099",
    "payment_code": "tenpay",
    "payment_name": "财付通(微盟支付)",
    "delivery_amount": 10,
    "delivery_status": 0,
    "delivery_type": "平邮",
    "carrier_name": "申通",
    "express_no": "123456",
    "receiver_address": "上海 上海市 宝山区 逸仙路2816号华滋奔腾大厦A栋14楼",
    "receiver_name": "蔡松",
    "receiver_tel": "13800138000",
    "sender_address": "上海 上海市 宝山区 逸仙路2816号华滋奔腾大厦A栋14楼",
    "sender_name": "蔡松",
    "sender_tel": "13800138000",
    "delivery_time": "2015-04-05 23:11:12",
    "receive_time": "2015-04-05 23:11:12",
    "order_flag": 1,
    "order_flag_memo": "1123",
    "remark": "发SF",
    "sku_qty": 5,
    "goods_amount": 10,
    "order_details": [
      {
        "order_detail_id": 155015033121917440,
        "spu_code": "358000201406300511295889",
        "sku_code": "6786778",
        "sku_name": "IPHONE5S-白色-128G",
        "qty": 2,
        "sale_price": 100,
        "sale_amount": 200,
        "price": 90,
        "amount": 180,
        "is_delete": false,
        "inventory_type": 0
      }
    ]
  },
  "topic": "wemall",
  "event": "ordercreated"
}

全局返回码

返回码 描述 解决方案
-1 系统繁忙
0 请求成功
8000001 获取access_token失败,不经常发生
8000002 目标地址不合法
8000003 非法的参数
8000004 非法的参数格式
8000005 需要以get方式请求
8000006 需要以post方式请求
8000007 需要https请求
8000008 Xml/Json格式解析错误
8000101 不可用的accessToken
8000102 未被授权的API
8000103 超过了API调用次数
8000104 指定mname和cname没有对应的API
8000105 accessToken过期
8000106 转发超时
8000199 转发系统错误,请联系我们
8000901 全局系统错误,请联系我们
8000902 未被配置的API转发,请联系我们
8000903 其他accessToken生成错误,请联系我们