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.
| What happens |
|---|---|
| Default. Entry without |
| Create only. An existing |
| Update only. Every entry needs an |
Parameters
Parameter | Required | Default | Meaning |
|---|---|---|---|
| Yes | none | Your company ID |
| Yes | none |
|
| No |
| 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 |
|---|---|---|---|---|
| text | No, Yes when | (none) | Leave it out to create |
| text | Yes | (none) | The agreement's name. Must be unique in your company account. |
| text | Yes when creating | (none) | Id from the Suppliers section |
| text | No | (none) | Stored as sent. It is not looked up from |
| true / false | No | (leave as stored) |
|
| date | No | (none) |
|
| choice | No |
|
|
| choice | No |
|
|
| list | No | (leave as stored) | Who may call off against it. Each entry has |
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".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.
Common mistakes
What you see | Why | What to do |
|---|---|---|
| Key missing, wrong, or not valid for this | A staging key does not work in production. |
| An entry has no | Add the id, or use |
| A create entry has no supplier | Only updates may leave it out. |
|
| Drop the |
| 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
POST https://api.cathago.de/v3/api/gateways/integration/master-articles/pricelists/bulk?companyAccountId=<companyAccountId>&type=CALL_OFF&mode=ADD_OR_UPDATEBeispielaufruf
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
[
{
"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
[
{
"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"
}
]