PUT api/OrderItems
Updates an existing OrderItems entity
Request Information
URI Parameters
None.
Body Parameters
OrderItemsData object
OrderItemsData| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderItemID | integer |
None. |
|
| OrderID | integer |
None. |
|
| ProductID | integer |
None. |
|
| SubscriptionID | integer |
None. |
|
| Title | string |
None. |
|
| SubscriptionTitle | string |
None. |
|
| SKU | string |
None. |
|
| UnitPrice | decimal number |
None. |
|
| Discount | integer |
None. |
|
| FinalUnitPrice | decimal number |
None. |
|
| SubscriptionPrice | decimal number |
None. |
|
| Quantity | integer |
None. |
|
| ActivationKey | string |
None. |
|
| AllowReregistration | boolean |
None. |
|
| AddedDate | date |
None. |
|
| AddedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderItemID": 1,
"OrderID": 2,
"ProductID": 3,
"SubscriptionID": 4,
"Title": "sample string 5",
"SubscriptionTitle": "sample string 6",
"SKU": "sample string 7",
"UnitPrice": 8.0,
"Discount": 9,
"FinalUnitPrice": 10.0,
"SubscriptionPrice": 11.0,
"Quantity": 12,
"ActivationKey": "sample string 13",
"AllowReregistration": true,
"AddedDate": "2026-01-18T14:37:35.2393304-08:00",
"AddedBy": "sample string 15"
}
text/xml
Sample:
<OrderItemsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CodeBhagat.DAL"> <ActivationKey>sample string 13</ActivationKey> <AddedBy>sample string 15</AddedBy> <AddedDate>2026-01-18T14:37:35.2393304-08:00</AddedDate> <AllowReregistration>true</AllowReregistration> <Discount>9</Discount> <FinalUnitPrice>10</FinalUnitPrice> <OrderID>2</OrderID> <OrderItemID>1</OrderItemID> <ProductID>3</ProductID> <Quantity>12</Quantity> <SKU>sample string 7</SKU> <SubscriptionID>4</SubscriptionID> <SubscriptionPrice>11</SubscriptionPrice> <SubscriptionTitle>sample string 6</SubscriptionTitle> <Title>sample string 5</Title> <UnitPrice>8</UnitPrice> </OrderItemsData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |