purchasing_updatePurchaseOrder

WRITE

Update an existing purchase order - handles exchange rate updates when currency changes.

Parameters

idstringrequired
statusstringoptional
currencyCodestringoptional
orderDatestringoptional
supplierIdstringoptional
supplierContactIdstringnulloptional
supplierLocationIdstringnulloptional
supplierReferencestringoptional
purchaseOrderTypestringoptional
notesstringnulloptional
customFieldsanyoptional

Call it

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

call_tool
call_tool({
  "name": "purchasing_updatePurchaseOrder",
  "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"
    },
    "supplierId": {
      "type": "string"
    },
    "supplierContactId": {
      "type": [
        "string",
        "null"
      ]
    },
    "supplierLocationId": {
      "type": [
        "string",
        "null"
      ]
    },
    "supplierReference": {
      "type": "string"
    },
    "purchaseOrderType": {
      "type": "string"
    },
    "notes": {
      "type": [
        "string",
        "null"
      ]
    },
    "customFields": {}
  },
  "required": [
    "id"
  ]
}