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
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)
| Field | Type | Description |
|---|---|---|
category | "plant" | "mixer" | "accessory" | "option" | |
query | string | Matches SKU, name or descriptionmax length 200 |
activeOnly | boolean | default true |
limit | integer | Maximum rows to return (default 50, max 500)default 50, min 1, max 500 |
offset | integer | Rows to skip, for pagingdefault 0, min 0, max 9007199254740991 |
Output (object)
| Field | Type | Description |
|---|---|---|
itemsrequired | object[] | |
idrequired | string | Record id (UUID)min length 1, max length 64 |
skurequired | string | |
namerequired | string | |
categoryrequired | "plant" | "mixer" | "accessory" | "option" | |
modelrequired | string | null | |
machineTyperequired | "plant" | "mixer" | "silo" | "feeder" | "power_pack" | null | Machine type built when this product is ordered; null for options |
descriptionrequired | string | null | |
priceCentsrequired | integer | Amount in integer US cents (zero or more)min 0, max 9007199254740991 |
priceListrequired | string | Price list the price comes from, for example 2026.11 |
activerequired | boolean | |
createdAtrequired | string (date-time) | UTC timestamp, ISO 8601 with Z |
updatedAtrequired | string (date-time) | UTC timestamp, ISO 8601 with Z |
totalrequired | integer | Total rows matching the filters, ignoring limit and offsetmin 0, max 9007199254740991 |
limitrequired | integer | min -9007199254740991, max 9007199254740991 |
offsetrequired | integer | min -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
Read one product from the equipment price list by id or SKU, with its category, model and list price.
Input (object)
| Field | Type | Description |
|---|---|---|
id | string | Record id (UUID)min length 1, max length 64 |
sku | string | max length 60 |
Output (object)
| Field | Type | Description |
|---|---|---|
idrequired | string | Record id (UUID)min length 1, max length 64 |
skurequired | string | |
namerequired | string | |
categoryrequired | "plant" | "mixer" | "accessory" | "option" | |
modelrequired | string | null | |
machineTyperequired | "plant" | "mixer" | "silo" | "feeder" | "power_pack" | null | Machine type built when this product is ordered; null for options |
descriptionrequired | string | null | |
priceCentsrequired | integer | Amount in integer US cents (zero or more)min 0, max 9007199254740991 |
priceListrequired | string | Price list the price comes from, for example 2026.11 |
activerequired | boolean | |
createdAtrequired | string (date-time) | UTC timestamp, ISO 8601 with Z |
updatedAtrequired | string (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
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)
| Field | Type | Description |
|---|---|---|
id | string | Record id (UUID)min length 1, max length 64 |
skurequired | string | min length 1, max length 60 |
namerequired | string | min length 1, max length 200 |
categoryrequired | "plant" | "mixer" | "accessory" | "option" | |
model | string | null | max length 100 |
machineType | "plant" | "mixer" | "silo" | "feeder" | "power_pack" | null | |
description | string | null | max length 2000 |
priceCentsrequired | integer | Amount in integer US cents (zero or more)min 0, max 9007199254740991 |
priceList | string | default "2026.11", max length 20 |
active | boolean | default true |
Output (object)
| Field | Type | Description |
|---|---|---|
productrequired | object | |
idrequired | string | Record id (UUID)min length 1, max length 64 |
skurequired | string | |
namerequired | string | |
categoryrequired | "plant" | "mixer" | "accessory" | "option" | |
modelrequired | string | null | |
machineTyperequired | "plant" | "mixer" | "silo" | "feeder" | "power_pack" | null | Machine type built when this product is ordered; null for options |
descriptionrequired | string | null | |
priceCentsrequired | integer | Amount in integer US cents (zero or more)min 0, max 9007199254740991 |
priceListrequired | string | Price list the price comes from, for example 2026.11 |
activerequired | boolean | |
createdAtrequired | string (date-time) | UTC timestamp, ISO 8601 with Z |
updatedAtrequired | string (date-time) | UTC timestamp, ISO 8601 with Z |
createdrequired | boolean |
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
}
}