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

Query SKU

POST
/v1/product/getBySku

Request

Header Params
x-api-key
string 
required
Example:
abc123(认证信息)
Content-Type
string 
required
Example:
application/json
Body Params application/json
sku
string 
required
SKU
Example
{
    "sku": "string"
}

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/getBySku' \
--header 'x-api-key: abc123(认证信息)' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sku": "string"
}'

Responses

🟢200成功
application/json
Body
code
number 
required
Return code 200 is successful
message
string 
required
Return message
data
object 
required
Product detail
sku
string 
required
Sku
customItemNo
string 
required
Custom Product Code
upc
string 
required
UPC Code
productType
integer 
required
Product Type 1: Finished Product Product Type 2: Accessories Product Type 3: Consumables (Default is Finished Product if not specified)
name
string 
required
Chinese Name
nameEn
string 
required
English Name
description
string 
required
Product Description
width
number 
required
Product Width(cm)
length
string 
required
Product Length(cm)
height
number 
required
Product Height(cm)
weight
number 
required
Product Weight(g)
itemLength
number 
required
Item Length(cm)
itemWidth
number 
required
Item Width(cm)
itemHeight
number 
required
Item Height(cm)
expirationControl
integer 
optional
Expiration Control 0: No 1: Yes (Default is No if not specified)
expirationDate
integer 
optional
Storage Period (Days)
packedQty
integer 
required
Packing Quantity
packedLength
number 
required
Packing Length(cm)
packedWidth
number 
required
Packing Width(cm)
packedHeight
number 
required
Packing Height(cm)
packedWeight
number 
required
Packing Weight(g)
cost
number 
required
Cost
currency
string 
required
Currency
isInsuranceFlag
string 
optional
Is the product insured value? N: No; Y: Yes (Not filled defaults to No)
isInsuranceRate
number 
optional
Insurance Rate
remark
string 
required
Remark
Example
{
    "code": 0,
    "message": "string",
    "data": {
        "sku": "string",
        "customItemNo": "string",
        "upc": "string",
        "productType": 0,
        "name": "string",
        "nameEn": "string",
        "description": "string",
        "width": 0,
        "length": "string",
        "height": 0,
        "weight": 0,
        "itemLength": 0,
        "itemWidth": 0,
        "itemHeight": 0,
        "expirationControl": 0,
        "expirationDate": 0,
        "packedQty": 0,
        "packedLength": 0,
        "packedWidth": 0,
        "packedHeight": 0,
        "packedWeight": 0,
        "cost": 0,
        "currency": "string",
        "isInsuranceFlag": "string",
        "isInsuranceRate": 0,
        "remark": "string"
    }
}
Modified at 2023-12-12 00:56:06
Previous
Create Product Identification Code
Next
SKU Batch Query
Built with