PUT api/Orders/PutOrder/{orderId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orderId | integer |
Required |
Body Parameters
OrderUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId | integer |
None. |
|
| ReferenceNumber | string |
String length: inclusive between 0 and 20 |
|
| ShippingMethodName | string |
String length: inclusive between 0 and 50 |
|
| ShipToOffice | boolean |
None. |
|
| LocationId | integer |
None. |
|
| ShipAddressLine1 | string |
String length: inclusive between 0 and 100 |
|
| ShipAddressLine2 | string |
String length: inclusive between 0 and 100 |
|
| ShipAddressCity | string |
String length: inclusive between 0 and 50 |
|
| ShipAddressZip | string |
String length: inclusive between 0 and 5 |
|
| ShipAddressState | string |
String length: inclusive between 0 and 2 |
|
| orderLineUpdateDtos | Collection of OrderLineUpdateDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderId": 1,
"ReferenceNumber": "sample string 2",
"ShippingMethodName": "sample string 3",
"ShipToOffice": true,
"LocationId": 1,
"ShipAddressLine1": "sample string 5",
"ShipAddressLine2": "sample string 6",
"ShipAddressCity": "sample string 7",
"ShipAddressZip": "sample string 8",
"ShipAddressState": "sample string 9",
"orderLineUpdateDtos": [
{
"OrderLineId": 1,
"Qty": 2
},
{
"OrderLineId": 1,
"Qty": 2
}
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Result | Object |
None. |
|
| StatusCode | integer |
None. |
|
| StatusGroup | string |
None. |
|
| Details | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.