POST Catalog/Component
GetComponents with same parentID
Request Information
URI Parameters
None.
Body Parameters
GetComponentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Lang": "sample string 2",
"StoreID": 3
}
application/xml, text/xml
Sample:
<GetComponentRequest 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> </GetComponentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Component| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Created | date |
None. |
|
| Modified | date |
None. |
|
| Disabled | date |
None. |
|
| ProductID | integer |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 100 |
|
| Description | string |
None. |
|
| MinimumQuantity | decimal number |
Range: inclusive between 0 and 2147483647 |
|
| MaximumQuantity | decimal number |
Range: inclusive between 0 and 2147483647 |
|
| SortOrder |
order of this Component within product |
integer |
None. |
| Optional |
A composite product can be ordered without an optional component |
boolean |
None. |
| Images | Collection of ItemImage |
None. |
|
| Products |
Products related to this component |
Collection of ComponentProduct |
None. |
| Classifications |
Products related to this component by classification |
Collection of ComponentClassification |
None. |
| Prices | Collection of ItemPrice |
None. |
Response 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.