commercetools · Schema

CategoryImport

A single category resource for import.

CommerceComposable CommerceE-CommerceGraphQLRESTSDK

Properties

Name Type Description
key string User-defined key for matching against existing categories.
name object Localized name of the category.
slug object Localized URL-friendly slug.
description object Localized description of the category.
parent object Reference to parent category by key.
orderHint string Decimal ordering hint between 0 and 1.
View JSON Schema on GitHub

JSON Schema

commercetools-categoryimport-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CategoryImport",
  "title": "CategoryImport",
  "type": "object",
  "description": "A single category resource for import.",
  "required": [
    "key",
    "name",
    "slug"
  ],
  "properties": {
    "key": {
      "type": "string",
      "description": "User-defined key for matching against existing categories."
    },
    "name": {
      "type": "object",
      "description": "Localized name of the category."
    },
    "slug": {
      "type": "object",
      "description": "Localized URL-friendly slug."
    },
    "description": {
      "type": "object",
      "description": "Localized description of the category."
    },
    "parent": {
      "type": "object",
      "description": "Reference to parent category by key."
    },
    "orderHint": {
      "type": "string",
      "description": "Decimal ordering hint between 0 and 1."
    }
  }
}