- 评论
- souring相关
- 站点->sourcing
- 购物车 -> 购物车
- 个人中心->订单管理
- 产品->详情
- 订单 -> 订单
- 站点->支付方式
- 产品搜索->列表
- 购物车 -> 结算
- 商品详情->激光定制
- 商品定制
- 多买多奖
激光定制模板查询
POST
/st-pse/laser-customized/template
请求参数
Body 参数application/json
spu
string
商品spu
sku
string
商品sku
示例
{
"spu": "string",
"sku": "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/laser-customized/template' \
--header 'Content-Type: application/json' \
--data-raw '{
"spu": "string",
"sku": "string"
}'
返回响应
🟢200成功
application/json
Body
com.nihao.sitepseweb.model.vo.SiteLaserCustomizedTemplateVo
spu
string
spu
processType
integer
可选
laserEngravingTypes
array[integer]
可选
sku
string
sku
backgroundImage
string
定制背景图
bottomLeft
string
左下角
bottomRight
string
右下角
topLeft
string
左上角
topRight
string
右上角
maximumCharacterLimit
integer
字符上限
tiltAngle
number
倾斜角度
fontSize
integer
字号
fontList
array[object (SiteLaserCustomizedFontVo) {5}]
字体列表
fontId
integer
字体ID
fontImage
string
字体图片
fontName
string
字体名称
fontUrl
string
字体地址
isSelected
boolean
是否默认
imageCoordinates
object (ImageCoordinates)
图像坐标
skuCode
string
SKU编码
angle
number
可选
height
number
高度(像素)
width
number
宽度(像素)
laserLeft
number
左上角水平坐标
laserTop
number
左上角垂直坐标
originX
string
可选
originY
string
可选
scaleX
number
水平缩放比例
scaleY
number
垂直缩放比例
shape
string
形状
示例
{
"spu": "",
"processType": 0,
"laserEngravingTypes": [
0
],
"sku": "",
"backgroundImage": "",
"bottomLeft": "",
"bottomRight": "",
"topLeft": "",
"topRight": "",
"maximumCharacterLimit": 0,
"tiltAngle": 0.0,
"fontList": [
{
"font_id": 0,
"font_image": "",
"font_name": "",
"font_url": ""
}
]
}
修改于 2025-05-16 03:54:27