- 评论
- souring相关
- 站点->sourcing
- 购物车 -> 购物车
- 个人中心->订单管理
- 产品->详情
- 订单 -> 订单
- 站点->支付方式
- 产品搜索->列表
- 购物车 -> 结算
- 商品详情->激光定制
- 商品定制
- 多买多奖
获取所有语言的属性名
POST
/st-pse/product/get-current-language-attributes
请求参数
Body 参数application/json
siteId
integer
站点
category
string
类目
cid
integer
类目ID
sub
integer
语言分表位
categoryIds
array[integer]
n级类目ID集合
parentCategoryId
integer
可选
因为只有一级类目关联了属性
subCategoryIds
array[integer]
可选
用于属性统计表过滤哪些类目有该属性
attribute
string
属性名
customAttrs
array[string]
自定义属性
spuList
array[string]
spu集合
bytem
boolean
可选
示例
{
"siteId": 0,
"category": "string",
"cid": 0,
"sub": 0,
"categoryIds": [
0
],
"parentCategoryId": 0,
"subCategoryIds": [
0
],
"attribute": "string",
"customAttrs": [
"string"
],
"spuList": [
"string"
],
"bytem": true
}
示例代码
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/product/get-current-language-attributes' \
--header 'Content-Type: application/json' \
--data-raw '{
"siteId": 0,
"category": "string",
"cid": 0,
"sub": 0,
"categoryIds": [
0
],
"parentCategoryId": 0,
"subCategoryIds": [
0
],
"attribute": "string",
"customAttrs": [
"string"
],
"spuList": [
"string"
],
"bytem": true
}'
返回响应
🟢200成功
application/json
Body
array[string]
可选
示例
[
""
]
修改于 2025-05-22 06:26:27