Products
Alle Operationen rund um Products.
Datenmodell
Die Endpoints dieses Moduls arbeiten auf folgender Entität. Die Schema-Referenz listet jedes Feld mit Typ, Validierung und Beziehungen:
| Entität | Schema-ID | Felder | Sequenz | Permissions |
|---|---|---|---|---|
| Product | product |
25 | — | product_* |
Endpoints
| Methode | Pfad | Operation | Beschreibung |
|---|---|---|---|
POST |
/v1/products |
Create product | Create a new product in the active tenant. |
DELETE |
/v1/products/{id} |
Delete product | Soft delete entity. |
GET |
/v1/products/{id} |
Get product by id | Fetch a single product. |
GET |
/v1/products/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/products/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/products/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/products |
List products | List products for the active tenant. |
PATCH |
/v1/products/{id} |
Patch product | JSON Merge Patch update. |
POST |
/v1/products/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/products/bulk-match |
POST /v1/products/bulk-match | Enqueue bulk article-to-product matching job for the tenant |
POST |
/v1/products/{id}/recalculate |
POST /v1/products/{id}/recalculate | Recalculate cached product fields (articleCount, priceRange) |
POST |
/v1/products/{id}/transition |
POST /v1/products/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/products/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/products/{id} |
Replace product | Full replace with optimistic locking. |