POST api/cart/items/{cartId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cartId | integer |
Required |
Body Parameters
CmsCreateOrderItemName | Description | Type | Additional information |
---|---|---|---|
LineItemTypeID | integer |
Required Range: inclusive between 1 and 2147483647 |
|
ProductID | integer |
Required Range: inclusive between 1 and 2147483647 |
|
Quantity | integer |
Required Range: inclusive between 1 and 2147483647 |
|
CustomPrice | decimal number |
None. |
|
LotId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "LineItemTypeID": 1, "ProductID": 2, "Quantity": 3, "CustomPrice": 1.0, "LotId": 1 }
application/xml, text/xml
Sample:
<CmsCreateOrderItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Opimian.Wimps.DTO.CmsDTOs"> <CustomPrice>1</CustomPrice> <LineItemTypeID>1</LineItemTypeID> <LotId>1</LotId> <ProductID>2</ProductID> <Quantity>3</Quantity> </CmsCreateOrderItem>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |