openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths:
/alibaba/product/shortGet:
get:
summary: 商品详情搜索-支持短链
deprecated: false
description: >-
商品详情搜索接口,支持商品ID、短链接、口令等进行搜索,支持多语言返回,开通多语言,请联系客服,英语:"en", 俄语:"ru", 越语:
"vi", 日语:"ja", 韩语: "ko", 法语:"fr", 葡萄牙语:"pt", 西班牙语: "es",泰语:"th",
印尼语:"id",阿拉伯语:"ar",法语:"fr"
tags:
- 接口说明/1688 API/1688 商品搜索
parameters:
- name: appKey
in: query
description: 大吉平台appKey
required: true
example: ''
schema:
type: string
- name: appSecret
in: query
description: 秘钥,仅调试使用,正式用sign签名
required: false
example: ''
schema:
type: string
- name: sign
in: query
description: sign签名,请求的参数字典排序+秘钥appSecret,调试时可忽略改字段
required: false
example: ''
schema:
type: string
- name: shortUrl
in: query
description: 支持:商品ID以及何种短链接,口令等
required: true
example: >-
120w超级快充充电头适用华为充电器mate40/30荣耀手机插头充电线http://detail.m.1688.com/page/index.htm?offerId=907751568757
schema:
type: string
- name: country
in: query
description: 如en-英语,枚举见开发人员参考
required: true
example: en
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: integer
description: 返回码
message:
type: string
description: 消息
data:
type: object
properties:
offerId:
type: integer
description: 商品ID
categoryId:
type: integer
description: 类目ID
categoryName:
type: 'null'
description: 类目名称
subject:
type: string
description: 中文标题
subjectTrans:
type: string
description: 译文标题
description:
type: string
description: 详情描述
mainVideo:
type: string
description: 主视频
detailVideo:
type: 'null'
description: 详情视频
productImage:
type: object
properties:
images:
type: array
items:
type: string
description: 图片
required:
- images
x-apifox-orders:
- images
description: 图片模型
productAttribute:
type: array
items:
type: object
properties:
attributeId:
type: string
description: 属性ID
attributeName:
type: string
description: 属性名称
value:
type: string
description: 属性值
attributeNameTrans:
type: string
description: 属性名称翻译
valueTrans:
type: string
description: 属性值翻译
required:
- attributeId
- attributeName
- value
- attributeNameTrans
- valueTrans
x-apifox-orders:
- attributeId
- attributeName
- value
- attributeNameTrans
- valueTrans
description: 商品属性信息
productSkuInfos:
type: array
items:
type: object
properties:
amountOnSale:
type: integer
descript