{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/commercetools/main/json-schema/commercetools-product-import-request-schema.json", "title": "ProductImportRequest", "description": "A batch of product resources to import into the project.", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/commercetools-products-api-openapi.yml#/components/schemas/ProductImportRequest", "type": "object", "required": [ "type", "resources" ], "properties": { "type": { "type": "string", "enum": [ "product" ], "description": "The resource type identifier for this import request." }, "resources": { "type": "array", "maxItems": 20, "items": { "$ref": "#/$defs/ProductImport" }, "description": "Up to 20 product resources to import." } }, "$defs": { "ProductImport": { "type": "object", "description": "A single product resource for import, matched by key for upsert behavior.", "required": [ "key", "productType", "name", "slug" ], "properties": { "key": { "type": "string", "description": "User-defined key for matching against existing products." }, "productType": { "type": "object", "description": "Reference to the product type by key." }, "name": { "type": "object", "description": "Localized name of the product." }, "slug": { "type": "object", "description": "Localized URL-friendly slug for the product." }, "description": { "type": "object", "description": "Localized description of the product." }, "categories": { "type": "array", "items": { "type": "object" }, "description": "Category references by key." }, "publish": { "type": "boolean", "description": "Whether to publish the product after import." } } } } }