items_upsertItemPurchasing

WRITE

Upsert item purchasing.

Parameters

itemIdstringrequired
preferredSupplierIdstringoptional
conversionFactornumberoptional
leadTimenumberoptional
purchasingUnitOfMeasureCodestringoptional

Call it

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

call_tool
call_tool({
  "name": "items_upsertItemPurchasing",
  "arguments": {
    "itemId": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "itemId": {
      "type": "string"
    },
    "preferredSupplierId": {
      "type": "string"
    },
    "conversionFactor": {
      "type": "number"
    },
    "leadTime": {
      "type": "number"
    },
    "purchasingUnitOfMeasureCode": {
      "type": "string"
    }
  },
  "required": [
    "itemId"
  ]
}