suning.pptv.pushorder.add PPTV商城推送订单信息
¥免费

PPTV商城推送商城渠道销售订单信息接口

公共参数
请求参数
名称 类型 是否必须 示例值 描述
buyerNickStringY_82203a3f81a78d1292ef@alipay买家账号
deliveryAreaStringY0270702运输区域编码
hopeArrivalTimeStringN2016-01-01 01:01:01期望送达时间
invoiceFlagStringY0是否需要发票
invoiceNameStringN苏宁易购发票抬头
invoiceTypeStringN01发票类型
orderStringN
createdStringY2017-02-19 12:07:16创建时间
discountFeeStringN0优惠金额
numStringY2数量
numIIdStringY173681370苏宁商品编码
orderitemIdStringY2153订单行项目号
paymentStringY520实付金额
payTimeStringY2017-02-19 12:07:56支付时间
payTypeAmountStringY520支付方式金额
payTypeCodeStringY4235支付方式编码
payTypeDescStringN支付宝支付方式编码描述
priceStringY520单价
storeCodeStringYDZ30发货的仓库编码
totalFeeStringY520商品金额
orderIdStringY2017021912071637922761订单号
postFeeStringN0.00运费
receiverAddressStringN关山大道1号光谷软件园光谷展示中心C座5层收货人详细地址
receiverCityStringN武汉市收货人城市
receiverDistrictStringY洪山区收货人所在地区
receiverMobileStringN13995596082收货人手机号码
receiverNameStringY姜先生收货人姓名
receiverPhoneStringN13995596082收货人的电话号码
receiverStateStringY湖北省收货人的所在省份
receiverTownStringY关山街道收货人街道地址
receiverZipStringN223700收货人的邮编
sellerNickStringYpptv聚力官方商城卖家昵称
响应参数
名称 类型 示例值 描述
orderString
isSuccessStringY成功标识
msgString接收成功接收信息
orderitemIdString2153订单行项目号
orderIdString2017021912071637922761订单号
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                <sn_request>
  <sn_body>
    <addPushOrder>
      <postFee>0.00</postFee>
      <receiverDistrict>洪山区</receiverDistrict>
      <invoiceName>苏宁易购</invoiceName>
      <invoiceType>01</invoiceType>
      <receiverMobile>13995596082</receiverMobile>
      <receiverAddress>关山大道1号光谷软件园光谷展示中心C座5层</receiverAddress>
      <receiverCity>武汉市</receiverCity>
      <order>
        <discountFee>0</discountFee>
        <payment>520</payment>
        <payTypeCode>4235</payTypeCode>
        <payTime>2017-02-19 12:07:56</payTime>
        <orderitemId>2153</orderitemId>
        <payTypeDesc>支付宝</payTypeDesc>
        <num>2</num>
        <totalFee>520</totalFee>
        <price>520</price>
        <created>2017-02-19 12:07:16</created>
        <payTypeAmount>520</payTypeAmount>
        <numIId>173681370</numIId>
        <storeCode>DZ30</storeCode>
      </order>
      <sellerNick>pptv聚力官方商城</sellerNick>
      <receiverTown>关山街道</receiverTown>
      <buyerNick>_82203a3f81a78d1292ef@alipay</buyerNick>
      <deliveryArea>0270702</deliveryArea>
      <invoiceFlag>0</invoiceFlag>
      <receiverName>姜先生</receiverName>
      <hopeArrivalTime>2016-01-01 01:01:01</hopeArrivalTime>
      <receiverZip>223700</receiverZip>
      <orderId>2017021912071637922761</orderId>
      <receiverState>湖北省</receiverState>
      <receiverPhone>13995596082</receiverPhone>
    </addPushOrder>
  </sn_body>
</sn_request>

                                
                                {
  "sn_request": {
    "sn_body": {
      "addPushOrder": {
        "postFee": "0.00",
        "receiverDistrict": "洪山区",
        "invoiceName": "苏宁易购",
        "invoiceType": "01",
        "receiverMobile": "13995596082",
        "receiverAddress": "关山大道1号光谷软件园光谷展示中心C座5层",
        "receiverCity": "武汉市",
        "order": [
          {
            "payTypeDesc": "支付宝",
            "orderitemId": "2153",
            "num": "2",
            "discountFee": "0",
            "price": "520",
            "totalFee": "520",
            "payment": "520",
            "payTypeAmount": "520",
            "created": "2017-02-19 12:07:16",
            "numIId": "173681370",
            "payTypeCode": "4235",
            "payTime": "2017-02-19 12:07:56",
            "storeCode": "DZ30"
          }
        ],
        "sellerNick": "pptv聚力官方商城",
        "receiverTown": "关山街道",
        "invoiceFlag": "0",
        "buyerNick": "_82203a3f81a78d1292ef@alipay",
        "deliveryArea": "0270702",
        "hopeArrivalTime": "2016-01-01 01:01:01",
        "receiverName": "姜先生",
        "receiverZip": "223700",
        "orderId": "2017021912071637922761",
        "receiverPhone": "13995596082",
        "receiverState": "湖北省"
      }
    }
  }
}
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              <sn_responseContent>
  <sn_body>
    <addPushOrder>
      <order>
        <orderitemId>2153</orderitemId>
        <isSuccess>Y</isSuccess>
        <msg>接收成功</msg>
      </order>
      <orderId>2017021912071637922761</orderId>
    </addPushOrder>
  </sn_body>
</sn_responseContent>

                              
                              {
  "sn_responseContent": {
    "sn_body": {
      "addPushOrder": {
        "order": [
          {
            "orderitemId": "2153",
            "isSuccess": "Y",
            "msg": "接收成功"
          }
        ],
        "orderId": "2017021912071637922761"
      }
    }
  }
}
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.pptv.addpushorder.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
biz.pptv.addpushorder.format-error:* 参数格式错误 请检查此参数的值,*号表示参数字段名
isp.sys.service.unavailable.ptoms 服务不可用 请联系苏宁技术人员
公共异常码
API工具
FAQ