POST Catalog/ProductAttributes
ProductAttributes where a Product is bound as a principal or child
Request Information
URI Parameters
None.
Body Parameters
GetProductRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Reference | string |
None. |
|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Reference": "sample string 1",
"Lang": "sample string 2",
"StoreID": 3
}
application/xml, text/xml
Sample:
<GetProductRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Catalog"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 2</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">3</StoreID> <ID>1</ID> <Reference>sample string 1</Reference> </GetProductRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ItemAttribute| Name | Description | Type | Additional information |
|---|---|---|---|
| AttributeID | integer |
None. |
|
| SortOrder | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"AttributeID": 1,
"SortOrder": 2
},
{
"AttributeID": 1,
"SortOrder": 2
}
]
application/xml, text/xml
Sample:
<ArrayOfItemAttribute xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Catalog">
<ItemAttribute>
<AttributeID>1</AttributeID>
<SortOrder>2</SortOrder>
</ItemAttribute>
<ItemAttribute>
<AttributeID>1</AttributeID>
<SortOrder>2</SortOrder>
</ItemAttribute>
</ArrayOfItemAttribute>