批量获取详情v2
POST
/v2/Goods/GetBulkGoodDetail
与商品详情返回字段含义相同#
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
ids
string
必需
示例
{
"ids": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/Goods/GetBulkGoodDetail' \
--header 'Content-Type: application/json' \
--data-raw '{
"ids": "string"
}'
返回响应
🟢200成功
application/json
Body
msg
string
可选
code
number
可选
data
array [object {30}]
可选
id
number
必需
third_id
number
必需
shop_id
number
必需
cloud_shop_id
integer
必需
source
number
必需
category_id
string
必需
third_category_name
string
必需
third_brand_name
string
必需
unit
string
必需
origin
string
必需
title
string
必需
market_price
number
必需
guide_price
number
必需
agreement_price
number
必需
activity_price
number
必需
activity_rate
number
必需
cover
string
必需
stock
number
必需
total_stock
number
必需
status
number
必需
sale
number
必需
created_time
number
必需
updated_time
number
必需
is_free_shipping
number
必需
choose_count
number
必需
description
string
必需
covers
array[string]
必需
attributes
object
必需
specs
object
必需
old_goods_title
string
必需
示例
{
"msg": "string",
"code": 0,
"data": [
{
"id": 0,
"third_id": 0,
"shop_id": 0,
"cloud_shop_id": 0,
"source": 0,
"category_id": "string",
"third_category_name": "string",
"third_brand_name": "string",
"unit": "string",
"origin": "string",
"title": "string",
"market_price": 0,
"guide_price": 0,
"agreement_price": 0,
"activity_price": 0,
"activity_rate": 0,
"cover": "string",
"stock": 0,
"total_stock": 0,
"status": 0,
"sale": 0,
"created_time": 0,
"updated_time": 0,
"is_free_shipping": 0,
"choose_count": 0,
"description": "string",
"covers": [
"string"
],
"attributes": {},
"specs": {
"names": [
{
"id": 0,
"goods_id": 0,
"name": "string",
"sort": 0,
"third_spec_name_id": 0
}
],
"values": [
{
"id": 0,
"goods_id": 0,
"spec_name_id": 0,
"name": "string",
"sort": 0,
"third_spec_value_id": 0
}
],
"options": [
{
"id": 0,
"third_id": 0,
"goods_id": 0,
"spec_value_ids": "string",
"spec_value_names": "string",
"market_price": 0,
"guide_price": 0,
"activity_price": 0,
"agreement_price": 0,
"stock": 0,
"weight": 0,
"third_spec_option_id": "string",
"image": "string",
"old_goods_id": 0,
"status": 0
}
]
},
"old_goods_title": "string"
}
]
}