1. 商品接口
蛋糕api文档
  • 接口对接指南
  • 接口签名鉴权说明
  • 对接前必读
  • 蛋糕品牌接口
    • 搜索
      GET
    • 全部
      GET
    • 获取详情
      GET
  • 蛋糕售后接口
    • 申请蛋糕售后
      POST
    • 取消蛋糕售后
      POST
    • 提交蛋糕售后物流
      POST
    • 蛋糕售后原因选项列表
      GET
    • 蛋糕售后订单详情
      GET
  • 账号接口
    • 账户余额
      GET
  • 城市地区接口
    • 全国所有城市
      GET
    • 获取城市包含的行政区县
      GET
  • 口味接口
    • 搜索
      GET
    • 全部
      GET
    • 获取详情
      GET
  • 商品接口
    • 搜索
      GET
    • 获取详情
      GET
    • 获取蛋糕支持城市
      GET
  • 订单接口
    • 蛋糕验单
      POST
    • 创建蛋糕订单
      POST
    • 获取蛋糕配送规则
      GET
    • 订单详情
      GET
    • 获取蛋糕自提门店
      GET
  • 数据模型
    • AfterSaleReason
    • Attachment
    • CakeBrandData
    • CakeFlavorData
    • CakeGoodsCar
    • CakeGoodsData
    • CakeGoodsCityData
    • CakeGoodsDetail
    • CakeGoodsItemData
    • CakeGoodsItemDetail
    • CakeStore
    • CheckCakeGoodsOrderResult
    • CheckCakeGoodsRespData
    • CheckCakeOrderReq
    • CreateCakeGoodsOrderReq
    • DateTime
    • Express100OrderData
    • ExpressDeliveryData
    • Media
    • OrderAttache
    • OrderDeliveryAddressData
    • OrderItem
    • OrderItemAttr
    • OrderLogisticInfo
    • OrderTicketCode
    • PageResponse«CakeBrandData»
    • PageResponse«CakeFlavorData»
    • PageResponse«CakeGoodsData»
    • Region
    • SkuDeliveryTimeDesc
    • Specification
    • SpecificationOption
    • SubGoods
    • SubOrder
    • SubmitCakeAfterSaleLogisticsReq
    • UserAddressData
    • 取消蛋糕售后请求
    • 渠道数据
    • 提交蛋糕售后物流请求
    • 申请蛋糕售后请求
    • 蛋糕售后订单数据
    • 蛋糕订单数据
    • 行政区划
    • 订单信息
  1. 商品接口

获取详情

GET
/api/goods/{id}

请求参数

Path 参数

Query 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/api/goods/?appId=&cityCode=&nonce=&sign=&timestamp='

返回响应

🟢200
*/*
OK
Body*/*

示例
{
    "baseImage": "string",
    "brandData": {
        "description": "string",
        "id": "string",
        "logo": "string",
        "name": "string",
        "pickUp": true,
        "saleGoodsNum": 0,
        "sortIndex": 0
    },
    "deliveryScope": "string",
    "detail": "string",
    "flavors": [
        {
            "flavorType": "string",
            "id": "string",
            "logo": "string",
            "name": "string",
            "sortIndex": 0
        }
    ],
    "goodsId": "string",
    "items": [
        {
            "attachments": [
                {
                    "attrId": "string",
                    "attrName": "string",
                    "subGoods": [
                        {
                            "id": "string",
                            "name": "string",
                            "price": 0
                        }
                    ]
                }
            ],
            "channelSettlementPrice": 0,
            "goodsItemId": "string",
            "maxOrderQty": 0,
            "medias": [
                {
                    "label": "string",
                    "sort": 0,
                    "type": "string",
                    "url": "string"
                }
            ],
            "minOrderQty": 0,
            "name": "string",
            "originPrice": 0,
            "salePrice": 0,
            "settlePrice": 0,
            "skuBarcode69": "string",
            "skuDesc": "string",
            "skuExtraInfo": {},
            "skuExtraType": "VIRTUAL",
            "skuId": 0,
            "spuId": 0,
            "status": true
        }
    ],
    "name": "string",
    "onlySingleOrder": true,
    "saleNum": 0,
    "specificationList": [
        {
            "attrName": "string",
            "id": 0,
            "options": [
                {
                    "optionIcon": "string",
                    "optionName": "string",
                    "skuIds": [
                        "string"
                    ]
                }
            ]
        }
    ],
    "spuDesc": "string",
    "supportSevenDayReturn": true
}
🟠401
🟠403
🟠404
修改于 2026-11-13 03:23:33
上一页
搜索
下一页
获取蛋糕支持城市
Built with