POST Orders/AddOrderItemComponent
Request Information
URI Parameters
None.
Body Parameters
OrderItemComponentBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderItemID | integer |
None. |
|
| ComponentID | integer |
None. |
|
| VariationID | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| OrderID | integer |
None. |
|
| Token | globally unique identifier |
None. |
|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderItemID": 1,
"ComponentID": 2,
"VariationID": 3,
"Quantity": 4.0,
"OrderID": 5,
"Token": "13317be5-10fe-41b2-b97b-9cfbe8adab7e",
"Lang": "sample string 7",
"StoreID": 8
}
application/xml, text/xml
Sample:
<OrderItemComponentBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Order"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">sample string 7</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">8</StoreID> <OrderID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Order">5</OrderID> <Token xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Order">13317be5-10fe-41b2-b97b-9cfbe8adab7e</Token> <ComponentID>2</ComponentID> <OrderItemID>1</OrderItemID> <Quantity>4</Quantity> <VariationID>3</VariationID> </OrderItemComponentBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OrderItemComponent| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| OrderItemID |
OrderItemID of a composite variation |
integer |
None. |
| ComponentID | integer |
None. |
|
| Variation |
Use the variationID of a component together with the OrderItemID where the composite variation resides |
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.