PATCH api/v1/Orders/{id}
Patch order by id, only fields in the request are updated. The returned list of fields are cached.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
PatchOrderDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Type |
Type of order |
string |
Required Max length: 32 |
| ExtOrderId |
External id of order |
string |
Max length: 100 |
| ContactId |
Id of contact |
integer |
None. |
| FirstName |
FirstName on the order |
string |
Max length: 50 |
| LastName |
LastName on the order |
string |
Max length: 50 |
| Address |
Address on the order |
string |
Max length: 250 |
| PostCode |
Postcode on the order |
string |
Max length: 32 |
| City |
City on the order |
string |
Max length: 100 |
| Country |
Country on the order |
string |
Max length: 100 |
| Company |
Company on the order |
string |
Max length: 250 |
| StoreId |
Id of store |
integer |
None. |
| OriginDate |
Date of origin of the order |
date |
None. |
| StartDate |
Start date of the order |
date |
None. |
| EndDate |
End date of the order |
date |
None. |
|
Email of the order |
string |
Max length: 250 |
Request Formats
application/json, text/json
{
"Type": "sample string 1",
"ExtOrderId": "sample string 2",
"ContactId": 1,
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Address": "sample string 5",
"PostCode": "sample string 6",
"City": "sample string 7",
"Country": "sample string 8",
"Company": "sample string 9",
"StoreId": 1,
"OriginDate": "2025-10-24T14:27:37.5750055+02:00",
"StartDate": "2025-10-24T14:27:37.5750055+02:00",
"EndDate": "2025-10-24T14:27:37.5750055+02:00",
"Email": "sample string 10"
}
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
ReadOrderDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id of order |
integer |
None. |
| Type |
Type of order |
string |
Max length: 32 |
| ExtOrderId |
External id of order |
string |
Max length: 100 |
| ContactId |
Id of contact |
integer |
None. |
| FirstName |
FirstName on the order |
string |
Max length: 50 |
| LastName |
LastName on the order |
string |
Max length: 50 |
| Address |
Address on the order |
string |
Max length: 250 |
| PostCode |
Postcode on the order |
string |
Max length: 32 |
| City |
City on the order |
string |
Max length: 100 |
| Country |
Country on the order |
string |
Max length: 100 |
| Company |
Company on the order |
string |
Max length: 250 |
| PriceTotal |
Total price of order |
decimal number |
None. |
| LastModified |
Date and time of last modification of order |
date |
None. |
| StoreId |
Id of store |
integer |
None. |
| OriginDate |
Date of origin of the order |
date |
None. |
| StartDate |
Start date of the order |
date |
None. |
| EndDate |
End date of the order |
date |
None. |
|
Email of the order |
string |
Max length: 250 |
|
| ContactRegistrationSource |
Registration source of the order's contact |
string |
Max length: 50 |
| ContactRegistrationDateTime |
Registration datetime of the order's contact |
date |
None. |
| OrderLines |
Orderlines of order |
Collection of ReadOrderLineDto |
None. |
Response Formats
application/json, text/json
{
"Id": 1,
"Type": "sample string 2",
"ExtOrderId": "sample string 3",
"ContactId": 1,
"FirstName": "sample string 4",
"LastName": "sample string 5",
"Address": "sample string 6",
"PostCode": "sample string 7",
"City": "sample string 8",
"Country": "sample string 9",
"Company": "sample string 10",
"PriceTotal": 11.0,
"LastModified": "2025-10-24T14:27:37.5830132+02:00",
"StoreId": 1,
"OriginDate": "2025-10-24T14:27:37.5830132+02:00",
"StartDate": "2025-10-24T14:27:37.5830132+02:00",
"EndDate": "2025-10-24T14:27:37.5830132+02:00",
"Email": "sample string 13",
"ContactRegistrationSource": "sample string 14",
"ContactRegistrationDateTime": "2025-10-24T14:27:37.5830132+02:00",
"OrderLines": [
{
"Id": 1,
"OrderId": 2,
"ExtProductId": "sample string 3",
"ImgUrl": "sample string 4",
"Name": "sample string 5",
"Description": "sample string 6",
"Quantity": 7.0,
"Price": 8.0,
"PriceTotal": 9.0,
"LastModified": "2025-10-24T14:27:37.5840139+02:00",
"ContactRegistrationSource": "sample string 11",
"ContactRegistrationDateTime": "2025-10-24T14:27:37.5840139+02:00"
},
{
"Id": 1,
"OrderId": 2,
"ExtProductId": "sample string 3",
"ImgUrl": "sample string 4",
"Name": "sample string 5",
"Description": "sample string 6",
"Quantity": 7.0,
"Price": 8.0,
"PriceTotal": 9.0,
"LastModified": "2025-10-24T14:27:37.5840139+02:00",
"ContactRegistrationSource": "sample string 11",
"ContactRegistrationDateTime": "2025-10-24T14:27:37.5840139+02:00"
}
]
}