- 评论
- souring相关
- 站点->sourcing
- 购物车 -> 购物车
- 个人中心->订单管理
- 产品->详情
- 订单 -> 订单
- 站点->支付方式
- 产品搜索->列表
- 购物车 -> 结算
- 商品详情->激光定制
- 商品定制
- 多买多奖
定制商品需求提交
POST
/st-pse/customization/submit-custom-product
请求参数
Body 参数application/json
param
spu
string
spu
skuList
array[string]
skuList
uploadImage
array[string]
上传图片链接
uploadVideo
string
上传视频链接
videoThumbnail
string
视频缩略图
uploadFile
string
上传文件链接
customerDesc
string
描述
示例
{
"spu": "string",
"skuList": [
"string"
],
"uploadImage": [
"string"
],
"uploadVideo": "string",
"videoThumbnail": "string",
"uploadFile": "string",
"customerDesc": "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 'https://www.nihaocloud.cn/st-pse/customization/submit-custom-product' \
--header 'Content-Type: application/json' \
--data-raw '{
"spu": "string",
"skuList": [
"string"
],
"uploadImage": [
"string"
],
"uploadVideo": "string",
"videoThumbnail": "string",
"uploadFile": "string",
"customerDesc": "string"
}'
返回响应
🟢200成功
application/json
Body
定制信息
id
integer
定制id
spu
string
spu
skuList
array[string]
原skuList
mainPic
string
主图
title
string
标题
price
number
价格 美元
customerStatus
integer
可选
miniSale
integer
最小起订量
customType
integer
可选
类型 1默认定制
默认值:
1
customizedType
integer
可选
createdAt
string
时间 utc
uploadImage
array[string]
上传图片链接
videoThumbnail
string
视频缩略图
uploadVideo
string
上传视频链接
uploadFile
string
上传文件链接
customerDesc
string
客户描述
managerReply
string
回复客户描述
originProductSkuInfoListVO
object (ProductSkuInfoListVO)
源spu信息
sameMiniSale
integer
可选
detailUrl
string
商详链接
url
string
可选
name
string
可选
spu
string
可选
imgList
array[string]
商品图
img
string
商品主图
imgInfoList
array[string]
详情图
video
string
商品视频
videoDuration
string
视频时长
videoImgUrl
array[string]
视频第一帧图
videoCover
string
视频封面图
salesCount
integer
可选
reviewScore
number
可选
reviewNum
integer
评论数
crumbs
array[object (CrumbVo) {4}]
可选
bestSellerResult
object (BestSellerResult)
榜单信息
detailJson
string
可选
sizeRatioJson
string
可选
sizeRatioUnitJson
string
可选
tdk
object (TdkVo)
定制信息
discount
number
商品级别 最大折扣
minPrice
number
价格
maxPrice
number
可选
minDiscountPrice
number
折扣价
maxDiscountPrice
number
可选
steerMaxPrice
number
可选
steerMinPrice
number
可选
stagingMaxPrice
number
分期价格
stagingMinPrice
number
可选
itemList
array[object (ProductSkuItemVO) {18}]
可选
activityCode
array[integer]
可选
默认值:
new HashSet<>()
freeShippingAmount
number
免邮门槛
activityConfigList
array[object (SiteActivityConfigVo) {9}]
活动配置信息
priceRule
object (PriceRuleVo)
价格规则
createdAt
string
可选
attributes
array[string]
可选
colors
array[string]
可选
site
array[string]
可选
keywords
array[string]
可选
similarProducts
array[object (SiteProductVO) {39}]
可选
categories
array[string]
可选
recStrategy
integer
可选
默认值:
1
shield
string
屏蔽日期
isNewSize
integer
尺码相关
sizeImage
string
可选
isShowListType
integer
「已废弃」
默认值:
0
skuShowType
integer
可选
默认值:
0
seos
array[object (SeoVo) {4}]
可选
默认值:
new ArrayList<>()
supplierCodeList
array[string]
可选
inventoryType
integer
当前库存类型
默认值:
0
isSubscriptFlag
boolean
是否显示活动角标
默认值:
true
inventoryLimit
integer
可选
是否库存限制
默认值:
0
inventoryShow
integer
是否展示库存
默认值:
0
inventoryPrompt
string
库存加超提示语
noindex
integer
禁止收录索引
默认值:
0
inventoryList
array[object (InventoryVo) {4}]
商品仓库列表
默认值:
new ArrayList<>()
fitType
object (MapString)
定制信息
productNameEnUrl
string
商品英文名Url
offShelves
boolean
是否下架
默认值:
false
promotionAccess
boolean
可选
是否促销接入 true接入,商详加购价格,服务端计算;false不接入,保持老逻辑,还是客户端计算
默认值:
true
totalInventory
integer
总库存数
eventAttributionProperties
object (MapObject)
事件属性集
hasOrder
boolean
是否下单过
isCustomize
boolean
可选
customizedType
integer
可选
extraType
integer
可选
默认值:
0
deliveryProbability
number
到货概率
deliveryAgeing
string
到货时效
supplierBrandImg
string
供应商图片透明图
addList
boolean
是否已铺货
默认值:
false
isPublished
boolean
是否已刊登
默认值:
false
buyMoreRefundDes
object (ContentVo)
定制信息
shippingDateTime
string
可选
发货日期(预售商品)
footerKeywordList
array[object (KeywordListVO) {18}]
可选
userCustomizationItemVOList
array[object (UserCustomizationItemVO) {7}]
定制sku信息
miniSale
integer
产品最小起订量
sellingPrice
number
实际售价 美元
spu
string
新spu
sku
string
新sku
productName
string
产品名称
image
string
sku 图片
weight
number
可选
示例
{
"id": 0,
"spu": "",
"skuList": [
""
],
"mainPic": "",
"title": "",
"price": 0.0,
"customerStatus": 0,
"miniSale": 0,
"customType": 0,
"customizedType": 0,
"createdAt": "",
"uploadImage": [
""
],
"videoThumbnail": "",
"uploadVideo": "",
"uploadFile": "",
"customerDesc": "",
"managerReply": "",
"originProductSkuInfoListVO": {
"sameMiniSale": 0,
"detailUrl": "",
"url": "",
"name": "",
"spu": "",
"imgList": [
""
],
"img": "",
"imgInfoList": [
""
],
"video": "",
"videoDuration": "",
"videoImgUrl": [
""
],
"videoCover": "",
"salesCount": 0,
"reviewScore": 0.0,
"reviewNum": 0,
"crumbs": [
{
"name": "",
"url": "",
"id": 0,
"categroyId": 0
}
],
"bestSellerResult": {
"mainCategoryId": 0,
"mainCategoryName": "",
"rank": 0,
"rank10d": 0
},
"detailJson": "",
"sizeRatioJson": "",
"sizeRatioUnitJson": "",
"tdk": {
"title": "",
"description": "",
"keywords": "",
"icon": "",
"pageTitle": ""
},
"discount": 0.0,
"minPrice": 0.0,
"maxPrice": 0.0,
"minDiscountPrice": 0.0,
"maxDiscountPrice": 0.0,
"steerMaxPrice": 0.0,
"steerMinPrice": 0.0,
"stagingMaxPrice": 0.0,
"stagingMinPrice": 0.0,
"itemList": [
{
"id": 0,
"img": "",
"miniSale": 0,
"weight": 0,
"color": "",
"sku": "",
"size": "",
"spec": "",
"price": 0.0,
"discountPrice": 0.0,
"discount": 0.0,
"limitDiscountPrompt": "",
"inventory": 0,
"freeShipping": 0,
"isShareSku": false,
"tieredPriceInfo": [
{
"num": 0,
"useOriginalPrice": false,
"title": "",
"off": 0.0,
"isLimit": false
}
],
"batchSale": 0,
"customizedType": 0
}
],
"activityCode": [
0
],
"activityConfigList": [
{
"activityCode": 0,
"currentDate": "",
"countDownTime": 0,
"detailStyleConfig": {
"icon": "",
"pcW": 0,
"pcH": 0,
"h5W": 0,
"h5H": 0,
"appSize": "",
"iconPosition": "",
"title": "",
"fontSize": "",
"titleColor": "",
"namePrefix": "",
"namePrefixColor": "",
"countDownColor": "",
"countDownIcon": "",
"showCountDown": false,
"linkUrl": "",
"actType": "",
"bgType": 0,
"bgColor": "",
"bgImg": ""
},
"listStyleConfig": {
"icon": "",
"pcW": 0,
"pcH": 0,
"h5W": 0,
"h5H": 0,
"appSize": "",
"iconPosition": "",
"title": "",
"fontSize": "",
"titleColor": "",
"namePrefix": "",
"namePrefixColor": "",
"countDownColor": "",
"countDownIcon": "",
"showCountDown": false,
"linkUrl": "",
"actType": "",
"bgType": 0,
"bgColor": "",
"bgImg": ""
},
"sort": 0,
"endMatch": false,
"activityType": "",
"countDownLimit": 0
}
],
"priceRule": {
"rules": [
{
"title": "",
"off": 0.0,
"num": 0
}
],
"useOriginalPrice": false,
"limitCount": 0,
"limitOff": 0.0
},
"createdAt": "",
"attributes": [
""
],
"colors": [
""
],
"site": [
""
],
"keywords": [
""
],
"similarProducts": [
{
"spu": "",
"img": "",
"video": "",
"videoCover": "",
"minPrice": 0.0,
"maxPrice": 0.0,
"productName": "",
"productNameEnUrl": "",
"minDiscountPrice": 0.0,
"maxDiscountPrice": 0.0,
"steerMaxPrice": 0.0,
"steerMinPrice": 0.0,
"stagingMaxPrice": 0.0,
"stagingMinPrice": 0.0,
"detailUrl": "",
"skuImages": "",
"activityCode": [
0
],
"activityConfigList": [
{
"activityCode": 0,
"currentDate": "",
"countDownTime": 0,
"detailStyleConfig": {
"icon": "",
"pcW": 0,
"pcH": 0,
"h5W": 0,
"h5H": 0,
"appSize": "",
"iconPosition": "",
"title": "",
"fontSize": "",
"titleColor": "",
"namePrefix": "",
"namePrefixColor": "",
"countDownColor": "",
"countDownIcon": "",
"showCountDown": false,
"linkUrl": "",
"actType": "",
"bgType": 0,
"bgColor": "",
"bgImg": ""
},
"listStyleConfig": {
"icon": "",
"pcW": 0,
"pcH": 0,
"h5W": 0,
"h5H": 0,
"appSize": "",
"iconPosition": "",
"title": "",
"fontSize": "",
"titleColor": "",
"namePrefix": "",
"namePrefixColor": "",
"countDownColor": "",
"countDownIcon": "",
"showCountDown": false,
"linkUrl": "",
"actType": "",
"bgType": 0,
"bgColor": "",
"bgImg": ""
},
"sort": 0,
"endMatch": false,
"activityType": "",
"countDownLimit": 0
}
],
"salesCount": 0,
"reviewScore": 0.0,
"reviewNum": 0,
"discount": 0.0,
"isSubscriptFlag": false,
"inventoryType": 0,
"shipOutDays": [
""
],
"eventAttributionProperties": {
"": {}
},
"addList": false,
"isPublished": false,
"id": 0,
"newScore": 0.0,
"oldScore": 0.0,
"hasOrder": false,
"bestSellerResult": {
"mainCategoryId": 0,
"mainCategoryName": "",
"rank": 0,
"rank10d": 0
},
"supplierBrandImg": "",
"isCustomize": false,
"minWeight": 0,
"miniSale": 0,
"extraType": 0
}
],
"categories": [
""
],
"recStrategy": 0,
"shield": "",
"isNewSize": 0,
"sizeImage": "",
"isShowListType": 0,
"skuShowType": 0,
"seos": [
{
"rel": "",
"media": "",
"href": "",
"hreflang": ""
}
],
"supplierCodeList": [
""
],
"inventoryType": 0,
"isSubscriptFlag": false,
"inventoryLimit": 0,
"inventoryShow": 0,
"inventoryPrompt": "",
"noindex": 0,
"inventoryList": [
{
"title": "",
"inventoryType": 0,
"bubble": "",
"notice": ""
}
],
"fitType": {
"": ""
},
"productNameEnUrl": "",
"offShelves": false,
"promotionAccess": false,
"totalInventory": 0,
"eventAttributionProperties": {
"": {}
},
"hasOrder": false,
"isCustomize": false,
"customizedType": 0,
"extraType": 0,
"deliveryProbability": 0.0,
"deliveryAgeing": "",
"supplierBrandImg": "",
"addList": false,
"isPublished": false,
"buyMoreRefundDes": {
"title": "",
"desc": "",
"benefit": "",
"logo": "",
"sort": 0
},
"shippingDateTime": "",
"footerKeywordList": [
{
"associationId": 0,
"id": 0,
"categoryId": 0,
"keywordName": "",
"keywordUrl": "",
"keywordNameEscape": "",
"storeId": 0,
"language": 0,
"sort": 0,
"keywordType": 0,
"keywordTitle": "",
"keywordKeywords": "",
"keywordDescription": "",
"keywordInfo": "",
"newKey": false,
"siteIds": [
0
],
"languageAssociationId": 0,
"showAreas": [
0
],
"siteProductNum": {
"0": 0
}
}
]
},
"userCustomizationItemVOList": [
{
"miniSale": 0,
"sellingPrice": 0.0,
"spu": "",
"sku": "",
"productName": "",
"image": "",
"weight": 0.0
}
]
}
修改于 2025-04-17 09:25:27