sales_upsertCustomerItemPriceOverride

WRITE

Upsert customer item price override.

Parameters

itemIdstringrequired
breaksany[]required
activebooleanrequired
applyRulesOnTopbooleanrequired
idstringoptional
customerIdstringoptional
customerTypeIdstringoptional
notesstringoptional
validFromstringoptional
validTostringoptional

Call it

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

call_tool
call_tool({
  "name": "sales_upsertCustomerItemPriceOverride",
  "arguments": {
    "itemId": "string",
    "breaks": [],
    "active": true,
    "applyRulesOnTop": true
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "customerId": {
      "type": "string"
    },
    "customerTypeId": {
      "type": "string"
    },
    "itemId": {
      "type": "string"
    },
    "breaks": {
      "type": "array",
      "items": {}
    },
    "active": {
      "type": "boolean"
    },
    "applyRulesOnTop": {
      "type": "boolean"
    },
    "notes": {
      "type": "string"
    },
    "validFrom": {
      "type": "string"
    },
    "validTo": {
      "type": "string"
    }
  },
  "required": [
    "itemId",
    "breaks",
    "active",
    "applyRulesOnTop"
  ]
}