- 默认分组
- 产品
- 入库计划单
- 库存
- 订单
- 退货
- 调拨
- 预约
- 基础数据
- 三方授权
- 运费
- 费用
sku批量分页查询
POST
https://hwc-open-api.yqn.com/v1/product/findPage
请求参数
Header 参数
x-api-key
string
必需
示例值:
abc123(认证信息)
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
skuList
array[string] | null
sku列表
pageSize
integer
每页大小
pageNum
integer
第几页,默认从起始页开始
示例
{
"skuList": [
"string"
],
"pageSize": 0,
"pageNum": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://hwc-open-api.yqn.com/v1/product/findPage' \
--header 'x-api-key: abc123(认证信息)' \
--header 'Content-Type: application/json' \
--data-raw '{
"skuList": [
"string"
],
"pageSize": 0,
"pageNum": 0
}'
返回响应
🟢200成功
application/json
Body
code
integer
200 成功
message
string
获取产品数据成功
data
object
必需
pageable
object
必需
totalElements
integer
总数据量
totalPages
integer
总页数
last
boolean
必需
first
boolean
必需
sort
object
必需
numberOfElements
integer
必需
size
integer
必需
number
integer
必需
empty
boolean
必需
content
array [object {39}]
必需
statusCode
integer
200 成功
status
integer
0
示例
{
"statusCode": 200,
"status": 0,
"code": 200,
"message": "获取产品数据成功",
"data": {
"pageable": {
"draw": 0,
"offset": 0,
"pageNumber": 0,
"pageSize": 100,
"paged": true,
"unpaged": false
},
"totalElements": 1,
"totalPages": 1,
"last": true,
"first": true,
"sort": {
"sorted": true,
"unsorted": false,
"empty": false
},
"numberOfElements": 1,
"size": 100,
"number": 0,
"empty": false,
"content": [
{
"sku": "XXXX",
"customItemNo": "",
"upc": "",
"productType": 0,
"name": "特斯林3件套棕色",
"nameEn": "Patio furniture",
"description": "",
"length": 74,
"width": 63,
"height": 18.5,
"weight": 19300,
"itemLength": 0,
"itemWidth": 0,
"itemHeight": 0,
"expirationControl": 0,
"expirationDate": 0,
"packedQty": 0,
"packedLength": null,
"packedWidth": null,
"packedHeight": null,
"packedWeight": null,
"cost": 0,
"currency": "USD",
"isInsuranceFlag": "N",
"isInsuranceRate": 0,
"remark": ""
}
]
}
}