POST Catalog/ProductFeatures
Return product feature definitions. Filter by featureIDs, productIDs or classificationIDs
Request Information
URI Parameters
None.
Body Parameters
GetProductFeaturesRequestName | Description | Type | Additional information |
---|---|---|---|
Filter | ProductFeatureFilter |
None. |
|
Range | AdminFilterRange |
None. |
|
Lang | string |
None. |
|
StoreID | integer |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
FeaturesViewName | Description | Type | Additional information |
---|---|---|---|
TotalCount | integer |
None. |
|
Features | Collection of Feature |
None. |
|
FilterableProperties | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalCount": 1, "Features": [ { "ID": 1, "ParentID": 1, "Name": "sample string 2", "Description": "sample string 3", "Unit": "sample string 4", "TypeID": 5, "UsageLimit": 6, "SortOrder": 7, "ViewFormat": "sample string 8", "Range": { "Min": 1.0, "Max": 2.0 }, "Options": [ { "ID": 1, "Value": "sample string 2", "SortOrder": 3 }, { "ID": 1, "Value": "sample string 2", "SortOrder": 3 } ], "Values": [ "sample string 1", "sample string 2" ] }, { "ID": 1, "ParentID": 1, "Name": "sample string 2", "Description": "sample string 3", "Unit": "sample string 4", "TypeID": 5, "UsageLimit": 6, "SortOrder": 7, "ViewFormat": "sample string 8", "Range": { "Min": 1.0, "Max": 2.0 }, "Options": [ { "ID": 1, "Value": "sample string 2", "SortOrder": 3 }, { "ID": 1, "Value": "sample string 2", "SortOrder": 3 } ], "Values": [ "sample string 1", "sample string 2" ] } ], "FilterableProperties": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<FeaturesView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.View.Feature"> <FilterableProperties xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Services.Views"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </FilterableProperties> <Features> <Feature> <Description>sample string 3</Description> <ID>1</ID> <Name>sample string 2</Name> <Options> <FeatureOptionTiny> <ID>1</ID> <SortOrder>3</SortOrder> <Value>sample string 2</Value> </FeatureOptionTiny> <FeatureOptionTiny> <ID>1</ID> <SortOrder>3</SortOrder> <Value>sample string 2</Value> </FeatureOptionTiny> </Options> <ParentID>1</ParentID> <Range xmlns:d4p1="http://schemas.datacontract.org/2004/07/ShopworldApi.Core.Models.Feature"> <d4p1:Max>2</d4p1:Max> <d4p1:Min>1</d4p1:Min> </Range> <SortOrder>7</SortOrder> <TypeID>5</TypeID> <Unit>sample string 4</Unit> <UsageLimit>6</UsageLimit> <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Values> <ViewFormat>sample string 8</ViewFormat> </Feature> <Feature> <Description>sample string 3</Description> <ID>1</ID> <Name>sample string 2</Name> <Options> <FeatureOptionTiny> <ID>1</ID> <SortOrder>3</SortOrder> <Value>sample string 2</Value> </FeatureOptionTiny> <FeatureOptionTiny> <ID>1</ID> <SortOrder>3</SortOrder> <Value>sample string 2</Value> </FeatureOptionTiny> </Options> <ParentID>1</ParentID> <Range xmlns:d4p1="http://schemas.datacontract.org/2004/07/ShopworldApi.Core.Models.Feature"> <d4p1:Max>2</d4p1:Max> <d4p1:Min>1</d4p1:Min> </Range> <SortOrder>7</SortOrder> <TypeID>5</TypeID> <Unit>sample string 4</Unit> <UsageLimit>6</UsageLimit> <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Values> <ViewFormat>sample string 8</ViewFormat> </Feature> </Features> <TotalCount>1</TotalCount> </FeaturesView>