API接口目录

零售云业务

采购API
订单API
库存API
价格API
商品API
报表API
消息服务API
基础数据API
物流API
零售商认证API
发票API
快修回收API
云仓API
异常码自查工具
suning.retailer.invoiceorderitemlist.query 商城待开票订单列表的查询
¥免费

商城待开票订单列表的查询

公共参数
请求参数
名称 类型 是否必须 示例值 描述
invoiceOrderItemQueryReqDtoStringN
snCustNumStringNsnCustNum会员编码
omsOrderIdStringNomsOrderIdoms订单号
startTimeStringNstartTime下单时间(开始)
endTimeStringNendTime下单时间(结束)
platformCodeStringNplatformCode平台多商城编码
cmmdtyNameStringNcmmdtyName商品名称
cmmdtyCodeStringNcmmdtyCode商编
linkerMobileStringNlinkerMobile收货人电话
omsOrderItemIdStringNomsOrderItemIdoms单行号
creatorStringNcreator下单人
btcOrderIdStringNbtcOrderIdb2c订单号
orderIdStringNorderId分销订单号
submitTypeInvoiceStringNsubmitTypeInvoice发票订单的下单类型
queryParamStringN
pnumberStringNpageNumber第几页,从1开始
psizeStringNpageSize每页大小,默认是10
corderByStringNorderBy排序方式 asc desc 加正序倒序
appIdStringYappIdappId
响应参数
名称 类型 示例值 描述
respBeanString
totalCountStringtotalCount总记录数
totalPageCountStringtotalPageCount总页数
resultObjectString
orderItemIdStringorderItemId订单行号
custNoStringcustNo会员编号
omsOrderItemIdStringomsOrderItemIdOMS订单行号
cmmdtyCodeStringcmmdtyCode商品编码
cmmdtyNameStringcmmdtyName商品名称
distributorCodeStringdistributorCode批发商编码
supplierCodeStringsupplierCode供应商编码(查询商品规格时使用)
quantityStringquantity数量
unitPriceStringunitPrice单价
totalPriceStringtotalPrice商品总价
freightStringfreight运费
createTimeStringcreateTime创建时间
itemTotalCouponAmountStringitemTotalCouponAmount券优惠金额,目前返利、平台券
channelCodeStringchannelCode频道信息,综合家电 P2,万物直共 P3
orderItemTargetTypeStringorderItemTargetType目标商品类型1:商品订单行;2:延保订单行;3:运费订单行
relatedOrderItemNoStringrelatedOrderItemNo关联订单行号
priceShowFreightFlagStringpriceShowFreightFlag实付金额是否展示运费字段,0-不展示,1-展示
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <queryInvoiceorderitemlist>
      <appId>appId</appId>
      <invoiceOrderItemQueryReqDto>
        <btcOrderId>btcOrderId</btcOrderId>
        <submitTypeInvoice>submitTypeInvoice</submitTypeInvoice>
        <creator>creator</creator>
        <omsOrderItemId>omsOrderItemId</omsOrderItemId>
        <orderId>orderId</orderId>
        <cmmdtyCode>cmmdtyCode</cmmdtyCode>
        <cmmdtyName>cmmdtyName</cmmdtyName>
        <snCustNum>snCustNum</snCustNum>
        <startTime>startTime</startTime>
        <endTime>endTime</endTime>
        <omsOrderId>omsOrderId</omsOrderId>
        <linkerMobile>linkerMobile</linkerMobile>
        <platformCode>platformCode</platformCode>
      </invoiceOrderItemQueryReqDto>
      <queryParam>
        <psize>pageSize</psize>
        <corderBy>orderBy</corderBy>
        <pnumber>pageNumber</pnumber>
      </queryParam>
    </queryInvoiceorderitemlist>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "queryInvoiceorderitemlist": {
        "appId": "appId",
        "invoiceOrderItemQueryReqDto": {
          "btcOrderId": "btcOrderId",
          "submitTypeInvoice": "submitTypeInvoice",
          "creator": "creator",
          "omsOrderItemId": "omsOrderItemId",
          "orderId": "orderId",
          "cmmdtyCode": "cmmdtyCode",
          "cmmdtyName": "cmmdtyName",
          "snCustNum": "snCustNum",
          "startTime": "startTime",
          "endTime": "endTime",
          "omsOrderId": "omsOrderId",
          "linkerMobile": "linkerMobile",
          "platformCode": "platformCode"
        },
        "queryParam": {
          "psize": "pageSize",
          "corderBy": "orderBy",
          "pnumber": "pageNumber"
        }
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <queryInvoiceorderitemlist>
      <respBean>
        <totalPageCount>totalPageCount</totalPageCount>
        <totalCount>totalCount</totalCount>
        <resultObject>
          <unitPrice>unitPrice</unitPrice>
          <custNo>custNo</custNo>
          <omsOrderItemId>omsOrderItemId</omsOrderItemId>
          <quantity>quantity</quantity>
          <totalPrice>totalPrice</totalPrice>
          <orderItemId>orderItemId</orderItemId>
          <cmmdtyCode>cmmdtyCode</cmmdtyCode>
          <freight>freight</freight>
          <cmmdtyName>cmmdtyName</cmmdtyName>
          <distributorCode>distributorCode</distributorCode>
          <supplierCode>supplierCode</supplierCode>
          <createTime>createTime</createTime>
          <orderItemTargetType>orderItemTargetType</orderItemTargetType>
          <relatedOrderItemNo>relatedOrderItemNo</relatedOrderItemNo>
          <itemTotalCouponAmount>itemTotalCouponAmount</itemTotalCouponAmount>
          <priceShowFreightFlag>priceShowFreightFlag</priceShowFreightFlag>
          <channelCode>channelCode</channelCode>
        </resultObject>
      </respBean>
    </queryInvoiceorderitemlist>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "queryInvoiceorderitemlist": {
        "respBean": {
          "totalPageCount": "totalPageCount",
          "totalCount": "totalCount",
          "resultObject": [
            {
              "unitPrice": "unitPrice",
              "custNo": "custNo",
              "omsOrderItemId": "omsOrderItemId",
              "quantity": "quantity",
              "totalPrice": "totalPrice",
              "orderItemId": "orderItemId",
              "cmmdtyCode": "cmmdtyCode",
              "freight": "freight",
              "cmmdtyName": "cmmdtyName",
              "distributorCode": "distributorCode",
              "supplierCode": "supplierCode",
              "createTime": "createTime",
              "orderItemTargetType": "orderItemTargetType",
              "relatedOrderItemNo": "relatedOrderItemNo",
              "itemTotalCouponAmount": "itemTotalCouponAmount",
              "priceShowFreightFlag": "priceShowFreightFlag",
              "channelCode": "channelCode"
            }
          ]
        }
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.retailer.queryinvoiceorderitemlist.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
biz.handler.data-get:no-result 查询没结果 请检查查询参数
isp.sys.service.unavailable.srcdss 服务不可用 请联系苏宁技术人员
公共异常码
API工具
FAQ