API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · shipments

Shipment Schema

Schema ID
shipment
Collection
shipments
Permissions
  • Readshipment_view
  • Createshipment_create
  • Editshipment_edit
  • Deleteshipment_delete

Fields

Shipment Schema

shipments4 permissions

Schema for validating Lieferschein (delivery note / shipment) entities

salesOrderIduuidrequired

Linked sales order UUID

partyIdstringoptional

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

PatternDefault: nullnullable
shipmentNumberstringoptional

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

max 30 charactersDefault: nullread-onlynullable
shipmentDatedateoptional

Shipping date (YYYY-MM-DD)

Default: nullnullable
deliveryDatedateoptional

Planned or actual delivery date

Default: nullnullable
statusstringrequired

Shipment lifecycle status

OPENSHIPPEDDELIVEREDCANCELLED
Default: "OPEN"
recipientAddressobjectoptional

Delivery recipient address (snapshot)

Default: nullnullable
itemsobject[]optional

Shipped items

Default: []
iduuidrequired
salesOrderItemIdstringoptional

Reference to the sales order item

PatternDefault: nullnullable
articleIduuidrequired
articleNamestringoptional
max 300 charactersDefault: nullnullable
articleNumberstringoptional
max 100 charactersDefault: nullnullable
quantitystringrequired

Shipped quantity (decimal)

Pattern
unitstringoptional
max 20 charactersDefault: nullnullable
serialNumbersstring[]optional

Assigned serial numbers

Default: []
parcelsobject[]optional

Package tracking information

Default: []
iduuidrequired
trackingNumberstringoptional
max 200 charactersDefault: nullnullable
trackingUrlstringoptional
max 500 charactersDefault: nullnullable
carrierstringoptional

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

max 100 charactersDefault: nullnullable
weightstringoptional

Package weight in kg

PatternDefault: nullnullable
notestringoptional

Delivery notes

max 2000 charactersDefault: nullnullable
internalNotestringoptional

Internal notes (not visible to customer)

max 4000 charactersDefault: nullnullable
externalReferencesobject[]optional

External system references (e.g. weclapp)

Default: []
systemstringrequired
max 50 characters
externalIdstringrequired
max 200 characters
externalVersionstringoptional
Default: nullnullable
syncedAtdatetimeoptional
Default: nullnullable
urlstringoptional
max 500 charactersDefault: nullnullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/shipments — List, paginated + filterable
  • GET /api/v1/shipments/<id> — Single entity
  • POST /api/v1/shipments — Create
  • PATCH /api/v1/shipments/<id> — Partial update
  • DELETE /api/v1/shipments/<id> — Soft delete
  • GET /api/v1/shipments/<id>/timeline — Audit + activities

Search