API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

Purchase Orders

All operations for Purchase Orders.

Data model

The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:

Entity Schema ID Fields Sequence Permissions
Purchase Order purchase_order 33 — purchase_order_*

Endpoints

Method Path Operation Description
POST /v1/purchase_orders Create purchase_order Create a new purchase_order in the active tenant.
DELETE /v1/purchase_orders/{id} Delete purchase_order Soft delete entity.
GET /v1/purchase_orders/{id} Get purchase_order by id Fetch a single purchase_order.
GET /v1/purchase_orders/{id}/linked Get linked entities CodeMeta OS API endpoint.
GET /v1/purchase_orders/{id}/timeline Get timeline CodeMeta OS API endpoint.
GET /v1/purchase_orders/{id}/transitions List transitions CodeMeta OS API endpoint.
GET /v1/purchase_orders List purchase_orders List purchase_orders for the active tenant.
PATCH /v1/purchase_orders/{id} Patch purchase_order JSON Merge Patch update.
POST /v1/purchase_orders/bulk Bulk operation CodeMeta OS API endpoint.
POST /v1/purchase_orders/{id}/cancel POST /v1/purchase_orders/{id}/cancel Bestellung stornieren.
POST /v1/purchase_orders/{id}/confirm POST /v1/purchase_orders/{id}/confirm Bestellung freigeben (DRAFT → ORDERED).
POST /v1/purchase_orders/{id}/receive POST /v1/purchase_orders/{id}/receive Wareneingang buchen (partiell oder vollständig).
POST /v1/purchase_orders/{id}/transition POST /v1/purchase_orders/{id}/transition CodeMeta OS API endpoint.
POST /v1/purchase_orders/{id}/transitions/{transitionKey} Execute transition CodeMeta OS API endpoint.
PUT /v1/purchase_orders/{id} Replace purchase_order Full replace with optimistic locking.

Search