sales_updateSalesOrder

WRITE

Update an existing sales order - handles exchange rate updates when currency changes, syncs customer to opportunity.

Parameters

idstringrequired
statusstringoptional
currencyCodestringoptional
orderDatestringoptional
customerContactIdstringnulloptional
customerLocationIdstringnulloptional
customerIdstringoptional
notesstringnulloptional
customFieldsanyoptional

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "sales_updateSalesOrder",
  "arguments": {
    "id": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "currencyCode": {
      "type": "string"
    },
    "orderDate": {
      "type": "string"
    },
    "customerContactId": {
      "type": [
        "string",
        "null"
      ]
    },
    "customerLocationId": {
      "type": [
        "string",
        "null"
      ]
    },
    "customerId": {
      "type": "string"
    },
    "notes": {
      "type": [
        "string",
        "null"
      ]
    },
    "customFields": {}
  },
  "required": [
    "id"
  ]
}