1. 商品相关
Shanjing Ecommerce Api
latest
  • latest
  • 🇺🇸 English
  • 接入指南
    • 平台概述
    • 成为开发者
  • 淘宝&天猫 API
    • 鉴权
      • 获取 Token
      • 刷新 Token
    • 商品相关
      • 获取淘宝/天猫商品详情接口
        GET
      • 淘宝/天猫商品关键词搜索接口
        GET
      • 淘宝/天猫图片搜索同款商品接口
        GET
      • 上传图片到淘宝/天猫用于图搜商品
        POST
    • 订单相关
      • 淘宝/天猫撞库接口
      • 淘宝/天猫预创建订单接口
      • 淘宝/天猫正式创建订单接口
      • 淘宝/天猫取消订单接口
      • 淘宝/天猫查询订单接口
  1. 商品相关

获取淘宝/天猫商品详情接口

GET
/rest/taobao-global/traffic/item/get
传淘宝/天猫商品 id 来获取商品详情,支持多语言翻译。

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Query Params

Request Code 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 'https://ecommerce-api.shanjing-inc.com/rest/taobao-global/traffic/item/get?item_resource=taobao&item_id=600231131&include_tags=activity_202311_1_tb_manjian&language=en' \
--header 'Authorization: Bearer <token>'

Responses

🟢200成功
application/json
Bodyapplication/json

Example
{
    "errorCode": "string",
    "errorMsg": "string",
    "data": {
        "itemResource": "string",
        "itemId": 0,
        "title": "string",
        "picUrls": [
            "string"
        ],
        "shopName": "string",
        "price": 0,
        "promotionPrice": 0,
        "description": "string",
        "properties": [
            {
                "propId": 0,
                "propName": "string",
                "valueId": 0,
                "valueName": "string"
            }
        ],
        "skuList": [
            {
                "skuId": 0,
                "quantity": 0,
                "price": 0,
                "promotionPrice": 0,
                "picUrl": "string",
                "properties": [
                    {
                        "propId": 0,
                        "propName": "string",
                        "valueId": 0,
                        "valueName": "string",
                        "valueDesc": "string"
                    }
                ],
                "couponPrice": 0
            }
        ],
        "shopId": 0,
        "propertyImageList": [
            {
                "properties": "string",
                "imageUrl": "string"
            }
        ],
        "tagList": [
            "string"
        ],
        "materialI18nVO": {
            "title": "string",
            "properties": [
                {
                    "propertyId": 0,
                    "propertyText": "string",
                    "valueId": 0,
                    "valueText": "string",
                    "valueDescription": "string"
                }
            ],
            "skuProperties": [
                {
                    "skuId": 0,
                    "properties": [
                        {
                            "propertyId": 0,
                            "propertyText": "string",
                            "valueId": 0,
                            "valueText": "string",
                            "valueDescription": "string"
                        }
                    ]
                }
            ],
            "language": "string",
            "mainImage": "string"
        },
        "couponPrice": 0,
        "promotionDisplayVOList": [
            {
                "name": "string",
                "itemPromotionDisplayInfoVOList": [
                    {
                        "code": "string",
                        "name": "string"
                    }
                ]
            }
        ],
        "categoryId": "string",
        "categoryName": "string",
        "categoryPath": "string"
    }
}
🟢200接口异常错误
Modified at 2026-03-14 05:37:03
Previous
刷新 Token
Next
淘宝/天猫商品关键词搜索接口
Built with