文档中心 > API类目 > 信息平台-采购

alibaba.ceres.supplier.prod.po.querydetail (云采采购供应商订单明细查询接口)

采购供应商订单明细查询接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
po_no String 必须 PO12345678 订单编号

响应参数

名称 类型 示例值 描述
result SupplierPoDetailDto result 返回消息体
  • └ supplier_name
  • String
  • 服务器供应商
  • 供应商名称
  • └ po_no
  • String
  • PO12345678
  • 订单编号
  • └ supplier_contact
  • String
  • 张丽
  • 联系人
  • └ supplier_mobile
  • String
  • 13634567523
  • 联系人电话
  • └ effect_time
  • Date
  • 2023
  • 订单生效日期
  • └ ou_name
  • String
  • 阿里巴巴
  • 需方
  • └ ou_code
  • String
  • A50
  • 需方(代号)
  • └ contract_no
  • String
  • A50201800002
  • 合同编号
  • └ buyer_name
  • String
  • 张伟
  • 采购员姓名
  • └ buy_mobile
  • String
  • 15976583578
  • 采购员电话
  • └ pr_no
  • String
  • PR226670
  • PR单号
  • └ comments
  • String
  • 注意事项
  • 注意事项
  • po_line_list
  • SupplierPoLineDTO []
  • poLineList
  • 订单行列表
  • └ goods_name
  • String
  • 服务器
  • 物品名称
  • └ description
  • String
  • 规格描述
  • 规格
  • └ uom
  • String
  • 单位
  • └ quantity
  • String
  • 10
  • 数量
  • └ tax_rate
  • String
  • 3%
  • 税率
  • └ is_wht_related
  • String
  • Y
  • 是否涉及预提所得税
  • └ tax_price
  • String
  • 100.00
  • 含税单价
  • └ currency_code
  • String
  • CNY
  • 币种
  • └ tax_amount
  • String
  • 1000.00
  • 含税总价
  • └ delivery_location
  • String
  • 杭州市文一西路
  • 收货地址
  • └ need_by_date
  • String
  • 2018-11-01
  • 期望交付日期
  • └ need_by_date_end
  • String
  • 2018-11-30
  • 期望交付日期
  • └ receiver
  • String
  • 王阳
  • 收货人
  • └ receiver_phone
  • String
  • 15976583578
  • 收货人电话
  • └ receiver_mobile
  • String
  • 15976583578
  • 收货人手机
  • └ line_num
  • Number
  • 1
  • lineNum
  • └ additional_info
  • String
  • {"factoryCode":"abc","factoryName":"浪潮南厂"}
  • additionalInfo
  • └ exchange_rate
  • String
  • 6.3231
  • 订单行商品报价币种和订单头币种之间的汇率
  • └ goods_currency_code
  • String
  • CNY
  • 订单行商品报价币种
  • item_list
  • PoLineStructureItemDTO []
  • itemList
  • BOM节点列表,节点之间使用父节点id维护层级关系
  • └ id
  • Number
  • 1
  • 节点id
  • └ parent_id
  • Number
  • 1
  • 父节点id,为空则表示该节点是根节点
  • └ item_name
  • String
  • AD-2S9S9-I28-B(品牌:xxx)阿里
  • 节点名称
  • └ cost_type
  • String
  • ITEM_PRICE
  • ITEM_PRICE:物料价格,BOM_COST:BOM COST,OTHER_COST_TOTAL:其他费用小计,PROFIT_COST:利润,OEM_COST:代工费用,MAINTENANCE_COST:维保费用,LOGISTICS_COST:物流费用,INSTALLATION_COST:上架安装费用,TARIFF_TAX:关税税费,SALES_TAX:销售税税费,VAT_TAX:增值税税费
  • └ charge_unit
  • String
  • 计价单位
  • └ unit_price
  • String
  • 1.0000
  • 单价
  • └ unit_currency
  • String
  • USD
  • 单价币种
  • └ amount
  • String
  • 6.7861
  • 金额
  • └ currency
  • String
  • CNY
  • 金额币种
  • └ exchange_rate
  • String
  • 6.7861
  • 汇率
  • └ quantity
  • String
  • 1
  • 数量
  • └ expense_param
  • String
  • 620.0000USD
  • 参数
  • └ po_line_id
  • Number
  • 订单行id
  • 12343
  • └ cpo_no
  • String
  • test
  • cpoNo

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaCeresSupplierProdPoQuerydetailRequest req = new AlibabaCeresSupplierProdPoQuerydetailRequest();
req.setPoNo("PO12345678");
AlibabaCeresSupplierProdPoQuerydetailResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ceres_supplier_prod_po_querydetail_response>
    <result>
        <supplier_name>服务器供应商</supplier_name>
        <po_no>PO12345678</po_no>
        <supplier_contact>张丽</supplier_contact>
        <supplier_mobile>13634567523</supplier_mobile>
        <effect_time>2023</effect_time>
        <ou_name>阿里巴巴</ou_name>
        <ou_code>A50</ou_code>
        <contract_no>A50201800002</contract_no>
        <buyer_name>张伟</buyer_name>
        <buy_mobile>15976583578</buy_mobile>
        <pr_no>PR226670</pr_no>
        <comments>注意事项</comments>
        <po_line_list>
            <supplier_po_line_d_t_o>
                <goods_name>服务器</goods_name>
                <description>规格描述</description>
                <uom>件</uom>
                <quantity>10</quantity>
                <tax_rate>3%</tax_rate>
                <is_wht_related>Y</is_wht_related>
                <tax_price>100.00</tax_price>
                <currency_code>CNY</currency_code>
                <tax_amount>1000.00</tax_amount>
                <delivery_location>杭州市文一西路</delivery_location>
                <need_by_date>2018-11-01</need_by_date>
                <need_by_date_end>2018-11-30</need_by_date_end>
                <receiver>王阳</receiver>
                <receiver_phone>15976583578</receiver_phone>
                <receiver_mobile>15976583578</receiver_mobile>
                <line_num>1</line_num>
                <additional_info>{&quot;factoryCode&quot;:&quot;abc&quot;,&quot;factoryName&quot;:&quot;浪潮南厂&quot;}</additional_info>
                <exchange_rate>6.3231</exchange_rate>
                <goods_currency_code>CNY</goods_currency_code>
                <item_list>
                    <po_line_structure_item_d_t_o>
                        <id>1</id>
                        <parent_id>1</parent_id>
                        <item_name>AD-2S9S9-I28-B(品牌:xxx)阿里</item_name>
                        <cost_type>ITEM_PRICE</cost_type>
                        <charge_unit>个</charge_unit>
                        <unit_price>1.0000</unit_price>
                        <unit_currency>USD</unit_currency>
                        <amount>6.7861</amount>
                        <currency>CNY</currency>
                        <exchange_rate>6.7861</exchange_rate>
                        <quantity>1</quantity>
                        <expense_param>620.0000USD</expense_param>
                    </po_line_structure_item_d_t_o>
                </item_list>
                <po_line_id>订单行id</po_line_id>
            </supplier_po_line_d_t_o>
        </po_line_list>
        <cpo_no>test</cpo_no>
    </result>
</alibaba_ceres_supplier_prod_po_querydetail_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部