Shop Roles
Alle Operationen rund um Shop Roles.
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 |
|---|---|---|---|---|
| Shop Role | shop_role |
5 | — | shop_role_* |
Endpoints
| Methode | Pfad | Operation | Beschreibung |
|---|---|---|---|
POST |
/v1/shop_roles |
Create shop_role | Create a new shop_role in the active tenant. |
DELETE |
/v1/shop_roles/{id} |
Delete shop_role | Soft delete entity. |
GET |
/v1/shop_roles/{id} |
Get shop_role by id | Fetch a single shop_role. |
GET |
/v1/shop_roles/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/shop_roles/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/shop_roles/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/shop_roles |
List shop_roles | List shop_roles for the active tenant. |
PATCH |
/v1/shop_roles/{id} |
Patch shop_role | JSON Merge Patch update. |
POST |
/v1/shop_roles/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/shop_roles/{id}/transition |
POST /v1/shop_roles/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/shop_roles/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/shop_roles/{id} |
Replace shop_role | Full replace with optimistic locking. |