What this call does

Creates one call-off agreement.

Last updated: 29.09.2026

What you need first

  • A valid API key in the API-Key header, and your companyAccountId.
  • The supplier's supplierId from the Suppliers section.

Parameters

Parameter

Required

Default

Meaning

companyAccountId

Yes

none

Your company ID. It is stamped onto the new agreement.

type

Yes

none

CALL_OFF

The fields

Field

Type

Required

Default

Meaning

id

text

No, Yes when mode=PATCH

(none)

Leave it out to create

name

text

Yes

(none)

The agreement's name. Must be unique in your company account.

supplierId

text

Yes when creating

(none)

Id from the Suppliers section

supplierName

text

No

(none)

Stored as sent. It is not looked up from supplierId.

hidePrice

true / false

No

(leave as stored)

true hides the agreement's prices from the people using it

validFrom / validTo

date

No

(none)

YYYY-MM-DD, a date, with no time. validTo before validFrom is a 400.

type

choice

No

CALL_OFF

CALL_OFF. CONCRETE exists and is not covered here.

status

choice

No

INACTIVE

ACTIVE or INACTIVE. Ignored on create, see below.

tenantProjectAssignments

list

No

(leave as stored)

Who may call off against it. Each entry has tenantId, allProjects and projectIds.

status is ignored when you create. A new agreement is always INACTIVE with an import status of DRAFT, whatever you send, it has no positions yet, so it could not be activated even if the field were honoured. Write the positions, then use "Set an agreement active or inactive".
Omitting tenantProjectAssignments on an update leaves the stored list alone. This is the opposite of a price list, where omitting it clears the list. An empty list here is also treated as "not stated", so there is no way to clear the assignments through this call.

What you get back

The whole agreement:

Field

Meaning

id, companyAccountId, name

Identity

supplierId, supplierName, hidePrice

The supplier and price visibility

type

CALL_OFF

status

ACTIVE or INACTIVE, whether it can be called off

importStatus

Where the file import stands: DRAFT, PROCESSING, PROCESSED, PARTIAL, FAILED and others. Not the same thing as status.

validFrom, validTo

YYYY-MM-DD

totalCount

How many positions it has

errorCount, errorMessage

Rows the last import could not read

documentId, publicUrl, originalFilename, uploadedByName

The agreement file, once one is uploaded

tenantProjectAssignments

Who may call off against it

attachments

Supporting documents. Empty until something is attached.

createdAt, lastModifiedAt

Timestamps, YYYY-MM-DDThh:mm:ss

Empty fields are left out of the answer rather than returned as null.

What happens next

The agreement exists but is INACTIVE and has no positions. Write the positions with "Create or update positions (bulk)", then activate it.

Common mistakes

What you see

Why

What to do

401 Unauthorized, empty body

Key missing, wrong, or not valid for this companyAccountId

A staging key does not work in production.

400nonesupplierId is required when creating a call-off through the public API

No supplierId

Fetch one from the Suppliers section.

400nonename is required

No name

Every agreement needs one.

400nonevalidTo must not be before validFrom

The dates are the wrong way round

Check both.

400, the dates were rejected

You sent 2026-07-01T00:00:00

An agreement takes 2026-07-01. The date-and-time form is the price list's.

409noneCall-off with name '…' already exists for this company

The name is taken

Names must be unique per company account.

The agreement came back INACTIVE although you sent ACTIVE

status is ignored on create

Use "Set an agreement active or inactive" after writing the positions.

What we could not confirm

Nothing. Everything on this page was read off the interface.

Adresse

HTTP
POST https://api.cathago.de/v3/api/gateways/integration/master-articles/pricelists?companyAccountId=<companyAccountId>&type=CALL_OFF

Beispielaufruf

Terminal
curl -X POST 'https://api.cathago.de/v3/api/gateways/integration/master-articles/pricelists?companyAccountId=<companyAccountId>&type=CALL_OFF' \
  -H 'API-Key: <Ihr API-Schlüssel>' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Bewehrungsstahl Rahmenabruf 2026",
  "supplierId": "S-001",
  "supplierName": "Stahlhandel Rheinland GmbH",
  "hidePrice": false,
  "type": "CALL_OFF",
  "validFrom": "2026-07-01",
  "validTo": "2026-12-31",
  "tenantProjectAssignments": [
    {
      "tenantId": "T-001",
      "allProjects": true,
      "projectIds": []
    },
    {
      "tenantId": "T-002",
      "allProjects": false,
      "projectIds": [
        "P-100",
        "P-101"
      ]
    }
  ]
}'

Beispiel für den Body

JSON
{
    "name": "Bewehrungsstahl Rahmenabruf 2026",     // Required. Must be unique in your company account
    "supplierId": "S-001",                          // Required when creating. Id from the Suppliers section
    "supplierName": "Stahlhandel Rheinland GmbH",   // Optional. Stored exactly as sent
    "hidePrice": false,                             // Optional. true hides the agreement's prices
    "type": "CALL_OFF",                             // Optional. Defaults to CALL_OFF
    "validFrom": "2026-07-01",                      // Optional. A DATE, not a date and time
    "validTo": "2026-12-31",                        // Optional. Must not be before validFrom
    "tenantProjectAssignments": [                   // Optional. Omitting it on an update leaves the stored list alone
        {
            "tenantId": "T-001",                    // The tenant this assignment belongs to
            "allProjects": true,                    // true = every site of this tenant may call off
            "projectIds": []                        // Left empty on purpose: allProjects is true
        },
        {
            "tenantId": "T-002",                    // A second tenant
            "allProjects": false,                   // false = only the sites listed below
            "projectIds": [
                "P-100",
                "P-101"
            ]
        }
    ]
}

Beispielantworten

200 OK, the new agreement, INACTIVE

Status: 200 OK

JSON
{
  "id": "CO-2026072914001",
  "companyAccountId": "<companyAccountId>",
  "name": "Bewehrungsstahl Rahmenabruf 2026",
  "supplierId": "S-001",
  "supplierName": "Stahlhandel Rheinland GmbH",
  "hidePrice": false,
  "type": "CALL_OFF",
  "status": "INACTIVE",
  "importStatus": "DRAFT",
  "validFrom": "2026-07-01",
  "validTo": "2026-12-31",
  "totalCount": 0,
  "tenantProjectAssignments": [
    { "tenantId": "T-001", "allProjects": true }
  ],
  "createdAt": "2026-09-29T11:04:12",
  "lastModifiedAt": "2026-09-29T11:04:12"
}