Zum Hauptinhalt springen
POST

Autorisierungen

Authorization
string
header
erforderlich

API key generated in Settings > API Keys. Include as Authorization: Bearer <key>.

Body

application/json
supplierId
string
erforderlich

UUID of an existing supplier of your company.

Minimum string length: 1
orderNumber
string
erforderlich

Your order number, unique per company.

Minimum string length: 1
orderType
enum<string>
erforderlich

purchase (inbound from a supplier) or sale (outbound to a customer).

Verfügbare Optionen:
purchase,
sale
lines
object[]
erforderlich

The order lines (at least one).

Minimum array length: 1
orderDate
string

ISO 8601 date string

deliveryDate
string

Optional ISO 8601 delivery date. Often unknown at order time.

Antwort

Order created successfully (single)

order
object
erforderlich