API Resources #
Category #
Category 分類 #
Column Name | Type | RW/RO | Required | Note |
---|---|---|---|---|
categoryId | String | RO | Category ID
|
|
name | String | RO | Category name | |
parentId | String | RO | Parent ID | |
childrenIdList | String[] | RO | Children ID list | |
isVideoGame | Boolean | RO | Does the category belongs to video game, only show while level is sub | |
isSexToy | Boolean | RO | Does the category belongs to sex toy, only show while level is sub | |
deliveryTypes | String[] | RO | Delivery type, only show while level is sub Options:
|
|
functions | String[] | RO | Special function 分類進階功能 Only show while level is sub Options:
|
|
isGift | Boolean | RO | The category is gift or not | |
categoryManager | ContactWindow | RO | Category manager contact | |
merchandiseManager | ContactWindow | RO | Merchandise manager contact | |
productManager | ContactWindow | RO | Product manager contact | |
visible | Boolean | RO | Is the category visible? Only show while level is cat and catItem |
Categories 分類列表 #
Column Name | Type | RW/RO | Required | Note |
---|---|---|---|---|
categories | Category[] | RO | Categories 分類列表 |
|
parents | Category[] | RO | Parents 父分類列表 |
|
children | Category[] | RO | Children 子分類列表 |
ProposedCategory 近期提案分類 #
Column Name | Type | RW/RO | Required | Note |
---|---|---|---|---|
zoneId | String | RO | Zone IDe.g. z1 | |
subId | String | RO | SubStation IDe.g. sub22 | |
catId | String | RO | Category IDe.g. cat333 | |
catItemId | String | RO | Category item IDe.g. catItem4444 | |
struDataAttrClusterId | String | RO | Structured data attribute cluster ID | |
usedTs | String | RO | Latest used time in proposal Format: ISO-8601 |
|
attributes | Attribute[] | RO | 商品規格表 | |
attributeDisplayMode | String | RO | 商品規格顯示方式 |
ProposedCategories 近期提案分類列表 #
Column Name | Type | RW/RO | Required | Note |
---|---|---|---|---|
recentPrpslProdCat | ProposedCategory[] | RO | Recently proposed product categories in ProposedCategory | |
categories | Category[] | RO | ID and name of each category in the recentPrpslProdCat list | |
struDataAttrClusters | StruDataAttrCluster[] | RO | Structured data detail list that have been used for proposal |
Structured Data #
Constraints 欄位限制 #
Column Name | Type | RW/RO | Required | Note |
---|---|---|---|---|
type | String | RO | Type
|
|
minimum | Int32 | RO | text 最少字數 | |
maximum | Int32 | RO | text 最多字數 |
Attribute 欄位屬性 #
Column Name | Type | RW/RO | Required [註1] | Note |
---|---|---|---|---|
name | String | RW | POST: Y PATCH: N |
屬性名稱,最長 30 個字,不允許輸入大小於符號、換行和 tab |
values | String[] | RO | 屬性選項 | |
selectedValue | String | RW | Y | 選擇的屬性值當商品規格為自訂屬性時才允許 \n 換行 |
constraints | Constraints | RO | 屬性限制 | |
required | Boolean | RO | 是否必填 | |
searchable | Boolean | RO | 是否可用於搜尋頁之限縮條件 |
StruDataAttrCluster 結構化資料屬性集 #
Column Name | Type | RW/RO | Required | Note |
---|---|---|---|---|
id | String | RO | Cluster ID | |
name | String | RO | Name | |
categoryId | String | RO | Category ID which prefixed with its level | |
proposalType | String | RO | Proposal type | |
attributes | Attribute[] | RO | Attribute list |
StruDataAttrClusters 結構化資料屬性集列表 #
Column Name | Type | RW/RO | Required | Note |
---|---|---|---|---|
struDataAttrClusters | StruDataAttrCluster[] | RO | List of structured data attribute cluster |
StructuredData 結構化資料 #
Column Name | Type | RW/RO | Required | Note |
---|---|---|---|---|
sku | Int32 | RO | ERP 販售品編號 | |
struDataAttrClusterId | String | RO | Structured data attribute cluster ID | |
attributes | Attribute[] | RO | 商品規格表 |