OPEN-API-English
  1. Product
OPEN-API-English
  • Default Group
    • Product
      • Create/Edit Products
        POST
      • Create Product Identification Code
        POST
      • Query SKU
        POST
      • SKU Batch Query
        POST
    • Inbound Plan
      • Create Inbound Plan
      • Inbound Plan Shipping Operation
      • Add Inbound Plan Attachment
      • Cancel Inbound Plan
      • Inbound Plan Information Query
    • Inventory
      • Batch Inventory Query
      • Inventory Query
      • Batch Query of Inventory Age
    • Orders
      • Create Sales Order (with attachments)
      • Get Order Details
      • Orders - Query List
      • Order Attachment Upload
      • Cancel Order
  1. Product

SKU Batch Query

POST
/v1/product/findPage

Request

Header Params
x-api-key
string 
required
Example:
abc123(认证信息)
Content-Type
string 
required
Example:
application/json
Body Params application/json
skuList
array[string] | null 
sku列表
optional
SKU list, maximum 100
pageSize
integer 
页数
optional
Default 100, maximum 100
pageNum
integer 
第几页,默认从起始页开始
optional
Start page is from 0
Example
{
    "skuList": [
        "string"
    ],
    "pageSize": 0,
    "pageNum": 0
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1/v1/product/findPage' \
--header 'x-api-key: abc123(认证信息)' \
--header 'Content-Type: application/json' \
--data-raw '{
    "skuList": [
        "string"
    ],
    "pageSize": 0,
    "pageNum": 0
}'

Responses

🟢200成功
application/json
Body
code
integer 
required
Return Code 200 is successful
message
string 
required
Product information query successful
data
object 
required
pageable
object 
required
totalElements
integer 
required
Total quantity
totalPages
integer 
required
Total page
last
boolean 
required
first
boolean 
required
sort
object 
required
numberOfElements
integer 
required
size
integer 
required
number
integer 
required
empty
boolean 
required
content
array [object {26}] 
required
product list
statusCode
integer 
required
Return Code 200 is successful
status
integer 
required
0
Example
{
    "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": ""
            }
        ]
    }
}
Modified at 2023-12-12 01:11:51
Previous
Query SKU
Next
Create Inbound Plan
Built with