版本:202201
查询供应商列表
GET/openapi/2022-01/suppliers
分页返回供应商列表。
请求
Query参数
ids string[]
用于筛选的供应商 ID 列表;为空时返回全部供应商。
page int32
Page number of results to retrieve, starting from 1. Must be a positive integer.
limit int32
The maximum number of results per page. Acceptable range: 1 to 100.
响应
- 200
200
- application/json
- 数据结构
- 示例
- Result
数据结构
- Array [
- ]
suppliers object[]
idstring
示例:
382453603865993516titlestring
示例:
example supplierurlstring
示例:
https://shoplazza.comcreated_atstring
示例:
2024-05-21T08:54:05Zupdated_atstring
示例:
2024-05-21T08:54:05Zcountinteger
默认值:
0示例:
1{
"suppliers": [
{
"id": "382453603865993516",
"title": "example supplier",
"url": "https://shoplazza.com",
"created_at": "2024-05-21T08:54:05Z",
"updated_at": "2024-05-21T08:54:05Z"
}
],
"count": 1
}
{
"suppliers": [
{
"id": "382453603865993516",
"title": "example supplier",
"url": "https://shoplazza.com",
"created_at": "2024-05-21T08:54:05Z",
"updated_at": "2024-05-21T08:54:05Z"
}
],
"count": 1
}