Skip to content

Equipment price list

Generated at build time from packages/core/src/operations/products.ts. Every operation below isPOST /v1/ops/{name} over HTTP, env.API.invoke(actor, name, input) over RPC, and, when staff may call it, an MCP tool. See the API overview for authentication and errors.

products.list

List the equipment price list

Kind
Read
Who
Staff: admin, editor, viewer
MCP tool
products_list

The equipment products that can go on an order: Model 300 plant configurations, the central mixer, accessories (auxiliary silos, feeder belts) and options, with SKU and price from the 2026.11 price list.

Input (object)

FieldTypeDescription
category"plant" | "mixer" | "accessory" | "option"
querystringMatches SKU, name or descriptionmax length 200
activeOnlybooleandefault true
limitintegerMaximum rows to return (default 50, max 500)default 50, min 1, max 500
offsetintegerRows to skip, for pagingdefault 0, min 0, max 9007199254740991

Output (object)

FieldTypeDescription
itemsrequiredobject[]
idrequiredstringRecord id (UUID)min length 1, max length 64
skurequiredstring
namerequiredstring
categoryrequired"plant" | "mixer" | "accessory" | "option"
modelrequiredstring | null
machineTyperequired"plant" | "mixer" | "silo" | "feeder" | "power_pack" | nullMachine type built when this product is ordered; null for options
descriptionrequiredstring | null
priceCentsrequiredintegerAmount in integer US cents (zero or more)min 0, max 9007199254740991
priceListrequiredstringPrice list the price comes from, for example 2026.11
activerequiredboolean
createdAtrequiredstring (date-time)UTC timestamp, ISO 8601 with Z
updatedAtrequiredstring (date-time)UTC timestamp, ISO 8601 with Z
totalrequiredintegerTotal rows matching the filters, ignoring limit and offsetmin 0, max 9007199254740991
limitrequiredintegermin -9007199254740991, max 9007199254740991
offsetrequiredintegermin -9007199254740991, max 9007199254740991
Example request
                curl https://api.cemco.app/v1/ops/products.list \
  -H "x-api-key: $CEMCO_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
              
JSON Schema
              {
  "input": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "category": {
        "type": "string",
        "enum": [
          "plant",
          "mixer",
          "accessory",
          "option"
        ]
      },
      "query": {
        "description": "Matches SKU, name or description",
        "type": "string",
        "maxLength": 200
      },
      "activeOnly": {
        "default": true,
        "type": "boolean"
      },
      "limit": {
        "default": 50,
        "description": "Maximum rows to return (default 50, max 500)",
        "type": "integer",
        "minimum": 1,
        "maximum": 500
      },
      "offset": {
        "default": 0,
        "description": "Rows to skip, for paging",
        "type": "integer",
        "minimum": 0,
        "maximum": 9007199254740991
      }
    }
  },
  "output": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "items": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "description": "Record id (UUID)"
            },
            "sku": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "category": {
              "type": "string",
              "enum": [
                "plant",
                "mixer",
                "accessory",
                "option"
              ]
            },
            "model": {
              "type": [
                "string",
                "null"
              ]
            },
            "machineType": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "plant",
                    "mixer",
                    "silo",
                    "feeder",
                    "power_pack"
                  ]
                },
                {
                  "type": "null"
                }
              ],
              "description": "Machine type built when this product is ordered; null for options"
            },
            "description": {
              "type": [
                "string",
                "null"
              ]
            },
            "priceCents": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991,
              "description": "Amount in integer US cents (zero or more)"
            },
            "priceList": {
              "type": "string",
              "description": "Price list the price comes from, for example 2026.11"
            },
            "active": {
              "type": "boolean"
            },
            "createdAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
              "description": "UTC timestamp, ISO 8601 with Z"
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
              "description": "UTC timestamp, ISO 8601 with Z"
            }
          },
          "required": [
            "id",
            "sku",
            "name",
            "category",
            "model",
            "machineType",
            "description",
            "priceCents",
            "priceList",
            "active",
            "createdAt",
            "updatedAt"
          ],
          "additionalProperties": false
        }
      },
      "total": {
        "type": "integer",
        "minimum": 0,
        "maximum": 9007199254740991,
        "description": "Total rows matching the filters, ignoring limit and offset"
      },
      "limit": {
        "type": "integer",
        "minimum": -9007199254740991,
        "maximum": 9007199254740991
      },
      "offset": {
        "type": "integer",
        "minimum": -9007199254740991,
        "maximum": 9007199254740991
      }
    },
    "required": [
      "items",
      "total",
      "limit",
      "offset"
    ],
    "additionalProperties": false
  }
}
            

products.get

Get a product

Kind
Read
Who
Staff: admin, editor, viewer
MCP tool
products_get

Read one product from the equipment price list by id or SKU, with its category, model and list price.

Input (object)

FieldTypeDescription
idstringRecord id (UUID)min length 1, max length 64
skustringmax length 60

Output (object)

FieldTypeDescription
idrequiredstringRecord id (UUID)min length 1, max length 64
skurequiredstring
namerequiredstring
categoryrequired"plant" | "mixer" | "accessory" | "option"
modelrequiredstring | null
machineTyperequired"plant" | "mixer" | "silo" | "feeder" | "power_pack" | nullMachine type built when this product is ordered; null for options
descriptionrequiredstring | null
priceCentsrequiredintegerAmount in integer US cents (zero or more)min 0, max 9007199254740991
priceListrequiredstringPrice list the price comes from, for example 2026.11
activerequiredboolean
createdAtrequiredstring (date-time)UTC timestamp, ISO 8601 with Z
updatedAtrequiredstring (date-time)UTC timestamp, ISO 8601 with Z
Example request
                curl https://api.cemco.app/v1/ops/products.get \
  -H "x-api-key: $CEMCO_API_KEY" \
  -H "content-type: application/json" \
  -d '{"id":"00000000-0000-4000-8000-000000000000"}'
              
JSON Schema
              {
  "input": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64,
        "description": "Record id (UUID)"
      },
      "sku": {
        "type": "string",
        "maxLength": 60
      }
    }
  },
  "output": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64,
        "description": "Record id (UUID)"
      },
      "sku": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "category": {
        "type": "string",
        "enum": [
          "plant",
          "mixer",
          "accessory",
          "option"
        ]
      },
      "model": {
        "type": [
          "string",
          "null"
        ]
      },
      "machineType": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "plant",
              "mixer",
              "silo",
              "feeder",
              "power_pack"
            ]
          },
          {
            "type": "null"
          }
        ],
        "description": "Machine type built when this product is ordered; null for options"
      },
      "description": {
        "type": [
          "string",
          "null"
        ]
      },
      "priceCents": {
        "type": "integer",
        "minimum": 0,
        "maximum": 9007199254740991,
        "description": "Amount in integer US cents (zero or more)"
      },
      "priceList": {
        "type": "string",
        "description": "Price list the price comes from, for example 2026.11"
      },
      "active": {
        "type": "boolean"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
        "description": "UTC timestamp, ISO 8601 with Z"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
        "description": "UTC timestamp, ISO 8601 with Z"
      }
    },
    "required": [
      "id",
      "sku",
      "name",
      "category",
      "model",
      "machineType",
      "description",
      "priceCents",
      "priceList",
      "active",
      "createdAt",
      "updatedAt"
    ],
    "additionalProperties": false
  }
}
            

products.upsert

Create or update a product

Kind
Write (audited)
Who
Staff: admin
MCP tool
products_upsert

Add a product to the equipment price list or change an existing one (matched by id, else by SKU). SKUs are unique. Existing order lines keep the price they were created with.

Input (object)

FieldTypeDescription
idstringRecord id (UUID)min length 1, max length 64
skurequiredstringmin length 1, max length 60
namerequiredstringmin length 1, max length 200
categoryrequired"plant" | "mixer" | "accessory" | "option"
modelstring | nullmax length 100
machineType"plant" | "mixer" | "silo" | "feeder" | "power_pack" | null
descriptionstring | nullmax length 2000
priceCentsrequiredintegerAmount in integer US cents (zero or more)min 0, max 9007199254740991
priceListstringdefault "2026.11", max length 20
activebooleandefault true

Output (object)

FieldTypeDescription
productrequiredobject
idrequiredstringRecord id (UUID)min length 1, max length 64
skurequiredstring
namerequiredstring
categoryrequired"plant" | "mixer" | "accessory" | "option"
modelrequiredstring | null
machineTyperequired"plant" | "mixer" | "silo" | "feeder" | "power_pack" | nullMachine type built when this product is ordered; null for options
descriptionrequiredstring | null
priceCentsrequiredintegerAmount in integer US cents (zero or more)min 0, max 9007199254740991
priceListrequiredstringPrice list the price comes from, for example 2026.11
activerequiredboolean
createdAtrequiredstring (date-time)UTC timestamp, ISO 8601 with Z
updatedAtrequiredstring (date-time)UTC timestamp, ISO 8601 with Z
createdrequiredboolean
Example request
                curl https://api.cemco.app/v1/ops/products.upsert \
  -H "x-api-key: $CEMCO_API_KEY" \
  -H "content-type: application/json" \
  -d '{"sku":"example","name":"example","category":"plant","priceCents":0}'
              
JSON Schema
              {
  "input": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64,
        "description": "Record id (UUID)"
      },
      "sku": {
        "type": "string",
        "minLength": 1,
        "maxLength": 60
      },
      "name": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "category": {
        "type": "string",
        "enum": [
          "plant",
          "mixer",
          "accessory",
          "option"
        ]
      },
      "model": {
        "anyOf": [
          {
            "type": "string",
            "maxLength": 100
          },
          {
            "type": "null"
          }
        ]
      },
      "machineType": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "plant",
              "mixer",
              "silo",
              "feeder",
              "power_pack"
            ]
          },
          {
            "type": "null"
          }
        ]
      },
      "description": {
        "anyOf": [
          {
            "type": "string",
            "maxLength": 2000
          },
          {
            "type": "null"
          }
        ]
      },
      "priceCents": {
        "type": "integer",
        "minimum": 0,
        "maximum": 9007199254740991,
        "description": "Amount in integer US cents (zero or more)"
      },
      "priceList": {
        "default": "2026.11",
        "type": "string",
        "maxLength": 20
      },
      "active": {
        "default": true,
        "type": "boolean"
      }
    },
    "required": [
      "sku",
      "name",
      "category",
      "priceCents"
    ]
  },
  "output": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "product": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "description": "Record id (UUID)"
          },
          "sku": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "category": {
            "type": "string",
            "enum": [
              "plant",
              "mixer",
              "accessory",
              "option"
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "machineType": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "plant",
                  "mixer",
                  "silo",
                  "feeder",
                  "power_pack"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "Machine type built when this product is ordered; null for options"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "priceCents": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "Amount in integer US cents (zero or more)"
          },
          "priceList": {
            "type": "string",
            "description": "Price list the price comes from, for example 2026.11"
          },
          "active": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
            "description": "UTC timestamp, ISO 8601 with Z"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
            "description": "UTC timestamp, ISO 8601 with Z"
          }
        },
        "required": [
          "id",
          "sku",
          "name",
          "category",
          "model",
          "machineType",
          "description",
          "priceCents",
          "priceList",
          "active",
          "createdAt",
          "updatedAt"
        ],
        "additionalProperties": false
      },
      "created": {
        "type": "boolean"
      }
    },
    "required": [
      "product",
      "created"
    ],
    "additionalProperties": false
  }
}