commercetools · Schema

ProductCatalogData

Container for current (published) and staged product data.

CommerceComposable CommerceE-CommerceGraphQLRESTSDK

Properties

Name Type Description
published boolean Whether the product has a published (current) version.
current object
staged object
hasStagedChanges boolean Whether there are unpublished staged changes.
View JSON Schema on GitHub

JSON Schema

commercetools-productcatalogdata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProductCatalogData",
  "title": "ProductCatalogData",
  "type": "object",
  "description": "Container for current (published) and staged product data.",
  "required": [
    "published",
    "hasStagedChanges"
  ],
  "properties": {
    "published": {
      "type": "boolean",
      "description": "Whether the product has a published (current) version."
    },
    "current": {
      "$ref": "#/components/schemas/ProductData"
    },
    "staged": {
      "$ref": "#/components/schemas/ProductData"
    },
    "hasStagedChanges": {
      "type": "boolean",
      "description": "Whether there are unpublished staged changes."
    }
  }
}