POST Orders/AddOrderItemComponent
Request Information
URI Parameters
None.
Body Parameters
OrderItemComponentBindingName | 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": "d14c1b42-7b6a-49cb-8c35-221d9212edfd", "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">d14c1b42-7b6a-49cb-8c35-221d9212edfd</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
OrderItemComponentName | 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 |
Variation |
None. |
Quantity | decimal number |
None. |
|
Price | PriceBreakdown |
None. |
|
OriginalPrice | PriceBreakdown |
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.