- Default Group
- Product
- Inbound Plan
- Inventory
- Orders
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
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
message
string
required
data
object
required
sku
string
required
customItemNo
string
required
upc
string
required
productType
integer
required
name
string
required
nameEn
string
required
description
string
required
width
number
required
length
string
required
height
number
required
weight
number
required
itemLength
number
required
itemWidth
number
required
itemHeight
number
required
expirationControl
integer
optional
expirationDate
integer
optional
packedQty
integer
required
packedLength
number
required
packedWidth
number
required
packedHeight
number
required
packedWeight
number
required
cost
number
required
currency
string
required
isInsuranceFlag
string
optional
isInsuranceRate
number
optional
remark
string
required
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