Commerce Layer · Capability

Commerce Layer Provisioning API — Organizations

Provision Commerce Layer organizations and inspect organization metadata.

Commerce Layer Provisioning API — Organizations is a Naftiko capability published by Commerce Layer, one of 16 capabilities the APIs.io network indexes for this provider. It bundles 4 operations across the GET, POST, and PATCH methods rooted at /api/organizations.

The capability includes 2 read-only operations and 2 state-changing operations. Lead operation: List All Organizations. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Commerce Layer.

Run with Naftiko Commerce Layer

What You Can Do

GET
Listorganizations
/api/organizations
POST
Createorganization
/api/organizations
GET
Retrieveorganization
/api/organizations/{organizationId}
PATCH
Updateorganization
/api/organizations/{organizationId}

MCP Tools

commerce-layer-listorganizations

List All Organizations

read-only idempotent
commerce-layer-createorganization

Create An Organization

commerce-layer-retrieveorganization

Retrieve An Organization

read-only idempotent
commerce-layer-updateorganization

Update An Organization

idempotent

Capability Spec

provisioning-organizations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Commerce Layer Provisioning API — Organizations
  description: 'Provision Commerce Layer organizations and inspect organization metadata.'
  tags:
  - Commerce Layer
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    COMMERCE_LAYER_PROVISIONING_ACCESS_TOKEN: COMMERCE_LAYER_PROVISIONING_ACCESS_TOKEN
capability:
  consumes:
  - type: http
    namespace: provisioning-organizations
    baseUri: https://provisioning.commercelayer.io
    description: Commerce Layer Provisioning API — Organizations business surface.
    resources:
    - name: organizations
      path: /organizations
      operations:
      - name: listorganizations
        method: GET
        description: List All Organizations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createorganization
        method: POST
        description: Create An Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    - name: organizations-organizationId
      path: /organizations/{organizationId}
      operations:
      - name: retrieveorganization
        method: GET
        description: Retrieve An Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateorganization
        method: PATCH
        description: Update An Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    authentication:
      type: oauth2
      flow: client_credentials
      tokenUrl: https://auth.commercelayer.io/oauth/token
      value: 'Bearer {{env.COMMERCE_LAYER_PROVISIONING_ACCESS_TOKEN}}'
      placement: header
      key: Authorization
  exposes:
  - type: rest
    namespace: provisioning-organizations-rest
    port: 8080
    description: REST adapter for Commerce Layer Provisioning API — Organizations.
    resources:
    - path: /api/organizations
      name: organizations
      operations:
      - method: GET
        name: listorganizations
        call: provisioning-organizations.listorganizations
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createorganization
        call: provisioning-organizations.createorganization
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /api/organizations/{organizationId}
      name: organizations-organizationId
      operations:
      - method: GET
        name: retrieveorganization
        call: provisioning-organizations.retrieveorganization
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateorganization
        call: provisioning-organizations.updateorganization
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: provisioning-organizations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Commerce Layer Provisioning API — Organizations.
    tools:
    - name: commerce-layer-listorganizations
      description: List All Organizations
      hints:
        readOnly: true
        idempotent: true
        destructive: false
      call: provisioning-organizations.listorganizations
      outputParameters:
      - type: object
        mapping: $.
    - name: commerce-layer-createorganization
      description: Create An Organization
      hints:
        readOnly: false
        idempotent: false
        destructive: false
      call: provisioning-organizations.createorganization
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: commerce-layer-retrieveorganization
      description: Retrieve An Organization
      hints:
        readOnly: true
        idempotent: true
        destructive: false
      call: provisioning-organizations.retrieveorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: commerce-layer-updateorganization
      description: Update An Organization
      hints:
        readOnly: false
        idempotent: true
        destructive: false
      call: provisioning-organizations.updateorganization
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.