Ecwid by Lightspeed Categories API

The Categories API from Ecwid by Lightspeed — 2 operation(s) for categories.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Storefront Platforms AE-140.10

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /categories Search store categories · Search categories #
Ask an LLM
“Which categories are in my store?”
“Can I list only the child categories under one parent?”
Tell an agent
List all categories.
Find categories under parent {parent}.
POST /categories Create a category · Create a category #
Ask an LLM
“How do I add a new category to my store?”
“Can I create a category under a parent category?”
Tell an agent
Create a category named {name}.
Create category {name} under parent {parentId}.
GET /categories/{categoryId} Get a category · Get a category #
Ask an LLM
“What are the details of one category?”
“Can I look up a category by its ID?”
Tell an agent
Get category {categoryId}.
Show the name and enabled state of category {categoryId}.
PUT /categories/{categoryId} Update a category · Update a category #
Ask an LLM
“How do I rename a category?”
“Can I change which products belong to a category?”
Tell an agent
Rename category {categoryId} to {name}.
Set category {categoryId} enabled to {enabled} and products to {productIds}.
DELETE /categories/{categoryId} Delete a category · Delete a category #
Ask an LLM
“How do I remove a category from my store?”
“Can I delete a category by its ID?”
Tell an agent destructive · confirm first
Delete category {categoryId}.
Remove the category with ID {categoryId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ecwid:ecwid-categories-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ecwid-categories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ecwid REST Categories API
  description: 'JSON REST API for managing Ecwid by Lightspeed store data including

    products, categories, orders, customers, discount coupons, payment and

    shipping methods, and store profile. Requests are authenticated with

    OAuth 2.0 access tokens (private for write access, public for read-only)

    provided in the Authorization header as a Bearer token. This specification

    is a best-effort, documentation-derived description and may omit fields.'
  version: 3.0.0
  contact:
    name: Ecwid by Lightspeed
    url: https://api-docs.ecwid.com/reference/overview
servers:
- url: https://app.ecwid.com/api/v3/{storeId}
  description: Store-scoped REST root
  variables:
    storeId:
      default: '0'
      description: Your Ecwid store identifier.
security:
- BearerAuth: []
tags:
- name: Categories
paths:
  /categories:
    get:
      summary: Search categories
      operationId: searchCategories
      parameters:
      - in: query
        name: parent
        schema:
          type: integer
      - in: query
        name: limit
        schema:
          type: integer
      - in: query
        name: offset
        schema:
          type: integer
      responses:
        '200':
          description: Categories page
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CategoriesPage'
      tags:
      - Categories
    post:
      summary: Create a category
      operationId: createCategory
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Category'
      responses:
        '200':
          description: Created
      tags:
      - Categories
  /categories/{categoryId}:
    parameters:
    - in: path
      name: categoryId
      required: true
      schema:
        type: integer
    get:
      summary: Get a category
      operationId: getCategory
      responses:
        '200':
          description: Category
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Category'
      tags:
      - Categories
    put:
      summary: Update a category
      operationId: updateCategory
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Category'
      responses:
        '200':
          description: Updated
      tags:
      - Categories
    delete:
      summary: Delete a category
      operationId: deleteCategory
      responses:
        '200':
          description: Deleted
      tags:
      - Categories
components:
  schemas:
    CategoriesPage:
      type: object
      properties:
        total:
          type: integer
        count:
          type: integer
        items:
          type: array
          items:
            $ref: '#/components/schemas/Category'
    Category:
      type: object
      additionalProperties: true
      properties:
        id:
          type: integer
        parentId:
          type: integer
        name:
          type: string
        enabled:
          type: boolean
        productIds:
          type: array
          items:
            type: integer
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: OAuth 2.0 access token (private or public) used as a Bearer token.