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-Keyheader, and yourcompanyAccountId. - The supplier's
supplierIdfrom the Suppliers section.
Parameters
Parameter | Required | Default | Meaning |
|---|---|---|---|
| Yes | none | Your company ID. It is stamped onto the new agreement. |
| Yes | none |
|
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
The whole agreement:
Field | Meaning |
|---|---|
| Identity |
| The supplier and price visibility |
|
|
|
|
| Where the file import stands: |
|
|
| How many positions it has |
| Rows the last import could not read |
| The agreement file, once one is uploaded |
| Who may call off against it |
| Supporting documents. Empty until something is attached. |
| Timestamps, |
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 |
|---|---|---|
| Key missing, wrong, or not valid for this | A staging key does not work in production. |
| No | Fetch one from the Suppliers section. |
| No | Every agreement needs one. |
| The dates are the wrong way round | Check both. |
| You sent | An agreement takes |
| The name is taken | Names must be unique per company account. |
The agreement came back |
| 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
POST https://api.cathago.de/v3/api/gateways/integration/master-articles/pricelists?companyAccountId=<companyAccountId>&type=CALL_OFFBeispielaufruf
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
{
"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
{
"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"
}