Custom delivery
Erforderliche Berechtigungen: deliveries:write
Verarbeitet Lieferscheine in benutzerdefinierten Formaten. Der Inhalt wird anhand der lieferantenspezifischen Konfiguration automatisch verarbeitet und in comstruct-Lieferungen umgewandelt.
Der Anfragekörper kann entweder als JSON-Objekt mit den Feldern xmlContent oder jsonContent gesendet werden, oder als roher XML- bzw. JSON-String. Die automatische Erkennung des Formats erfolgt über den Content-Type-Header.
Documentation Index
Fetch the complete documentation index at: https://developer.comstruct.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This endpoint allows suppliers to submit delivery notes in custom, non-standardized formats to comstruct. The data is automatically processed by system-specific processors and converted into comstruct deliveries. The endpoint accepts either JSON or XML as input format.Input format
The request body can be sent in two ways:| Variant | Content-Type | Body |
|---|---|---|
| JSON wrapper | application/json | { "jsonContent": { ... } } or { "xmlContent": "<xml>...</xml>" } |
| Raw XML string | application/xml | <delivery>...</delivery> |
Example calls
Send JSON delivery note
Send XML delivery note
Successful response
Response codes
| Code | Description |
|---|---|
201 | Delivery note successfully processed and created |
200 | Delivery note received but no changes (e.g. duplicate) |
400 | Invalid input or missing supplier ID |
401 | Unauthorized - missing or invalid API key |
403 | Forbidden - missing scope deliveries:write |
500 | Internal server error |
Authorizations
API-Schlüssel zur Authentifizierung. Kontaktieren Sie Ihren Customer Success Manager, um einen API-Schlüssel zu erhalten.
Jeder Endpunkt erfordert spezifische Berechtigungen (Scopes); die erforderlichen Scopes werden pro Endpunkt angezeigt.
Body
Lieferscheindaten im JSON- oder XML-Format