PUT Catalog/ModifyComponentProduct
Modify a component-product relation
Request Information
URI Parameters
None.
Body Parameters
ComponentProductBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ComponentID | integer |
None. |
|
| ProductID | integer |
None. |
|
| SortOrder |
order of this product 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,
"ProductID": 3,
"SortOrder": 4,
"UseVariationPrice": true,
"Lang": "sample string 6",
"StoreID": 7
}
application/xml, text/xml
Sample:
<ComponentProductBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Core.Models.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> <ComponentID>2</ComponentID> <ProductID>3</ProductID> <SortOrder>4</SortOrder> <UseVariationPrice>true</UseVariationPrice> <ID>1</ID> </ComponentProductBinding>
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.