items_upsertSupplierPart

WRITE

Upsert supplier part.

Parameters

itemIdstringrequired
supplierIdstringrequired
idstringoptional
supplierPartIdstringoptional
supplierUnitOfMeasureCodestringoptional
minimumOrderQuantitynumberoptional
orderMultiplenumberoptional
conversionFactornumberoptional
unitPricenumberoptional

Call it

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

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

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "itemId": {
      "type": "string"
    },
    "supplierId": {
      "type": "string"
    },
    "supplierPartId": {
      "type": "string"
    },
    "supplierUnitOfMeasureCode": {
      "type": "string"
    },
    "minimumOrderQuantity": {
      "type": "number"
    },
    "orderMultiple": {
      "type": "number"
    },
    "conversionFactor": {
      "type": "number"
    },
    "unitPrice": {
      "type": "number"
    }
  },
  "required": [
    "itemId",
    "supplierId"
  ]
}