PUT api/OrderWithPaymentDetail/PutOrderWithPaymentDetail
Request Information
URI Parameters
None.
Body Parameters
OrderWithPaymentDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | integer |
None. |
|
| CustomerId | integer |
None. |
|
| ProductId | integer |
None. |
|
| OrderEmail | string |
None. |
|
| OrderPhone | string |
None. |
|
| PromoCode | string |
None. |
|
| PromoAmount | decimal number |
None. |
|
| OrderSubTotal | decimal number |
None. |
|
| OrderTax | decimal number |
None. |
|
| OrderTotal | decimal number |
None. |
|
| OrderDateTime | date |
None. |
|
| OrderStatusId | integer |
None. |
|
| OrderStatus | string |
None. |
|
| OrderTrackingNumber | string |
None. |
|
| CustomerBillingAddressId | integer |
None. |
|
| CustomerShippingAddressId | integer |
None. |
|
| ShipmentDate | date |
None. |
|
| ExpectedDeliveryDate | date |
None. |
|
| IsActive | boolean |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedDateTime | date |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDateTime | date |
None. |
|
| PaymentId | integer |
None. |
|
| TransactionNumber | string |
None. |
|
| PaymentTypeId | integer |
None. |
|
| PaymentType | string |
None. |
|
| Amount | decimal number |
None. |
|
| PaymentStatus | integer |
None. |
|
| IsPartPayment | boolean |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| HouseNoBuildingName | string |
None. |
|
| RoadNameArea | string |
None. |
|
| Landmark | string |
None. |
|
| City | string |
None. |
|
| OrderReturnQty | integer |
None. |
|
| RefundAmount | decimal number |
None. |
|
| Reason | string |
None. |
|
| OrderReturnDate | date |
None. |
|
| OrderQty | integer |
None. |
|
| ProductName | string |
None. |
|
| ProductCode | string |
None. |
|
| ProductDesc | string |
None. |
|
| ModelNumber | string |
None. |
|
| StyleNumber | string |
None. |
|
| SKU | string |
None. |
|
| Image | Collection of byte |
None. |
|
| ImagePath | string |
None. |
|
| ImageFileName | string |
None. |
|
| IsDefaultImage | boolean |
None. |
|
| IsVariantImage | boolean |
None. |
|
| Rating | decimal number |
None. |
|
| Review | string |
None. |
|
| MobileNo | string |
None. |
|
| AlternateMobNo | string |
None. |
|
| HomeOrOfficeAddress | boolean |
None. |
|
| StateId | integer |
None. |
|
| SalesOrderID | integer |
None. |
|
| OrderGrandTotal | decimal number |
None. |
|
| OrderQuantity | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderID": 1,
"CustomerId": 1,
"ProductId": 1,
"OrderEmail": "sample string 2",
"OrderPhone": "sample string 3",
"PromoCode": "sample string 4",
"PromoAmount": 1.0,
"OrderSubTotal": 1.0,
"OrderTax": 1.0,
"OrderTotal": 1.0,
"OrderDateTime": "2025-12-15T04:04:18.0972384+05:30",
"OrderStatusId": 1,
"OrderStatus": "sample string 5",
"OrderTrackingNumber": "sample string 6",
"CustomerBillingAddressId": 1,
"CustomerShippingAddressId": 1,
"ShipmentDate": "2025-12-15T04:04:18.0972384+05:30",
"ExpectedDeliveryDate": "2025-12-15T04:04:18.0972384+05:30",
"IsActive": true,
"UpdatedBy": 1,
"UpdatedDateTime": "2025-12-15T04:04:18.0972384+05:30",
"CreatedBy": 1,
"CreatedDateTime": "2025-12-15T04:04:18.0972384+05:30",
"PaymentId": 7,
"TransactionNumber": "sample string 8",
"PaymentTypeId": 9,
"PaymentType": "sample string 10",
"Amount": 1.0,
"PaymentStatus": 1,
"IsPartPayment": true,
"FirstName": "sample string 11",
"LastName": "sample string 12",
"HouseNoBuildingName": "sample string 13",
"RoadNameArea": "sample string 14",
"Landmark": "sample string 15",
"City": "sample string 16",
"OrderReturnQty": 17,
"RefundAmount": 1.0,
"Reason": "sample string 18",
"OrderReturnDate": "2025-12-15T04:04:18.1128578+05:30",
"OrderQty": 19,
"ProductName": "sample string 20",
"ProductCode": "sample string 21",
"ProductDesc": "sample string 22",
"ModelNumber": "sample string 23",
"StyleNumber": "sample string 24",
"SKU": "sample string 25",
"Image": "QEA=",
"ImagePath": "sample string 26",
"ImageFileName": "sample string 27",
"IsDefaultImage": true,
"IsVariantImage": true,
"Rating": 1.0,
"Review": "sample string 28",
"MobileNo": "sample string 29",
"AlternateMobNo": "sample string 30",
"HomeOrOfficeAddress": true,
"StateId": 32,
"SalesOrderID": 33,
"OrderGrandTotal": 1.0,
"OrderQuantity": 34
}
application/xml, text/xml
Sample:
<OrderWithPaymentDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLogic.Models.CustomClasses"> <AlternateMobNo>sample string 30</AlternateMobNo> <Amount>1</Amount> <City>sample string 16</City> <CreatedBy>1</CreatedBy> <CreatedDateTime>2025-12-15T04:04:18.0972384+05:30</CreatedDateTime> <CustomerBillingAddressId>1</CustomerBillingAddressId> <CustomerId>1</CustomerId> <CustomerShippingAddressId>1</CustomerShippingAddressId> <ExpectedDeliveryDate>2025-12-15T04:04:18.0972384+05:30</ExpectedDeliveryDate> <FirstName>sample string 11</FirstName> <HomeOrOfficeAddress>true</HomeOrOfficeAddress> <HouseNoBuildingName>sample string 13</HouseNoBuildingName> <Image>QEA=</Image> <ImageFileName>sample string 27</ImageFileName> <ImagePath>sample string 26</ImagePath> <IsActive>true</IsActive> <IsDefaultImage>true</IsDefaultImage> <IsPartPayment>true</IsPartPayment> <IsVariantImage>true</IsVariantImage> <Landmark>sample string 15</Landmark> <LastName>sample string 12</LastName> <MobileNo>sample string 29</MobileNo> <ModelNumber>sample string 23</ModelNumber> <OrderDateTime>2025-12-15T04:04:18.0972384+05:30</OrderDateTime> <OrderEmail>sample string 2</OrderEmail> <OrderGrandTotal>1</OrderGrandTotal> <OrderID>1</OrderID> <OrderPhone>sample string 3</OrderPhone> <OrderQty>19</OrderQty> <OrderQuantity>34</OrderQuantity> <OrderReturnDate>2025-12-15T04:04:18.1128578+05:30</OrderReturnDate> <OrderReturnQty>17</OrderReturnQty> <OrderStatus>sample string 5</OrderStatus> <OrderStatusId>1</OrderStatusId> <OrderSubTotal>1</OrderSubTotal> <OrderTax>1</OrderTax> <OrderTotal>1</OrderTotal> <OrderTrackingNumber>sample string 6</OrderTrackingNumber> <PaymentId>7</PaymentId> <PaymentStatus>1</PaymentStatus> <PaymentType>sample string 10</PaymentType> <PaymentTypeId>9</PaymentTypeId> <ProductCode>sample string 21</ProductCode> <ProductDesc>sample string 22</ProductDesc> <ProductId>1</ProductId> <ProductName>sample string 20</ProductName> <PromoAmount>1</PromoAmount> <PromoCode>sample string 4</PromoCode> <Rating>1</Rating> <Reason>sample string 18</Reason> <RefundAmount>1</RefundAmount> <Review>sample string 28</Review> <RoadNameArea>sample string 14</RoadNameArea> <SKU>sample string 25</SKU> <SalesOrderID>33</SalesOrderID> <ShipmentDate>2025-12-15T04:04:18.0972384+05:30</ShipmentDate> <StateId>32</StateId> <StyleNumber>sample string 24</StyleNumber> <TransactionNumber>sample string 8</TransactionNumber> <UpdatedBy>1</UpdatedBy> <UpdatedDateTime>2025-12-15T04:04:18.0972384+05:30</UpdatedDateTime> </OrderWithPaymentDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.