Zum Inhalt

Reference

Catalog items

GET/api/v1/catalog-itemsList catalog items

The catalogue a quote is built from: every item that can be chosen today -- each alternative of a category is an item of its own -- with its key, prices in cents, the text printed on the quote and its selection rule, and the billing roles an effort line is priced by. Pass item keys and role keys to create_quote.scope quotes:read

Query

categoryone of platform, edition, connectivity, process, service, ai_package, one_time, creditOnly this category: platform, edition, connectivity, process, service, ai_package, one_time, credit. Default: all.
companystringA company id: the effort rates then show what is agreed with that customer.

Response 200

items[]object[]
items[].keystring
items[].categorystring
items[].namestring
items[].descriptionstring | null
items[].price_one_time_centsinteger
items[].price_monthly_centsinteger
items[].offer_textstring | null
items[].selection_rulestring
items[].requiresstring | null
items[].process_classstring | null
items[].provisioning_flowstring | null
effort_roles[]object[]
effort_roles[].keystring
effort_roles[].namestring
effort_roles[].rate_centsinteger
effort_roles[].agreed_with_companyboolean
rulesstring
Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "price_one_time_cents": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "price_monthly_cents": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "offer_text": {
            "type": [
              "string",
              "null"
            ]
          },
          "selection_rule": {
            "type": "string"
          },
          "requires": {
            "type": [
              "string",
              "null"
            ]
          },
          "process_class": {
            "type": [
              "string",
              "null"
            ]
          },
          "provisioning_flow": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "key",
          "category",
          "name",
          "description",
          "price_one_time_cents",
          "price_monthly_cents",
          "offer_text",
          "selection_rule",
          "requires",
          "process_class",
          "provisioning_flow"
        ],
        "additionalProperties": false
      }
    },
    "effort_roles": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "rate_cents": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "agreed_with_company": {
            "type": "boolean"
          }
        },
        "required": [
          "key",
          "name",
          "rate_cents",
          "agreed_with_company"
        ],
        "additionalProperties": false
      }
    },
    "rules": {
      "type": "string"
    }
  },
  "required": [
    "items",
    "effort_roles",
    "rules"
  ],
  "additionalProperties": false
}

Refusals are problems with a code — see Errors.

POST/api/v1/catalog-itemsSave catalog item

Creates a catalogue item (omit item; key, name and category are required) or edits one: only the fields given change. Prices are net, in cents; only a credit (category credit) may have negative ones. A quote line copies the item's name, text and prices when the quote is saved, so a change here -- a new price above all -- never changes a quote already saved; it applies to lines added from now on. Item ids and keys come from list_catalog. catalog.manage only.scope catalog

Body (JSON)

itemstringThe item's id or key, from list_catalog. Omit to create one.
keystringUnique technical key, e.g. platform_shared.
namestring
categoryone of platform, edition, connectivity, process, service, ai_package, one_time, creditThe catalogue section: platform, edition, connectivity, process, service, ai_package, one_time, credit.
description_shortstring | nullShown in the quote editor's picker. null or an empty string clears it.
offer_textstring | nullThe text printed on the quote. null or an empty string clears it.
price_one_time_centsintegerOne-time net price in cents. Default for a new one: 0.
price_monthly_centsintegerMonthly net price in cents. Default for a new one: 0.
selection_ruleone of exactly_one, at_most_one, multipleHow many items of the category a quote may take: exactly_one, at_most_one or multiple. Default for a new one: multiple.
requires_item_keystring | nullKey of an item this one requires, or null for none.
process_classone of S, M, L | nullS, M or L, for a process item; null for none.
sort_orderintegerDefault for a new one: 0.
provisioning_flowstringFlow key that provisions an instance when this item is accepted, e.g. wingman; empty for none.
modulesone of orders, sales, marketing, billing, finance, banking, support, github, mcp, api, document_intake, agents, chat[]Modules an instance gets when this item is in the accepted package (orders, sales, marketing, billing, finance, banking, support, github, mcp, api, document_intake, agents, chat; core is always on). Replaces the list; [] for none. Only the operator instance keeps it; a customer instance leaves it unchanged.
per_userbooleanBilled per counted user of the instance (an edition). Only the operator instance keeps it.
min_quantityinteger | nullWith per_user: the fewest users billed; null for none. Only the operator instance keeps it.
ai_quota_eurinteger | nullMonthly AI quota in EUR this item adds to an instance, per unit (an AI package); null for none. Only the operator instance keeps it.
valid_fromstring | nullFirst day it can be chosen, YYYY-MM-DD; null for no start.
valid_tostring | nullLast day it can be chosen, YYYY-MM-DD; null for no end.
activebooleanDefault for a new one: true.

Response 200

createdboolean
itemobject
item.idstring
item.keystring
item.namestring
item.categorystring
item.description_shortstring | null
item.offer_textstring | null
item.price_one_time_centsinteger
item.price_monthly_centsinteger
item.selection_rulestring
item.requires_item_keystring | null
item.process_classstring | null
item.sort_orderinteger
item.provisioning_flowstring | null
item.modulesoptionalstring[]
item.per_useroptionalboolean
item.min_quantityoptionalinteger | null
item.ai_quota_europtionalinteger | null
item.valid_fromstring | null
item.valid_tostring | null
item.activeboolean
item.selectable_todayboolean
item.urlstring
Schema
{
  "type": "object",
  "properties": {
    "created": {
      "type": "boolean"
    },
    "item": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "description_short": {
          "type": [
            "string",
            "null"
          ]
        },
        "offer_text": {
          "type": [
            "string",
            "null"
          ]
        },
        "price_one_time_cents": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "price_monthly_cents": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "selection_rule": {
          "type": "string"
        },
        "requires_item_key": {
          "type": [
            "string",
            "null"
          ]
        },
        "process_class": {
          "type": [
            "string",
            "null"
          ]
        },
        "sort_order": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "provisioning_flow": {
          "type": [
            "string",
            "null"
          ]
        },
        "modules": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "per_user": {
          "type": "boolean"
        },
        "min_quantity": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            {
              "type": "null"
            }
          ]
        },
        "ai_quota_eur": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            {
              "type": "null"
            }
          ]
        },
        "valid_from": {
          "type": [
            "string",
            "null"
          ]
        },
        "valid_to": {
          "type": [
            "string",
            "null"
          ]
        },
        "active": {
          "type": "boolean"
        },
        "selectable_today": {
          "type": "boolean"
        },
        "url": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "key",
        "name",
        "category",
        "description_short",
        "offer_text",
        "price_one_time_cents",
        "price_monthly_cents",
        "selection_rule",
        "requires_item_key",
        "process_class",
        "sort_order",
        "provisioning_flow",
        "valid_from",
        "valid_to",
        "active",
        "selectable_today",
        "url"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "created",
    "item"
  ],
  "additionalProperties": false
}

Refusals are problems with a code — see Errors.

POST/api/v1/catalog-items/{id}/activeSet catalog item active

Deactivates a catalogue item -- the quote editor and list_catalog_items no longer offer it -- or activates it again. Nothing is deleted, and quotes already saved keep their lines. catalog.manage only.scope catalog

Path

idrequiredstringThe item's id or key, from list_catalog.

Body (JSON)

activerequiredboolean

Response 200

itemobject
item.idstring
item.keystring
item.namestring
item.categorystring
item.description_shortstring | null
item.offer_textstring | null
item.price_one_time_centsinteger
item.price_monthly_centsinteger
item.selection_rulestring
item.requires_item_keystring | null
item.process_classstring | null
item.sort_orderinteger
item.provisioning_flowstring | null
item.modulesoptionalstring[]
item.per_useroptionalboolean
item.min_quantityoptionalinteger | null
item.ai_quota_europtionalinteger | null
item.valid_fromstring | null
item.valid_tostring | null
item.activeboolean
item.selectable_todayboolean
item.urlstring
Schema
{
  "type": "object",
  "properties": {
    "item": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "description_short": {
          "type": [
            "string",
            "null"
          ]
        },
        "offer_text": {
          "type": [
            "string",
            "null"
          ]
        },
        "price_one_time_cents": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "price_monthly_cents": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "selection_rule": {
          "type": "string"
        },
        "requires_item_key": {
          "type": [
            "string",
            "null"
          ]
        },
        "process_class": {
          "type": [
            "string",
            "null"
          ]
        },
        "sort_order": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "provisioning_flow": {
          "type": [
            "string",
            "null"
          ]
        },
        "modules": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "per_user": {
          "type": "boolean"
        },
        "min_quantity": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            {
              "type": "null"
            }
          ]
        },
        "ai_quota_eur": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            {
              "type": "null"
            }
          ]
        },
        "valid_from": {
          "type": [
            "string",
            "null"
          ]
        },
        "valid_to": {
          "type": [
            "string",
            "null"
          ]
        },
        "active": {
          "type": "boolean"
        },
        "selectable_today": {
          "type": "boolean"
        },
        "url": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "key",
        "name",
        "category",
        "description_short",
        "offer_text",
        "price_one_time_cents",
        "price_monthly_cents",
        "selection_rule",
        "requires_item_key",
        "process_class",
        "sort_order",
        "provisioning_flow",
        "valid_from",
        "valid_to",
        "active",
        "selectable_today",
        "url"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "item"
  ],
  "additionalProperties": false
}

Refusals are problems with a code — see Errors.