Commerce Layer · Capability

Commerce Layer Provisioning API — API Credentials

Manage API credentials for Commerce Layer organizations (client_credentials, password, etc).

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

The capability includes 2 read-only operations and 3 state-changing operations. Lead operation: List All API Credentials. 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
Listapicredentials
/api/api_credentials
POST
Createapicredential
/api/api_credentials
GET
Retrieveapicredential
/api/api_credentials/{apiCredentialId}
PATCH
Updateapicredential
/api/api_credentials/{apiCredentialId}
DELETE
Deleteapicredential
/api/api_credentials/{apiCredentialId}

MCP Tools

commerce-layer-listapicredentials

List All API Credentials

read-only idempotent
commerce-layer-createapicredential

Create An API Credential

commerce-layer-retrieveapicredential

Retrieve An API Credential

read-only idempotent
commerce-layer-updateapicredential

Update An API Credential

idempotent
commerce-layer-deleteapicredential

Delete An API Credential

idempotent

Capability Spec

provisioning-api-credentials.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Commerce Layer Provisioning API — API Credentials
  description: 'Manage API credentials for Commerce Layer organizations (client_credentials, password, etc).'
  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-api-credentials
    baseUri: https://provisioning.commercelayer.io
    description: Commerce Layer Provisioning API — API Credentials business surface.
    resources:
    - name: api_credentials
      path: /api_credentials
      operations:
      - name: listapicredentials
        method: GET
        description: List All API Credentials
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createapicredential
        method: POST
        description: Create An API Credential
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    - name: api_credentials-apiCredentialId
      path: /api_credentials/{apiCredentialId}
      operations:
      - name: retrieveapicredential
        method: GET
        description: Retrieve An API Credential
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateapicredential
        method: PATCH
        description: Update An API Credential
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
      - name: deleteapicredential
        method: DELETE
        description: Delete An API Credential
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    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-api-credentials-rest
    port: 8080
    description: REST adapter for Commerce Layer Provisioning API — API Credentials.
    resources:
    - path: /api/api_credentials
      name: api-credentials
      operations:
      - method: GET
        name: listapicredentials
        call: provisioning-api-credentials.listapicredentials
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createapicredential
        call: provisioning-api-credentials.createapicredential
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /api/api_credentials/{apiCredentialId}
      name: api-credentials-apiCredentialId
      operations:
      - method: GET
        name: retrieveapicredential
        call: provisioning-api-credentials.retrieveapicredential
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateapicredential
        call: provisioning-api-credentials.updateapicredential
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteapicredential
        call: provisioning-api-credentials.deleteapicredential
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: provisioning-api-credentials-mcp
    port: 9090
    transport: http
    description: MCP adapter for Commerce Layer Provisioning API — API Credentials.
    tools:
    - name: commerce-layer-listapicredentials
      description: List All API Credentials
      hints:
        readOnly: true
        idempotent: true
        destructive: false
      call: provisioning-api-credentials.listapicredentials
      outputParameters:
      - type: object
        mapping: $.
    - name: commerce-layer-createapicredential
      description: Create An API Credential
      hints:
        readOnly: false
        idempotent: false
        destructive: false
      call: provisioning-api-credentials.createapicredential
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: commerce-layer-retrieveapicredential
      description: Retrieve An API Credential
      hints:
        readOnly: true
        idempotent: true
        destructive: false
      call: provisioning-api-credentials.retrieveapicredential
      outputParameters:
      - type: object
        mapping: $.
    - name: commerce-layer-updateapicredential
      description: Update An API Credential
      hints:
        readOnly: false
        idempotent: true
        destructive: false
      call: provisioning-api-credentials.updateapicredential
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: commerce-layer-deleteapicredential
      description: Delete An API Credential
      hints:
        readOnly: false
        idempotent: true
        destructive: true
      call: provisioning-api-credentials.deleteapicredential
      outputParameters:
      - type: object
        mapping: $.