{ "opencollection": "1.0.0", "info": { "name": "Commerce Layer addresses organizations API", "version": "7.10.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "organizations", "type": "folder" }, "items": [ { "info": { "name": "Related API credential", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/api_credentials/:apiCredentialId/organization", "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/organization", "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/organization", "params": [ { "name": "membershipId", "value": "", "type": "path", "description": "The ID of the resource." } ] }, "docs": "Related membership" }, { "info": { "name": "Related membership profile", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/membership_profiles/:membershipProfileId/organization", "params": [ { "name": "membershipProfileId", "value": "", "type": "path", "description": "The ID of the resource." } ] }, "docs": "Related membership profile" }, { "info": { "name": "List all organizations", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/organizations" }, "docs": "List all organizations" }, { "info": { "name": "Creates an organization", "type": "http" }, "http": { "method": "POST", "url": "https://{your_organization_slug}.commercelayer.io/api/organizations", "body": { "type": "json", "data": "{}" } }, "docs": "Creates an organization" }, { "info": { "name": "Retrieve an organization", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/organizations/:organizationId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The ID of the resource." } ] }, "docs": "Retrieve an organization" }, { "info": { "name": "Updates an organization", "type": "http" }, "http": { "method": "PATCH", "url": "https://{your_organization_slug}.commercelayer.io/api/organizations/:organizationId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The ID of the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an organization" }, { "info": { "name": "Transfer ownership of an organization", "type": "http" }, "http": { "method": "PATCH", "url": "https://{your_organization_slug}.commercelayer.io/api/organizations/:organizationId/transfer_ownership", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The ID of the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Transfers the ownership of an organization to a new owner" }, { "info": { "name": "Related permission", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/permissions/:permissionId/organization", "params": [ { "name": "permissionId", "value": "", "type": "path", "description": "The ID of the resource." } ] }, "docs": "Related permission" }, { "info": { "name": "Related role", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/roles/:roleId/organization", "params": [ { "name": "roleId", "value": "", "type": "path", "description": "The ID of the resource." } ] }, "docs": "Related role" } ] } ], "bundled": true }