查询供应商列表
POST
/open/v1/supplyChain/supplier/fetchSupplierList(下行接口)第三方合作方调用此接口,查询供应商列表
请求参数
Body 参数application/json
shopId
string
必需
门店ID,(如果是品牌,请传-1),默认-1
isDisable
integer
可选
状态:0停用 1启用,不传获取全部
supplierCateCode
string
供应商类型编码
supplierCode
string
供应商编码
supplierName
string
供应商名称
示例
{
"shopId": "75",
"isDisable": 33
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
result
array [object {19}]
可选
返回响应数据,详见SupplierVo
id
integer
供应商ID
supplierCode
string
供应商编码
supplierName
string
供应商名称
taxRate
integer
税率
isDisable
integer
必需
状态:0停用 1启用
fullName
string
供应商全称
contact
string
联系人
website
string
网址
contactTel
string
联系电话
contactMail
string
联系邮箱
contactQq
string
联系QQ/微信
contractNo
string
合同编号
zipCode
string
邮编
address
string
地址
invoiceName
string
开票全称
cuitNumber
string
税号
memo
string
备注
openingBank
string
银行名称
bankAccountNumber
string
银行账号
code
integer
必需
返回编码,详见错误码
message
string
返回信息
messageUuid
string
消息uuid
示例
{
"result": [
{
"id": 4965,
"supplierCode": "SP001",
"supplierName": "默认供应商",
"taxRate": 0,
"isDisable": 0,
"fullName": "",
"contact": "",
"website": "",
"contactTel": "",
"contactMail": "",
"contactQq": "",
"contractNo": "",
"zipCode": "",
"address": "",
"invoiceName": "",
"cuitNumber": "",
"memo": "",
"openingBank": "",
"bankAccountNumber": ""
},
{
"id": 4982,
"supplierCode": "SP002",
"supplierName": "店长的店",
"taxRate": 12,
"isDisable": 0,
"fullName": "",
"contact": "",
"website": "",
"contactTel": "",
"contactMail": "",
"contactQq": "",
"contractNo": "",
"zipCode": "",
"address": "",
"invoiceName": "",
"cuitNumber": "",
"memo": "",
"openingBank": "",
"bankAccountNumber": ""
}
],
"code": 0,
"message": "成功[OK]",
"messageUuid": "2d88ff963f2f48c8880bae8ed22ca8d9"
}
修改于 3 年前