API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · shipments

Shipment Schema

Schema-ID
shipment
Collection
shipments
Permissions
  • Lezenshipment_view
  • Aanmakenshipment_create
  • Wijzigenshipment_edit
  • Verwijderenshipment_delete

Velden

Shipment Schema

shipments4 permissions

Schema for validating Lieferschein (delivery note / shipment) entities

salesOrderIduuidvereist

Linked sales order UUID

partyIdstringoptioneel

Customer party UUID (denormalized from sales order for data scope filtering)

PatternDefault: nullnullable
shipmentNumberstringoptioneel

Auto-generated shipment number (e.g. LS-2026-00001)

max. 30 tekensDefault: nullread-onlynullable
shipmentDatedateoptioneel

Shipping date (YYYY-MM-DD)

Default: nullnullable
deliveryDatedateoptioneel

Planned or actual delivery date

Default: nullnullable
statusstringvereist

Shipment lifecycle status

OPENSHIPPEDDELIVEREDCANCELLED
Default: "OPEN"
recipientAddressobjectoptioneel

Delivery recipient address (snapshot)

Default: nullnullable
itemsobject[]optioneel

Shipped items

Default: []
iduuidvereist
salesOrderItemIdstringoptioneel

Reference to the sales order item

PatternDefault: nullnullable
articleIduuidvereist
articleNamestringoptioneel
max. 300 tekensDefault: nullnullable
articleNumberstringoptioneel
max. 100 tekensDefault: nullnullable
quantitystringvereist

Shipped quantity (decimal)

Pattern
unitstringoptioneel
max. 20 tekensDefault: nullnullable
serialNumbersstring[]optioneel

Assigned serial numbers

Default: []
parcelsobject[]optioneel

Package tracking information

Default: []
iduuidvereist
trackingNumberstringoptioneel
max. 200 tekensDefault: nullnullable
trackingUrlstringoptioneel
max. 500 tekensDefault: nullnullable
carrierstringoptioneel

Carrier name (DHL, UPS, DPD, etc.)

max. 100 tekensDefault: nullnullable
weightstringoptioneel

Package weight in kg

PatternDefault: nullnullable
notestringoptioneel

Delivery notes

max. 2000 tekensDefault: nullnullable
internalNotestringoptioneel

Internal notes (not visible to customer)

max. 4000 tekensDefault: nullnullable
externalReferencesobject[]optioneel

External system references (e.g. weclapp)

Default: []
systemstringvereist
max. 50 tekens
externalIdstringvereist
max. 200 tekens
externalVersionstringoptioneel
Default: nullnullable
syncedAtdatetimeoptioneel
Default: nullnullable
urlstringoptioneel
max. 500 tekensDefault: nullnullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/shipments — Lijst, gepagineerd + filterbaar
  • GET /api/v1/shipments/<id> — Enkele entity
  • POST /api/v1/shipments — Aanmaken
  • PATCH /api/v1/shipments/<id> — Gedeeltelijke update
  • DELETE /api/v1/shipments/<id> — Soft-delete
  • GET /api/v1/shipments/<id>/timeline — Audit + activiteiten

Zoeken