API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

Shop Roles

All operations for Shop Roles.

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
Shop Role shop_role 5 — shop_role_*

Endpoints

Method Path Operation Description
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.

Search