4.16 商品类型的规格属性列表查询Querying the Specification Attribute List of Commodity Types
名称 | 说明 |
名称 | thisshop.property.list.get |
功能描述 | 商品类型的规格属性列表查询 |
访问路径 | /api/shop/property/list/inquiry |
格式 | json |
请求方式 | Post |
数据格式 | //备注:appId、nonce、timestamp、token为公共参数 { |
返回数据 | 成功 { |
English:
name | illustrate |
name | thisshop.property.list.get |
Function description | Query of the specification attribute list of the product type |
access path | /api/shop/property/list/inquiry |
Format | json |
request method | Post |
Data Format | //Note: appId , nonce, timestamp, token are public parameters { |
return data | success { |
请求参数request parameter
字段名 | 类型 | 长度 | 描述 | 必填 | 备注 | |
categoryId | string | 32 | 三级分类编号 | Y | ||
isRuleFlag | String | 2 | 是否销售规格类型属性 | Y | y:销售规格 |
English:
field name | type | length | describe | Required | Remark | |
categoryId | string | 32 | Three-level classification number | Y | ||
isRuleFlag | String | 2 | Whether to sell the specification type attribute | Y | y: Sales specification |
响应参数response parameter
字段名 | 类型 | 描述 | 必填 | 备注 |
transactionStatus | Object | 交易响应对象 | ||
result | Object | 返回对象 |
result
字段名 | 类型 | 长度 | 必填 | 描述 | 备注 |
attrId | String | 商品属性编号 | 商品属性编号 | ||
nameLocal | String | 商品属性本地名称 | 商品属性本地名称 | ||
nameEn | String | 商品属性英文名称 | 商品属性英文名称 | ||
isFlagStandard | String | 是否规格类型属性 | 是否规格类型属性 | ||
mustFlag | String | 是否必填 | 是否必填 | ||
flgAttrImage | String | 是否需要规格图 | 是否需要规格图 | ||
flgChoose | String | 是否多选 | 是否多选 | ||
attrCheckType | String | 校验类型 | 校验类型 | ||
attrGroup | String | 商品属性分组 | 商品属性分组 | ||
attributeValueList | List | 商品属性值 | 商品属性值 |
attributeValueList:
字段名 | 类型 | 描述 | 备注 |
codId | string | 主键编号 | |
valueId | string | 商品属性值编号 | |
valueName | string | 商品属性值名称 | |
attrValue | string | 商品属性值 | |
attrId | string | 商品属性编号 | |
createDate | String | 创建时间 |
transactionStatus:
字段名 | 类型 | 描述 | 必填 | 备注 |
errorCode | string | 错误标识 | 0:正确;1:错误 | |
replyCode | string | 错误代码 | ||
replyText | string | 错误信息 | ||
memo | string | 备注 | ||
appName | string | 服务名称 | ||
success | boolean | 是否成功 | true:成功 false:失败 |
English:
field name | type | describe | Required | Remark |
transactionStatus | Object | Transaction response object | ||
result | Object | return object |
result
Field name | Data type | Length | Required | Description | Remarks |
attrId | String | Product attribute number | Product attribute number | ||
nameLocal | String | Product attribute local name | Product attribute local name | ||
nameEn | String | Product attribute English name | Product attribute English name | ||
isFlagStandard | String | Whether the specification type attribute | Whether the specification type attribute | ||
mustFlag | String | Is it required | Is it required | ||
flgAttrImage | String | Do you need a specification drawing? | Do you need a specification drawing? | ||
flgChoose | String | multiple choice | multiple choice | ||
attrCheckType | String | Check type | Check type | ||
attrGroup | String | product attribute grouping | product attribute grouping | ||
attributeValueList | List | product attribute value | product attribute value |
attributeValueList :
field name | type | describe | Remark |
codId | string | primary key number | |
valueId | string | Product attribute value number | |
valueName | string | Product attribute value name | |
attrValue | string | product attribute value | |
attrId | string | Product attribute number | |
createDate | String | creation time |
transactionStatus :
field name | type | describe | Required | Remark |
errorCode | string | error flag | 0: correct; 1: incorrect | |
replyCode | string | error code | ||
replyText | string | error message | ||
memo | string | Remark | ||
appName | string | service name | ||
success | boolean | whether succeed | true: success false: failure |
