sales_upsertCustomer

WRITE

Upsert customer.

Parameters

namestringrequired
idstringoptional
readableIdstringoptional
customerStatusIdstringoptional
customerTypeIdstringoptional
accountManagerIdstringoptional
currencyCodestringoptional
taxPercentnumberoptional
salesContactIdstringoptional
websitestringoptional

Call it

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

call_tool
call_tool({
  "name": "sales_upsertCustomer",
  "arguments": {
    "name": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "readableId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "customerStatusId": {
      "type": "string"
    },
    "customerTypeId": {
      "type": "string"
    },
    "accountManagerId": {
      "type": "string"
    },
    "currencyCode": {
      "type": "string"
    },
    "taxPercent": {
      "type": "number"
    },
    "salesContactId": {
      "type": "string"
    },
    "website": {
      "type": "string"
    }
  },
  "required": [
    "name"
  ]
}