- 官方AI产品模块
- AI角色预设模块
- AI产品模块
- AI提示模块
- 应用模块
- 内容模块
- 商家地址库
- 权益卡模块
- 客服模块
- 公共模块
- 短信模块
- 系统公告模块
- 门店模块
- 商品模块
- 营销模块
- 售后服务模块
- 购物车模块
- 包裹物流模块
- 订单模块
- 支付模块
- 礼品模块
- 搜索模块
- 用户AI模块
- 用户会员模块
- 用户优惠券模块
- 分销员模块
- 用户收藏模块
- 用户登录模块
- 用户退出登录模块
- 用户订单模块
- 会员充值模块
- 用户注册模块
- 用户微信模块
- 用户提现模块
获取商品SKU
GET
https://api.shakingcloud.com/api/goods/sku
商品模块
请求参数
Query 参数
goodsKey
string
商品ID
specValueKeys
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.shakingcloud.com/api/goods/sku?goodsKey=&specValueKeys='
返回响应
🟢200OK
application/json
Body
attributes
object
可选
code
string
可选
data
object (GoodsSku)
可选
codPayDeposit
number
可选
cost
number
可选
createDate
string <date-time>
可选
createStr
string
可选
externalSn
string
可选
fullName
string
可选
goodsExternalSn
string
可选
goodsId
integer <int64>
可选
goodsImage
string
可选
goodsKey
string
可选
goodsPrice
number
可选
goodsSn
string
可选
goodsStatus
enum<string>
可选
枚举值:
sellingsoldoutstorerecycler
goodsType
enum<string>
可选
枚举值:
virtualreality
image
string
可选
instantStock
integer <int32>
可选
isEnabled
boolean
可选
isMarketable
boolean
可选
key
string
可选
marketPrice
number
可选
memo
string
可选
modifyDate
string <date-time>
可选
name
string
可选
offsetStock
integer <int32>
可选
periods
array[object (RentPeriod) {12}]
可选
points
integer <int32>
可选
price
number
可选
reduceStock
enum<string>
可选
枚举值:
placeOrderpayment
remark
string
可选
rewardScale
number <double>
可选
shippingMethodNames
string
可选
shippingMethods
string
可选
sid
string
可选
sn
string
可选
sort
integer <int32>
可选
specValueNames
string
可选
specs
array[object (GoodsSkuSpec) {10}]
可选
status
enum<string>
可选
枚举值:
deprecatednormal
stock
integer <int32>
可选
stockOperationType
enum<string>
可选
枚举值:
increasedecrease
tkey
string
可选
totalStock
integer <int32>
可选
weight
integer <int32>
可选
msg
string
可选
success
boolean
可选
totalCount
integer <int64>
可选
示例
{
"attributes": {},
"code": "string",
"data": {
"codPayDeposit": 0,
"cost": 0,
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"externalSn": "string",
"fullName": "string",
"goodsExternalSn": "string",
"goodsId": 0,
"goodsImage": "string",
"goodsKey": "string",
"goodsPrice": 0,
"goodsSn": "string",
"goodsStatus": "selling",
"goodsType": "virtual",
"image": "string",
"instantStock": 0,
"isEnabled": true,
"isMarketable": true,
"key": "string",
"marketPrice": 0,
"memo": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"offsetStock": 0,
"periods": [
{
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"isEnabled": true,
"key": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"price": 0,
"skuId": 0,
"sort": 0,
"tkey": "string",
"unit": "year",
"value": 0
}
],
"points": 0,
"price": 0,
"reduceStock": "placeOrder",
"remark": "string",
"rewardScale": 0,
"shippingMethodNames": "string",
"shippingMethods": "string",
"sid": "string",
"sn": "string",
"sort": 0,
"specValueNames": "string",
"specs": [
{
"instantStock": 0,
"isEnabled": true,
"price": 0,
"skuKey": "string",
"sort": 0,
"specKey": "string",
"specName": "string",
"specValueKey": "string",
"specValueName": "string",
"stock": 0
}
],
"status": "deprecated",
"stock": 0,
"stockOperationType": "increase",
"tkey": "string",
"totalStock": 0,
"weight": 0
},
"msg": "string",
"success": true,
"totalCount": 0
}
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2023-06-19 03:50:23