PUT Catalog/ModifyComponentClassification
Modify a component-product relation
Request Information
URI Parameters
None.
Body Parameters
ComponentClassificationBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ComponentID | integer |
None. |
|
| ClassificationID | integer |
None. |
|
| SortOrder |
order of this Classification within Component |
integer |
None. |
| UseVariationPrice |
If set, uses variation price for this component price |
boolean |
None. |
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"ComponentID": 2,
"ClassificationID": 3,
"SortOrder": 4,
"UseVariationPrice": true,
"Lang": "sample string 6",
"StoreID": 7
}
application/xml, text/xml
Sample:
<ComponentClassificationBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Catalog"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 6</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">7</StoreID> <ClassificationID>3</ClassificationID> <ComponentID>2</ComponentID> <SortOrder>4</SortOrder> <UseVariationPrice>true</UseVariationPrice> <ID>1</ID> </ComponentClassificationBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.