Skip to main content
POST
Create an order.

Authorizations

Authorization
string
header
required

OAuth 2.0 client_credentials grant via Keycloak service account. Clients are provisioned per IntegrationOrganization in the nt24-idp realm.

Headers

Idempotency-Key
string
required

Client-generated unique key (UUID recommended) for this write operation. Identical key + identical body within 24h returns the cached response. Identical key + different body returns 422.

Required string length: 1 - 255

Path Parameters

sellerId
string<uuid>
required

UUID of the seller trade partner (must be in caller's authorized list).

Body

application/json
externalOrderId
string
required

Customer-provided unique identifier for the order.

buyerId
string<uuid>
required
purchaseDate
string<date>
required
vins
object[]
required
Minimum array length: 1
totalAmount
object
required
responsibleContact
object

Response

Existing order returned (idempotent replay).

uuid
string<uuid>
required
externalOrderId
string
required
buyerId
string<uuid>
required
status
enum<string>
required
Available options:
CREATED,
INVOICE_SUBMITTED,
PAYMENT_SUBMITTED,
READY_FOR_PICKUP,
TRANSPORT_IN_PROGRESS,
TRANSPORT_COMPLETED,
COMPLIANCE_VALID,
COMPLIANCE_INVALID,
CANCELLED
vins
object[]
required
totalAmount
object
required
version
integer
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
purchaseDate
string<date>
responsibleContact
object