What this call does

Removes supporting documents from an agreement.

Last updated: 29.09.2026

Parameters

Parameter

Required

Default

Meaning

companyAccountId

Yes

none

Your company ID

type

Yes

none

CALL_OFF

CO-2026072914001 (in the path)

Yes

none

The agreement

The fields

Field

Type

Required

Meaning

attachmentIds

list of text

Yes

The id field of each attachment, from "Look up one agreement". Empty gives 400noneattachmentIds must not be empty.

These are the attachment ids (ATT-…), not the documentIds.

What you get back

204 No Content with an empty body.

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.

400noneattachmentIds must not be empty

The list is empty or missing

Name at least one id.

204 but the attachment is still there

You sent documentIds instead of attachment ids

Read attachments[].id from "Look up one agreement".

404noneCALL_OFF_1001

Unknown agreement id, another company's, or a price list's

Check it with "Find call-off agreements".

What we could not confirm

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

Adresse

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

Beispielaufruf

Terminal
curl -X DELETE 'https://api.cathago.de/v3/api/gateways/integration/master-articles/pricelists/CO-2026072914001/attachments?companyAccountId=<companyAccountId>&type=CALL_OFF' \
  -H 'API-Key: <Ihr API-Schlüssel>' \
  -H 'Content-Type: application/json' \
  -d '{
  "attachmentIds": [
    "ATT-2026092911501",
    "ATT-2026092911502"
  ]
}'

Beispiel für den Body

JSON
{
    "attachmentIds": [                              // Required. The id field of the attachment, not its documentId
        "ATT-2026092911501",                        // From attachments[].id in "Look up one agreement"
        "ATT-2026092911502"
    ]
}