POST Catalog/BoundProducts
BoundProducts 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 BoundProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| BoundID | integer |
None. |
|
| ProductID | integer |
None. |
|
| TypeID | integer |
None. |
|
| SortOrder | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"BoundID": 1,
"ProductID": 2,
"TypeID": 3,
"SortOrder": 4
},
{
"BoundID": 1,
"ProductID": 2,
"TypeID": 3,
"SortOrder": 4
}
]
application/xml, text/xml
Sample:
<ArrayOfBoundProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Catalog">
<BoundProduct>
<BoundID>1</BoundID>
<ProductID>2</ProductID>
<SortOrder>4</SortOrder>
<TypeID>3</TypeID>
</BoundProduct>
<BoundProduct>
<BoundID>1</BoundID>
<ProductID>2</ProductID>
<SortOrder>4</SortOrder>
<TypeID>3</TypeID>
</BoundProduct>
</ArrayOfBoundProduct>