POST api/orders/EditOrder?OrderId={OrderId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId | integer |
Required |
Body Parameters
EditOrderViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CourierId | integer |
None. |
|
| Amount | decimal number |
None. |
|
| OrderOption | string |
None. |
|
| Note | string |
None. |
|
| DeliveryTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"CourierId": 1,
"Amount": 1.0,
"OrderOption": "sample string 1",
"Note": "sample string 2",
"DeliveryTime": "2026-01-02T17:33:21.1189798+00:00"
}
application/xml, text/xml
Sample:
<EditOrderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryCore.ViewModels"> <Amount>1</Amount> <CourierId>1</CourierId> <DeliveryTime>2026-01-02T17:33:21.1189798+00:00</DeliveryTime> <Note>sample string 2</Note> <OrderOption>sample string 1</OrderOption> </EditOrderViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.