Skip to main content
POST

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:
If you send raw JSON or XML content as a string, comstruct automatically detects the format based on the content.

Example calls

Send JSON delivery note

Send XML delivery note

Successful response

Response codes

Authorizations

X-API-Key
string
header
required

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

xmlContent
string

XML-Inhalt des Lieferscheins (alternativ zu jsonContent)

jsonContent

JSON-Inhalt des Lieferscheins (alternativ zu xmlContent)

Response

Lieferschein wurde empfangen, aber nicht erstellt (z.B. Duplikat oder keine Änderungen).

success
boolean
Example:

true

message
string
Example:

"Delivery note has no changes"