{ "opencollection": "1.0.0", "info": { "name": "Commerce Layer addresses permissions API", "version": "7.10.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "permissions", "type": "folder" }, "items": [ { "info": { "name": "Related organization", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/organizations/:organizationId/permissions", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The ID of the resource." } ] }, "docs": "Related organization" }, { "info": { "name": "List all permissions", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/permissions" }, "docs": "List all permissions" }, { "info": { "name": "Creates an permission", "type": "http" }, "http": { "method": "POST", "url": "https://{your_organization_slug}.commercelayer.io/api/permissions", "body": { "type": "json", "data": "{}" } }, "docs": "Creates an permission" }, { "info": { "name": "Retrieve an permission", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/permissions/:permissionId", "params": [ { "name": "permissionId", "value": "", "type": "path", "description": "The ID of the resource." } ] }, "docs": "Retrieve an permission" }, { "info": { "name": "Updates an permission", "type": "http" }, "http": { "method": "PATCH", "url": "https://{your_organization_slug}.commercelayer.io/api/permissions/:permissionId", "params": [ { "name": "permissionId", "value": "", "type": "path", "description": "The ID of the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an permission" }, { "info": { "name": "Related role", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/roles/:roleId/permissions", "params": [ { "name": "roleId", "value": "", "type": "path", "description": "The ID of the resource." } ] }, "docs": "Related role" } ] } ], "bundled": true }