Treez Subcategory Exclusion API

The Subcategory Exclusion API from Treez — 1 operation(s) for subcategory exclusion.

Operations 1

GET /{ver}/subcategory-exclusion Subcategory Exclusions - Read #

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/treez-subcategory-exclusion-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

treez-subcategory-exclusion-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: catalog Subcategory Exclusion API
  version: 3.1.0
servers:
- url: https://api-prod.treez.io/service/catalog
security:
- {}
tags:
- name: Subcategory Exclusion
paths:
  /{ver}/subcategory-exclusion:
    get:
      summary: Subcategory Exclusions - Read
      description: Returns the organization's live subcategory exclusions. An exclusion hides a global subcategory from the product picker and blocks direct assignment of it on product create/update.
      operationId: catalog-categories-read-1-1-2
      parameters:
      - in: path
        name: ver
        schema:
          type: string
          default: v3
        required: true
        description: ''
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                  - id: 7e2b9c40-1d5a-4f3e-8a6b-9c0d1e2f3a45
                    organizationId: b1226d0b-4940-4edf-aab3-dbd1642f7f69
                    productSubCategoryId: f6e25c9a-27f3-41a7-9037-b5e0c2f3e652
                    createdAt: '2026-08-20T17:02:11.412Z'
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      example: 7e2b9c40-1d5a-4f3e-8a6b-9c0d1e2f3a45
                    organizationId:
                      type: string
                      example: b1226d0b-4940-4edf-aab3-dbd1642f7f69
                    productSubCategoryId:
                      type: string
                      example: f6e25c9a-27f3-41a7-9037-b5e0c2f3e652
                    createdAt:
                      type: string
                      example: '2026-08-20T17:02:11.412Z'
        '400':
          description: '400'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Event Schema Validation Failed
                  errorType:
                    type: string
                    example: Validation
                  errorMsgs:
                    type: array
                    items:
                      type: string
                      example: '"productSubCategoryId" must be a valid GUID'
                  failed:
                    type: array
                    items:
                      type: object
                      properties:
                        entity:
                          type: object
                          properties:
                            key_0:
                              type: number
                              example: 4708.6358186846
                              default: 0
                        errors:
                          type: array
                          items:
                            type: string
                            example: string
                        errorDetails:
                          type: object
                          properties:
                            key_0:
                              type: object
                              properties:
                                code:
                                  type: string
                                  example: SUB_CATEGORY_EXCLUSION_ALREADY_EXCLUDED
                            key_1:
                              type: object
                              properties:
                                code:
                                  type: string
                                  example: SUB_CATEGORY_EXCLUSION_NOT_EXCLUDED
      x-internal: false
      tags:
      - Subcategory Exclusion
x-readme:
  headers:
  - key: Accept-Encoding
    value: gzip, br
  explorer-enabled: true
  proxy-enabled: true
x-readme-fauxas: true