文档中心 > API类目 > 五道口API

alibaba.wdk.supplier.pagination.query (供应商信息分页查询)

二级供应商维度的供应商信息分页查询。汇集一级供应商和二级供应商相关财务、联系人信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
current_page Number 必须 1 当前页数
page_size Number 必须 100 分页大小,最大100

响应参数

名称 类型 示例值 描述
result ApiPagingResult 查询结果
  • └ err_code
  • String
  • 错误编码
  • └ err_msg
  • String
  • 错误消息
  • models
  • Supplier []
  • models
  • └ account_name
  • String
  • 开户名
  • └ alipay_account
  • String
  • 支付宝账号
  • └ alipay_name
  • String
  • 支付宝账号名称
  • └ apply_comments
  • String
  • 申请备注
  • └ audit_comments
  • String
  • 审核备注
  • └ audit_status
  • String
  • 审批状态(WAIT_COMMIT待提交,WAIT_PUR_DIRECTOR_AUDIT待采购总监审核,WAIT_QC_AUDIT待品控审核,WAIT_FIN_AUDIT待财务审核,APPROVED审核通过,REJECTED审核被拒,WAIT_PUR_MANAGER_AUDIT待采购经理审核)
  • └ bank_account
  • String
  • 开户行账号
  • └ bank_address
  • String
  • 开户行所在地(JSON格式)
  • └ bank_address_detail
  • String
  • 开户行所在地(普通字符串)
  • └ bank_name
  • String
  • 开户银行
  • └ can_modify
  • Boolean
  • 是否可修改
  • └ change_price
  • Number
  • 是否容许改价,null 没有设置是否容许改价,1容许改价,2不容许改价
  • └ code
  • String
  • 供应商编码
  • └ company_abbreviation
  • String
  • 供应商公司简写
  • └ company_address
  • String
  • {"area":"余杭区","areaCode":330110,"addressDetail":"文一西路969号","provCode":330000,"town":"五常街道","city":"杭州市","townCode":330110005,"cityCode":330100,"prov":"浙江省"}
  • 供应商公司地址,json格式
  • └ company_address_detail
  • String
  • 浙江省杭州市余杭区文一西路969号
  • 供应商公司地址,完整地址,非json格式
  • └ company_admin_email
  • String
  • 供应商公司管理员邮箱
  • └ company_admin_mobile
  • String
  • 供应商公司管理员手机
  • └ company_admin_name
  • String
  • 供应商公司管理员姓名
  • └ company_audit_comments
  • String
  • 供应商公司审核备注
  • └ company_audit_status
  • String
  • 审批状态(WAIT_COMMIT待提交,WAIT_PUR_DIRECTOR_AUDIT待采购总监审核,WAIT_QC_AUDIT待品控审核,WAIT_FIN_AUDIT待财务审核,APPROVED审核通过,REJECTED审核被拒,WAIT_PUR_MANAGER_AUDIT待采购经理审核)
  • └ company_category
  • Number
  • 供应商公司类别(1公司,2个体工商户,3合伙,4外商投资企业,5国有企业,6虚拟企业)
  • └ company_code
  • String
  • 供应商公司编码
  • └ company_credit_code
  • String
  • 供应商公司统一社会信用代码
  • └ company_established_date
  • String
  • 供应商公司成立时间
  • └ company_fax
  • String
  • 供应商公司传真
  • └ company_id
  • Number
  • 供应商公司ID
  • └ company_legal_person
  • String
  • 供应商公司企业法人
  • └ company_name
  • String
  • 供应商公司名称
  • └ company_nature
  • Number
  • 供应商公司性质(1制造商,2一级经销商,3二级经销商,4三级经销商,5一级代理商,6二级代理商,7三级代理商)
  • └ company_paid_in_capital
  • Number
  • 供应商公司实收资本(万)
  • └ company_post_code
  • String
  • 供应商公司邮编
  • └ company_principal_email
  • String
  • 供应商公司负责人邮箱名
  • └ company_principal_mobile
  • String
  • 供应商公司负责人手机号
  • └ company_principal_name
  • String
  • 供应商公司负责人姓名
  • └ company_principal_wangwang
  • String
  • 供应商公司负责人旺旺号
  • └ company_registered_address
  • String
  • {"area":"余杭区","areaCode":330110,"addressDetail":"文一西路969号","provCode":330000,"town":"五常街道","city":"杭州市","townCode":330110005,"cityCode":330100,"prov":"浙江省"}
  • 供应商公司注册地址,json格式
  • └ company_registered_address_detail
  • String
  • 浙江省杭州市余杭区文一西路969号
  • 供应商公司注册地址,完整地址,非json格式
  • └ company_registered_capital
  • Number
  • 供应商公司注册资本(万)
  • └ company_staff_count
  • Number
  • 供应商公司企业员工总人数
  • └ company_status
  • String
  • 供应商公司状态(N空状态,I初始化,A启用,C清场中,P清场可付款,T终止)
  • └ company_telephone
  • String
  • 供应商公司电话
  • └ contact_email
  • String
  • 联系人电子邮件
  • └ contact_name
  • String
  • 联系人名字
  • └ contact_status
  • String
  • 联系人状态(D删除,A正常)
  • └ contact_telephone
  • String
  • 联系人电话
  • └ contact_type
  • String
  • 联系人类型(PRINCIPAL负责人)
  • └ contact_wang_wang
  • String
  • 联系人旺旺
  • └ default_operate_type
  • Number
  • 默认经销方式(1经销,2联销)
  • └ delivery_type
  • String
  • 交货方式(FOB:离岸的价格, DDP:指定目的地交付, CNF:本地的价格)
  • └ factoring
  • Number
  • 是否保理
  • └ finance_status
  • String
  • 财务状态(D删除,A正常)
  • └ gmt_create
  • Date
  • 创建时间
  • └ invoice_title
  • String
  • 给供应商开票的抬头名称
  • └ invoice_type
  • Number
  • 出具发票类型(0普通商品销售发票,1增值税专用发票,2农产品收购发票,3货运发票)
  • └ lease
  • Number
  • 租赁状态,0不支持租赁,1支持租赁
  • └ merchant_code
  • String
  • 商家编码
  • └ minimum_amount
  • Number
  • 起订金额
  • └ minimum_quantity
  • Number
  • 起订数量
  • └ name
  • String
  • 供应商中文名称
  • └ payment_terms
  • String
  • 付款方式(ALIPAY打款到企业支付宝账户,BANK打款到银行账户)
  • └ purchase_type
  • String
  • 采购方式 (ORIGINAL_DIRECT_MINING:原包直采, MARKET_PURCHASE:市场采购)
  • └ replenish
  • Number
  • 联营供应商的补货标记(0不可,1可以)
  • └ short_name
  • String
  • 供应商简称
  • └ status
  • String
  • 状态(N空状态,I初始化,A启用,C清场中,P清场可付款,T终止)
  • └ suspend_status
  • String
  • 暂停状态(NORMAL:正常,SUSPEND_PAYMENT:暂停付款,SUSPEND_PURCHASE:暂停采购,SUSPEND_PAYMENT_PURCHASE:暂停付款&采购)
  • └ tax_code
  • String
  • 税务登记号
  • └ tax_payer_type
  • Number
  • 纳税人类型(0增值税一般纳税人,1增值税小规模纳税人,2农业生产自然人)
  • └ page_count
  • Number
  • 10
  • 总页数
  • └ page_index
  • Number
  • 1
  • 当前页
  • └ page_size
  • Number
  • 100
  • 页大小
  • └ success
  • Boolean
  • true
  • 调用是否成功
  • └ total
  • Number
  • 1000
  • 总条目数

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaWdkSupplierPaginationQueryRequest req = new AlibabaWdkSupplierPaginationQueryRequest();
req.setCurrentPage(1L);
req.setPageSize(100L);
AlibabaWdkSupplierPaginationQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_wdk_supplier_pagination_query_response>
    <result>
        <err_code></err_code>
        <err_msg></err_msg>
        <models>
            <supplier>
                <account_name></account_name>
                <alipay_account></alipay_account>
                <alipay_name></alipay_name>
                <apply_comments></apply_comments>
                <audit_comments></audit_comments>
                <audit_status></audit_status>
                <bank_account></bank_account>
                <bank_address></bank_address>
                <bank_address_detail></bank_address_detail>
                <bank_name></bank_name>
                <can_modify></can_modify>
                <change_price></change_price>
                <code></code>
                <company_abbreviation></company_abbreviation>
                <company_address>{&quot;area&quot;:&quot;余杭区&quot;,&quot;areaCode&quot;:330110,&quot;addressDetail&quot;:&quot;文一西路969号&quot;,&quot;provCode&quot;:330000,&quot;town&quot;:&quot;五常街道&quot;,&quot;city&quot;:&quot;杭州市&quot;,&quot;townCode&quot;:330110005,&quot;cityCode&quot;:330100,&quot;prov&quot;:&quot;浙江省&quot;}</company_address>
                <company_address_detail>浙江省杭州市余杭区文一西路969号</company_address_detail>
                <company_admin_email></company_admin_email>
                <company_admin_mobile></company_admin_mobile>
                <company_admin_name></company_admin_name>
                <company_audit_comments></company_audit_comments>
                <company_audit_status></company_audit_status>
                <company_category></company_category>
                <company_code></company_code>
                <company_credit_code></company_credit_code>
                <company_established_date></company_established_date>
                <company_fax></company_fax>
                <company_id></company_id>
                <company_legal_person></company_legal_person>
                <company_name></company_name>
                <company_nature></company_nature>
                <company_paid_in_capital></company_paid_in_capital>
                <company_post_code></company_post_code>
                <company_principal_email></company_principal_email>
                <company_principal_mobile></company_principal_mobile>
                <company_principal_name></company_principal_name>
                <company_principal_wangwang></company_principal_wangwang>
                <company_registered_address>{&quot;area&quot;:&quot;余杭区&quot;,&quot;areaCode&quot;:330110,&quot;addressDetail&quot;:&quot;文一西路969号&quot;,&quot;provCode&quot;:330000,&quot;town&quot;:&quot;五常街道&quot;,&quot;city&quot;:&quot;杭州市&quot;,&quot;townCode&quot;:330110005,&quot;cityCode&quot;:330100,&quot;prov&quot;:&quot;浙江省&quot;}</company_registered_address>
                <company_registered_address_detail>浙江省杭州市余杭区文一西路969号</company_registered_address_detail>
                <company_registered_capital></company_registered_capital>
                <company_staff_count></company_staff_count>
                <company_status></company_status>
                <company_telephone></company_telephone>
                <contact_email></contact_email>
                <contact_name></contact_name>
                <contact_status></contact_status>
                <contact_telephone></contact_telephone>
                <contact_type></contact_type>
                <contact_wang_wang></contact_wang_wang>
                <default_operate_type></default_operate_type>
                <delivery_type></delivery_type>
                <factoring></factoring>
                <finance_status></finance_status>
                <gmt_create></gmt_create>
                <invoice_title></invoice_title>
                <invoice_type></invoice_type>
                <lease></lease>
                <merchant_code></merchant_code>
                <minimum_amount></minimum_amount>
                <minimum_quantity></minimum_quantity>
                <name></name>
                <payment_terms></payment_terms>
                <purchase_type></purchase_type>
                <replenish></replenish>
                <short_name></short_name>
                <status></status>
                <suspend_status></suspend_status>
                <tax_code></tax_code>
                <tax_payer_type></tax_payer_type>
            </supplier>
        </models>
        <page_count>10</page_count>
        <page_index>1</page_index>
        <page_size>100</page_size>
        <success>true</success>
        <total>1000</total>
    </result>
</alibaba_wdk_supplier_pagination_query_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

返回
顶部