数字化供应链 接口文档
  1. 商品
数字化供应链 接口文档
  • 公共消息
  • 消息说明
  • 商品
    • 获取商品详情v2
      GET
    • 批量获取详情v2
      POST
    • 获取全量分类v2
      GET
    • 获取逐级类目v2
      GET
    • 批量更新商品v2
      POST
  • 选品
    • 选品分组列表v2
      GET
    • 在线选品v2(新版)
      POST
    • 选品分组商品列表v2
      POST
    • 选品库增加商品v2
      GET
    • 选品库商品列表v2
      GET
    • 选品库移除商品v2
      GET
  • 订单
    • 可售检测V2
      GET
    • 前置校验V2
      POST
    • 提交下单V2
      POST
    • 全平台订单列表V2
      GET
    • 各平台订单列表V2
      GET
  • 物流
    • 确认收货
      POST
    • 物流查询v2
      GET
    • 获取物流公司列表V2
      GET
  • 售后
    • 售后前置校验V2
      POST
    • 上传售后凭证(图片)V2
      POST
    • 申请售后V2
      POST
    • 售后列表V2
      GET
    • 售后详情V2
      GET
    • 退货商家邮寄信息
      PATCH
  • 消息
    • 店铺订单取消
    • 商品下架
    • 交易成功
    • 售后同意
    • 商品上架
    • 商品已收货
    • 售后拒绝
    • 商品修改
    • 商家已发货
    • 售后退款到账
    • 商品价格变更
    • 商品库添加
    • 移除商品库商品
  1. 商品

批量获取详情v2

POST
/v2/Goods/GetBulkGoodDetail

与商品详情返回字段含义相同#

请求参数

Header 参数
Content-Type
string 
必需
示例值:
application/json
Body 参数application/json
ids
string 
必需
商品id以逗号分割,最多20条
示例
{
    "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 
必需
云仓店铺ID 0代表没有
source
number 
必需
平台来源1生态云仓11自营云仓2鲸选6阿里16跨境一仓12特卖一仓14华东一仓18厂家直销19云仓优选20天猫优选21苏宁
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 
必需
规格中的old_goods_id对应的商品标题
示例
{
    "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"
        }
    ]
}
上一页
获取商品详情v2
下一页
获取全量分类v2
Built with