Products
Alle operaties rond Products.
Datamodel
De endpoints van deze module werken op de volgende entiteit. De schemareferentie toont elk veld met type, validatie en relaties:
| Entiteit | Schema-ID | Velden | Volgnummer | Permissions |
|---|---|---|---|---|
| Product | product |
25 | — | product_* |
Endpoints
| Methode | Pad | Operatie | Beschrijving |
|---|---|---|---|
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. |