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