What this call does

Creates or updates several call-off agreements at once.

Last updated: 29.09.2026

The three modes (mode)

mode is a query parameter, not a payload field.

mode

What happens

ADD_OR_UPDATE

Default. Entry without id = create, entry with an id = update

ADD

Create only. An existing id gives 409noneCALL_OFF_1009.

PATCH

Update only. Every entry needs an id: no id gives 400nonePATCH mode requires id on each call-off.

Parameters

Parameter

Required

Default

Meaning

companyAccountId

Yes

none

Your company ID

type

Yes

none

CALL_OFF

mode

No

ADD_OR_UPDATE

One of the three modes above

You send a list of agreements, even when there is only one. The fields are the same as on "Create one agreement".

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

200 OK with a JSON array, one entry per agreement you sent. The order may differ from the order you sent, so match the entries up by id or name, not by position.

A success answer does not mean every entry succeeded. The entries are written one after another. If the third fails you get that entry's error, and the first two stay written. After an error, run "Find call-off agreements" and see what actually landed.

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.

400nonePATCH mode requires id on each call-off

An entry has no id in PATCH mode

Add the id, or use ADD_OR_UPDATE.

400nonesupplierId is required …

A create entry has no supplier

Only updates may leave it out.

409noneCall-off already exists for ADD: id=…

mode=ADD onto an id that is taken

Drop the id, or use ADD_OR_UPDATE.

409noneCall-off with name '…' already exists

Two entries share a name, or the name is already used

Names are unique per company account.

Only some of the agreements landed

An entry failed part way through

The ones before it stay written. Re-read with the search.

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/bulk?companyAccountId=<companyAccountId>&type=CALL_OFF&mode=ADD_OR_UPDATE

Beispielaufruf

Terminal
curl -X POST 'https://api.cathago.de/v3/api/gateways/integration/master-articles/pricelists/bulk?companyAccountId=<companyAccountId>&type=CALL_OFF&mode=ADD_OR_UPDATE' \
  -H 'API-Key: <Ihr API-Schlüssel>' \
  -H 'Content-Type: application/json' \
  -d '[
  {
    "name": "Bewehrungsstahl Rahmenabruf 2026",
    "supplierId": "S-001",
    "supplierName": "Stahlhandel Rheinland GmbH",
    "type": "CALL_OFF",
    "validFrom": "2026-07-01",
    "validTo": "2026-12-31",
    "tenantProjectAssignments": [
      {
        "tenantId": "T-001",
        "allProjects": true,
        "projectIds": []
      }
    ]
  },
  {
    "id": "CO-2026072914001",
    "name": "Bewehrungsstahl Rahmenabruf 2026 (verlängert)",
    "validTo": "2027-03-31"
  }
]'

Beispiel für den Body

JSON
[
    {
        "name": "Bewehrungsstahl Rahmenabruf 2026", // Required. Unique per company account
        "supplierId": "S-001",                      // Required when creating
        "supplierName": "Stahlhandel Rheinland GmbH", // Optional
        "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
            {
                "tenantId": "T-001",
                "allProjects": true,
                "projectIds": []                    // Left empty on purpose: allProjects is true
            }
        ]
    },
    {                                               // Second entry: an update, because it carries an id
        "id": "CO-2026072914001",                   // From "Find call-off agreements". Required when mode=PATCH
        "name": "Bewehrungsstahl Rahmenabruf 2026 (verlängert)", // The field being changed
        "validTo": "2027-03-31"                     // Extended. tenantProjectAssignments is left alone by omitting it
    }
]

Beispielantworten

200 OK, the stored agreements

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"
}
]