The SalesOrderUpdate API allows you to update an existing Sales Order. The request body includes customer information, status, and other relevant information.
| Method | API Endpoint |
|---|---|
| PUT | {{endpoint}}/api/ext/sales-orders |
| Key | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer{{token}} |
{
"salesOrder": {
"customer": {
"id": "3",
"email": "null",
"customerExternalId": "null"
},
"orderCurrency": "MYR",
"salesOrderChannel": {
"code": "FF",
"name": "null"
},
"salesOrderType": {
"code": "ORDER_TYPE_1"
},
"orderOwner": {
"login": "tharindu@lavalabs.net"
},
"billingContact": {
"externalId": "contact1"
},
"shippingContact": {
"externalId": "contact1"
},
"country": {
"name": "Malasiya"
},
"status": "DRAFT",
"salesOrderExternalId": "fdfd",
"orderName": "salesorder1",
"orderStartDate": "2023-10-06",
"orderEndDate": "2023-10-31",
"orderAmount": "0"
},
"productVMSList": "[]"
}
// 500 Response Code
{
"type": "http://www.jhipster.tech/problem/problem-with-message",
"title": "Internal Server Error",
"status": 500,
"detail": "Sales Order not found with ext : fdfd",
"path": "/custella-0.0.1-SNAPSHOT/api/ext/sales-orders",
"message": "error.http.500"
}

Description can be added here
This website and its content are the property of FieldEx and are protected by copyright laws. © 2026 FieldEx. Any redistribution or reproduction of part or all of the contents in any form is prohibited, except with our express written permission.
FieldEx Pte Ltd Singapore