Category

Document representing a category.

CommerceE-CommerceHeadless CommerceSalesforceB2C CommerceB2B CommerceDemandware

Properties

Name Type Description
catalogId object The ID of the catalog that contains it.
categories array The array of subcategories for the category.
creationDate string Returns the value of attribute 'creationDate'. It is read only.
description object The localized description of the category.
id object The ID of the category.
image string The name of the category image. The URL to the image is computed.
lastModified string Returns the value of attribute 'lastModified'. It is read only.
name object The localized name of the category.
online boolean The online status of the category determines if it is visible in the storefront. Defaults to false if not specified on creation.
pageDescription object The localized page description of the category.
pageKeywords object The localized page keywords for the category.
pageTitle object The localized page title of the category.
parentCategoryId string The ID of the parent category. Defaults to root if not specified on creation.
paths array The path record.
position number The position of the category determines the display order in the storefront.
sortingRules array The category sorting rules.
thumbnail string The name of the category thumbnail. The URL to the thumbnail is computed.
View JSON Schema on GitHub

JSON Schema

salesforce-commerce-cloud-category-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-category-schema.json",
  "title": "Category",
  "description": "Document representing a category.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-commerce-cloud-catalogs-api-openapi.yml#/components/schemas/Category",
  "type": "object",
  "properties": {
    "catalogId": {
      "allOf": [
        {
          "$ref": "#/$defs/CatalogId"
        }
      ],
      "description": "The ID of the catalog that contains it."
    },
    "categories": {
      "items": {
        "$ref": "#/$defs/Category"
      },
      "type": "array",
      "description": "The array of subcategories for the category."
    },
    "creationDate": {
      "type": "string",
      "description": "Returns the value of attribute 'creationDate'. It is read only.",
      "format": "date-time",
      "maxLength": 30
    },
    "description": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The localized description of the category."
    },
    "id": {
      "allOf": [
        {
          "$ref": "#/$defs/CategoryId"
        }
      ],
      "description": "The ID of the category."
    },
    "image": {
      "maxLength": 256,
      "minLength": 1,
      "type": "string",
      "description": "The name of the category image. The URL to the image is computed."
    },
    "lastModified": {
      "type": "string",
      "description": "Returns the value of attribute 'lastModified'. It is read only.",
      "format": "date-time",
      "maxLength": 30
    },
    "name": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The localized name of the category."
    },
    "online": {
      "type": "boolean",
      "description": "The online status of the category determines if it is visible in the storefront. Defaults to false if not specified on creation."
    },
    "pageDescription": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The localized page description of the category."
    },
    "pageKeywords": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The localized page keywords for the category."
    },
    "pageTitle": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The localized page title of the category."
    },
    "parentCategoryId": {
      "maxLength": 256,
      "minLength": 1,
      "type": "string",
      "description": "The ID of the parent category. Defaults to root if not specified on creation."
    },
    "paths": {
      "items": {
        "$ref": "#/$defs/PathRecord"
      },
      "type": "array",
      "description": "The path record."
    },
    "position": {
      "type": "number",
      "description": "The position of the category determines the display order in the storefront.",
      "format": "double"
    },
    "sortingRules": {
      "items": {
        "$ref": "#/$defs/SortingRule"
      },
      "type": "array",
      "description": "The category sorting rules."
    },
    "thumbnail": {
      "maxLength": 256,
      "minLength": 1,
      "type": "string",
      "description": "The name of the category thumbnail. The URL to the thumbnail is computed."
    }
  },
  "additionalProperties": {
    "title": "Additional Property Support",
    "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
  },
  "required": [
    "id"
  ],
  "$defs": {
    "CatalogId": {
      "maxLength": 256,
      "minLength": 1,
      "type": "string",
      "description": "The ID of the catalog."
    },
    "Category": {
      "type": "object",
      "properties": {
        "catalogId": {
          "allOf": [
            {
              "$ref": "#/$defs/CatalogId"
            }
          ],
          "description": "The ID of the catalog that contains it."
        },
        "categories": {
          "items": {
            "$ref": "#/$defs/Category"
          },
          "type": "array",
          "description": "The array of subcategories for the category."
        },
        "creationDate": {
          "type": "string",
          "description": "Returns the value of attribute 'creationDate'. It is read only.",
          "format": "date-time",
          "maxLength": 30
        },
        "description": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The localized description of the category."
        },
        "id": {
          "allOf": [
            {
              "$ref": "#/$defs/CategoryId"
            }
          ],
          "description": "The ID of the category."
        },
        "image": {
          "maxLength": 256,
          "minLength": 1,
          "type": "string",
          "description": "The name of the category image. The URL to the image is computed."
        },
        "lastModified": {
          "type": "string",
          "description": "Returns the value of attribute 'lastModified'. It is read only.",
          "format": "date-time",
          "maxLength": 30
        },
        "name": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The localized name of the category."
        },
        "online": {
          "type": "boolean",
          "description": "The online status of the category determines if it is visible in the storefront. Defaults to false if not specified on creation."
        },
        "pageDescription": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The localized page description of the category."
        },
        "pageKeywords": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The localized page keywords for the category."
        },
        "pageTitle": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The localized page title of the category."
        },
        "parentCategoryId": {
          "maxLength": 256,
          "minLength": 1,
          "type": "string",
          "description": "The ID of the parent category. Defaults to root if not specified on creation."
        },
        "paths": {
          "items": {
            "$ref": "#/$defs/PathRecord"
          },
          "type": "array",
          "description": "The path record."
        },
        "position": {
          "type": "number",
          "description": "The position of the category determines the display order in the storefront.",
          "format": "double"
        },
        "sortingRules": {
          "items": {
            "$ref": "#/$defs/SortingRule"
          },
          "type": "array",
          "description": "The category sorting rules."
        },
        "thumbnail": {
          "maxLength": 256,
          "minLength": 1,
          "type": "string",
          "description": "The name of the category thumbnail. The URL to the thumbnail is computed."
        }
      },
      "description": "Document representing a category.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      },
      "required": [
        "id"
      ]
    },
    "CategoryId": {
      "maxLength": 256,
      "minLength": 1,
      "type": "string",
      "description": "The ID of the category."
    },
    "PathRecord": {
      "type": "object",
      "properties": {
        "id": {
          "allOf": [
            {
              "$ref": "#/$defs/CategoryId"
            }
          ],
          "description": "The ID of the category path."
        },
        "name": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The name of the category path."
        }
      },
      "description": "Document representing most basic info (ID and name) of a category or catalog.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      }
    },
    "SiteId": {
      "minLength": 1,
      "maxLength": 32,
      "description": "The identifier of the site that a request is being made in the context of. Attributes might have site specific values, and some objects may only be assigned to specific sites",
      "type": "string"
    },
    "SortingRule": {
      "type": "object",
      "properties": {
        "creationDate": {
          "type": "string",
          "description": "The creation date, read only.",
          "format": "date-time",
          "maxLength": 30
        },
        "description": {
          "type": "string",
          "maxLength": 4000,
          "description": "The description of the product sorting rule."
        },
        "id": {
          "description": "The ID of the product sorting rule.",
          "type": "string",
          "maxLength": 256
        },
        "productSortingRuleSteps": {
          "items": {
            "$ref": "#/$defs/SortingRuleStep"
          },
          "type": "array",
          "description": "The steps involved in sorting by this rule."
        },
        "ruleContext": {
          "type": "string",
          "description": "The context of the rule, either site or global.",
          "enum": [
            "site",
            "global"
          ]
        },
        "site": {
          "$ref": "#/$defs/SiteId"
        }
      },
      "description": "Document representing a product sorting rule.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      }
    },
    "SortingRuleStep": {
      "type": "object",
      "properties": {
        "attributeId": {
          "type": "string",
          "maxLength": 256,
          "description": "The ID for sorting attribute."
        },
        "direction": {
          "type": "string",
          "description": "The direction of the sorting attribute.",
          "enum": [
            "asc",
            "desc"
          ]
        },
        "isSystem": {
          "type": "boolean",
          "description": "Whether or not the attribute is a system attribute."
        },
        "position": {
          "type": "integer",
          "description": "The position of product sorting rule step.",
          "format": "int32"
        },
        "textRelevanceIncluded": {
          "type": "boolean",
          "description": "The text relevance included."
        },
        "typeId": {
          "type": "string",
          "maxLength": 256,
          "description": "The sorting type for sorting attribute."
        }
      },
      "description": "Document representing a product sorting rule step.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/salesforce-commerce-cloud-category"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.