Salla · Capability

Salla Merchant API — Categories

Salla Merchant API Categories capability — list, create, get, and update product categories.

Salla Merchant API — Categories is a Naftiko capability published by Salla, one of 10 capabilities the APIs.io network indexes for this provider. It bundles 2 operations.

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

Tagged areas include Salla, Categories, and E-Commerce.

Run with Naftiko SallaCategoriesE-Commerce

MCP Tools

salla-list-categories

List Salla categories.

read-only idempotent
salla-get-category

Get a Salla category.

read-only idempotent

Capability Spec

merchant-categories.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salla Merchant API — Categories
  description: Salla Merchant API Categories capability — list, create, get, and update product categories.
  tags: [Salla, Categories, E-Commerce]
  created: '2026-05-24'
  modified: '2026-05-24'
binds:
- namespace: env
  keys:
    SALLA_ACCESS_TOKEN: SALLA_ACCESS_TOKEN
capability:
  consumes:
  - type: http
    namespace: merchant-categories
    baseUri: https://api.salla.dev/admin/v2
    description: Salla Merchant API — Categories business capability.
    resources:
    - name: categories
      path: /categories
      operations:
      - name: listCategories
        method: GET
        description: List categories.
        outputParameters: [{ name: result, type: object, value: $. }]
      - name: createCategory
        method: POST
        description: Create a category.
        inputParameters: [{ name: body, in: body, type: object, required: true }]
        outputParameters: [{ name: result, type: object, value: $. }]
    - name: category
      path: /categories/{category_id}
      operations:
      - name: getCategory
        method: GET
        inputParameters: [{ name: category_id, in: path, type: integer, required: true }]
        outputParameters: [{ name: result, type: object, value: $. }]
      - name: updateCategory
        method: PUT
        inputParameters:
        - { name: category_id, in: path, type: integer, required: true }
        - { name: body, in: body, type: object, required: true }
        outputParameters: [{ name: result, type: object, value: $. }]
    authentication: { type: bearer, value: '{{env.SALLA_ACCESS_TOKEN}}', placement: header }
  exposes:
  - type: mcp
    namespace: merchant-categories-mcp
    port: 9090
    transport: http
    tools:
    - name: salla-list-categories
      description: List Salla categories.
      hints: { readOnly: true, destructive: false, idempotent: true }
      call: merchant-categories.listCategories
    - name: salla-get-category
      description: Get a Salla category.
      hints: { readOnly: true, destructive: false, idempotent: true }
      call: merchant-categories.getCategory
      with: { category_id: tools.category_id }