v1
Shop Permissions
Shop Permissions

Get Shop Permissions

GET /api/v1/system/shop-permissions?role_id=... - role permissions intersected with the caller's own shop's enabled_modules. Cookie auth.

shop_roles is a single global catalog shared by every shop (not shop-scoped), so role_id itself carries no tenant boundary — the actual boundary is enabled_modules on the caller's OWN shop, derived from the session and never from a client-supplied param. A module the shop hasn't been enabled for is unreachable here regardless of what the role would otherwise grant.

get/api/v1/system/shop-permissions

Request

  • Base URL
    https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Query parameters

role_id, integer required

Shop role ID (shop_role_id from user)

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 56 revisions of this API.