v50

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-0342108400.9 KB
Roles

List roles

List merchant's custom roles.

get/v0.1/merchants/{merchant_code}/roles

Path parameters

merchant_codestring required
Example:MK10CL2A

Short unique identifier for the merchant.

Response

Returns a list of Role objects.

Example response

{
  "items": [
    {
      "id": "role_WZsm7QTPhVrompscmPhoGTXXcrd58fr9MOhP",
      "name": "Senior Shop Manager II",
      "description": "Manges the shop and the employees.",
      "permissions": [],
      "is_predefined": true,
      "metadata": {},
      "created_at": "2023-01-20T15:16:17Z",
      "updated_at": "2023-01-20T15:16:17Z"
    }
  ]
}