- Taobao
- Goods
- Order
- After-sales service
- Message callback
- Shopping cart
- 1688
- Goods
- Order
- Developers submit and pay 1688 orders in bulk
- Preview data before creating an order (batch different merchants)
- Create orders (different merchants)
- Obtain the logistics tracking information of the order
- Order list paging query
- Preview data before creating an order
- Create an order
- Cancel the order before payment
- Order payment
- The buyer confirms the receipt of goods
- After-sales service
- Message callback
- Shopping cart
- Marketing
- Foundations
- Warehouse logistics
Batch query goods according to Taobao commodity id
POST
/open/product/batch/check
商品
请求参数
Header 参数
access-key
string
必需
默认值:
58c0201dfdf148eca63cbf6bb5e7cf03
nonce-str
string
可选
默认值:
nonce-str
timestamp
string
必需
默认值:
1715669977082
user-id
string
必需
默认值:
2100007341207
signature
string
必需
默认值:
B7F83FE2ADC8D8F044F2E01F0FFE8C80
Body 参数application/json
params
string
必需
示例
{
"params": "[{\"itemId\":\"672991141190\",\"skuIds\":[\"3452545926724\"]}]"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/open/product/batch/check' \
--header 'access-key;' \
--header 'nonce-str: nonce-str' \
--header 'timestamp;' \
--header 'user-id;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
"params": "[{\"itemId\":\"672991141190\",\"skuIds\":[\"3452545926724\"]}]"
}'
返回响应
🟢200OK
application/json
Body
code
integer <int32>
返回码
data
object
返回内容
mpProducts
array [object {3}]
返回供销商品信息
noMpProductItemIds
array[string]
可选
noMpReasonList
array [object {2}]
错误原因列表
developId
string
开发者id
msg
string
返回码对应信息
requestId
string
请求id
示例
{
"requestId": "597b449f4bfb4085a3b2025f3c525bba",
"code": 200,
"developId": "1021091489188413467",
"msg": "成功",
"data": {
"mpProducts": [
{
"itemId": "672991141190",
"mpId": "2048057995392326",
"skuDTOList": [
{
"skuId": "3452545926724",
"price": 1,
"mpSkuId": "1175954206022"
}
]
}
],
"noMpProductItemIds": [],
"noMpReasonList": []
}
}
修改于 2025-02-24 06:50:44