Product Catalog Messages

GraphQL output types for Messages that represent a change or an action performed on a Product, Product Selection, Product Tailoring, Category, Inventory Entry, or Review.

Each type on this page implements MessagePayload and is returned in the payload field of a Message. For when each Message is generated, see Product Catalog Messages.

Product Messages

ProductCreated

Generated after a successful Create Product request.
productProjection​
The staged Product Projection of the Product at the time of creation.
type​
String​

ProductProjectionMessagePayload

id​
String​
version​
Long​
createdAt​
lastModifiedAt​
productTypeRef​
productType​
name​
String​
nameAllLocales​
Array of LocalizedString​
description​
String​
descriptionAllLocales​
Array of LocalizedString​
slug​
String​
slugAllLocales​
Array of LocalizedString​
categoryOrderHints​
Array of CategoryOrderHint​
categoriesRef​
Array of Reference​
categories​
Array of Category​
searchKeywords​
Array of SearchKeywords​
metaTitle​
String​
metaTitleAllLocales​
Array of LocalizedString​
metaKeywords​
String​
metaKeywordsAllLocales​
Array of LocalizedString​
metaDescription​
String​
metaDescriptionAllLocales​
Array of LocalizedString​
hasStagedChanges​
Boolean​
published​
Boolean​
masterVariant​
variants​
Array of ProductVariant​
attributes​
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
taxCategoryRef​
taxCategory​
stateRef​
state​
reviewRatingStatistics​

CategoryOrderHint

categoryId​
String​
orderHint​
String​

SearchKeywords

locale​
searchKeywords​
Array of SearchKeyword​

SearchKeyword

text​
String​
Text to return in the SuggestionResult.
suggestTokenizer​
If no tokenizer is defined, the text is used as a single token.

SuggestTokenizer

type​
String​

ProductVariant

Represents a Product Variant embedded in a Product.
Only available for Projects with the ProductCatalogModel Classic. When the Project has the Modular catalog model, use the Variants API instead.
id​
Int​

A unique, sequential identifier of the Product Variant within the Product.

key​
String​

User-defined identifier of the ProductVariant. Unique among ProductVariants in the same Product.

This is different from Product key.
sku​
String​

User-defined SKU of the Product Variant. Unique across all ProductVariants in a Project.

prices​
Array of ProductPrice​
If the Product is projected by Store, this field only contains Embedded Prices that are valid for that Store.
Cannot contain two Embedded Prices with the same scopes (currency, country, Customer Group, Channel, validFrom and validUntil).
price​

Returns a single price based on the price selection rules.

allRecurrencePrices​
Array of ProductPrice​

Returns all recurrence prices based on the price selection rules.

images​
Array of Image​

Images of the Product Variant.

assets​
Array of Asset​

Media assets of the Product Variant.

availability​
Set if the Product Variant is tracked by Inventory. Can be used as an optimization to reduce calls to the Inventory service. May not contain the latest Inventory State (it is eventually consistent).
attributesRaw​

This field contains raw attributes data

ProductPrice

id​
String​
value​
key​
String​
country​
customerGroup​
customerGroupRef​
channel​
channelRef​
validFrom​
validUntil​
discounted​
tiers​
Array of ProductPriceTier​
custom​
recurrencePolicy​
recurrencePolicyRef​

DiscountedProductPriceValue

value​
discountRef​
discount​

ProductPriceTier

minimumQuantity​
Int​
value​

ProductVariantAvailabilityWithChannels

noChannel​
channels​

ProductVariantAvailability

Product variant availability

isOnStock​
Boolean​
Whether the Product Variant is in stock, based on an InventoryEntry that has no assigned supply Channel. This value reflects global or default availability; it does not aggregate the channel-specific availabilities found in the channels field.
restockableInDays​
Int​

Number of days to restock a Product Variant once it is out of stock.

availableQuantity​
Long​

Number of items of the Product Variant that are in stock.

version​
Long​
Current version of the InventoryEntry.
id​
String​
Unique identifier of the InventoryEntry.

ProductVariantAvailabilitiesResult

Product variant availabilities

limit​
Int​
offset​
Int​
total​
Int​
results​

ProductVariantAvailabilityWithChannel

channelRef​
channel​
availability​

RawProductAttribute

attributeDefinition​
name​
String​
value​
Json​
attributesRaw​
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
referencedResource​
referencedResourceSet​

AttributeDefinition

type​

Describes the Type of the Attribute.

name​
String​
User-defined name of the Attribute that is unique within the Project.
label​
String​

Human-readable label for the Attribute.

isRequired​
Boolean​
Whether the Attribute must have a value on a ProductVariant.
attributeConstraint​

Specifies how Attributes are validated across all variants of a Product.

Can be None, Unique, CombinationUnique, or SameForAll​
level​

Specifies whether the Attribute is defined at the Product or Variant level.

Can be Variant, or Product​
inputTip​
String​

Provides additional Attribute information to aid content managers configure Product details.

inputHint​
Provides a visual representation directive for values of this Attribute (only relevant for AttributeTextType and AttributeLocalizableTextType).
Can be SingleLine, or MultiLine​
isSearchable​
Boolean​
Whether the Attribute's values are available in the Product Search or the Product Projection Search API for use in full-text search queries, filters, and facets. However, if an Attribute's level is set as Product, then Product Projection Search does not support the Attribute. To use the Attribute in search, filters, or facets, set isSearchable to true for all AttributeDefinitions with the same name across different ProductTypes. If the isSearchable values are different, the Attribute isn't available for search, filters, or facets.
The exact features that are available with this flag depend on the specific AttributeType. The maximum size of a searchable field is restricted by the Field content size limit. This constraint is enforced at both Product creation and Product update. If the length of the input exceeds the maximum size, an InvalidField error is returned.
savedToLineItem​
Boolean​
Whether the Attribute value is copied onto the LineItem when the Product is added to a Cart. When false, the Attribute value is excluded from the Line Item variant. Line Items already in a Cart are not immediately affected by a change to this value. Existing Line Items are updated the next time their Product data is refreshed, such as when a Recalculate update action is performed with updateProductData set to true, or on a Cart update that triggers an API Extension. Replicating a Cart creates a new Cart that contains the current Product data; it does not update the original Cart.
When savedToLineItem is false, LineItem predicates that reference this Attribute, such as those in Cart Discounts and Shipping Methods, evaluate as if the Attribute is not set.
labelAllLocales​
Array of LocalizedString​

Human-readable label for the Attribute.

inputTipAllLocales​
Array of LocalizedString​

Provides additional Attribute information to aid content managers configure Product details.

AttributeDefinitionType

AttributeConstraint

None
No constraints are applied to the attribute
Unique
Attribute value should be different in each variant
CombinationUnique
A set of attributes, that have this constraint, should have different combinations in each variant
SameForAll
Attribute value should be the same in all variants

Level

Variant
The attribute can be used on the variant level
Product
The attribute can be used on the product level

ReviewRatingStatistics

averageRating​
Float​

Average rating of one target This number is rounded with 5 decimals.

highestRating​
Int​

Highest rating of one target

lowestRating​
Int​

Lowest rating of one target

count​
Long​

Number of ratings taken into account

ratingsDistribution​
Json​

Full distribution of the ratings. The keys are the different ratings and the values are the count of reviews having this rating. Only the used ratings appear in this object.

ProductPublished

Generated after a successful Publish update action.
productProjection​
Current Product Projection of the Product at the time of creation.
removedImageUrls​
Array of String​
List of image URLs which were removed during the Publish update action.
scope​
Publishing Scope that was used during the Publish update action.
Can be All, or Prices​
type​
String​

ProductProjectionMessagePayload

id​
String​
version​
Long​
createdAt​
lastModifiedAt​
productTypeRef​
productType​
name​
String​
nameAllLocales​
Array of LocalizedString​
description​
String​
descriptionAllLocales​
Array of LocalizedString​
slug​
String​
slugAllLocales​
Array of LocalizedString​
categoryOrderHints​
Array of CategoryOrderHint​
categoriesRef​
Array of Reference​
categories​
Array of Category​
searchKeywords​
Array of SearchKeywords​
metaTitle​
String​
metaTitleAllLocales​
Array of LocalizedString​
metaKeywords​
String​
metaKeywordsAllLocales​
Array of LocalizedString​
metaDescription​
String​
metaDescriptionAllLocales​
Array of LocalizedString​
hasStagedChanges​
Boolean​
published​
Boolean​
masterVariant​
variants​
Array of ProductVariant​
attributes​
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
taxCategoryRef​
taxCategory​
stateRef​
state​
reviewRatingStatistics​

CategoryOrderHint

categoryId​
String​
orderHint​
String​

SearchKeywords

locale​
searchKeywords​
Array of SearchKeyword​

SearchKeyword

text​
String​
Text to return in the SuggestionResult.
suggestTokenizer​
If no tokenizer is defined, the text is used as a single token.

SuggestTokenizer

type​
String​

ProductVariant

Represents a Product Variant embedded in a Product.
Only available for Projects with the ProductCatalogModel Classic. When the Project has the Modular catalog model, use the Variants API instead.
id​
Int​

A unique, sequential identifier of the Product Variant within the Product.

key​
String​

User-defined identifier of the ProductVariant. Unique among ProductVariants in the same Product.

This is different from Product key.
sku​
String​

User-defined SKU of the Product Variant. Unique across all ProductVariants in a Project.

prices​
Array of ProductPrice​
If the Product is projected by Store, this field only contains Embedded Prices that are valid for that Store.
Cannot contain two Embedded Prices with the same scopes (currency, country, Customer Group, Channel, validFrom and validUntil).
price​

Returns a single price based on the price selection rules.

allRecurrencePrices​
Array of ProductPrice​

Returns all recurrence prices based on the price selection rules.

images​
Array of Image​

Images of the Product Variant.

assets​
Array of Asset​

Media assets of the Product Variant.

availability​
Set if the Product Variant is tracked by Inventory. Can be used as an optimization to reduce calls to the Inventory service. May not contain the latest Inventory State (it is eventually consistent).
attributesRaw​

This field contains raw attributes data

ProductPrice

id​
String​
value​
key​
String​
country​
customerGroup​
customerGroupRef​
channel​
channelRef​
validFrom​
validUntil​
discounted​
tiers​
Array of ProductPriceTier​
custom​
recurrencePolicy​
recurrencePolicyRef​

DiscountedProductPriceValue

value​
discountRef​
discount​

ProductPriceTier

minimumQuantity​
Int​
value​

ProductVariantAvailabilityWithChannels

noChannel​
channels​

ProductVariantAvailability

Product variant availability

isOnStock​
Boolean​
Whether the Product Variant is in stock, based on an InventoryEntry that has no assigned supply Channel. This value reflects global or default availability; it does not aggregate the channel-specific availabilities found in the channels field.
restockableInDays​
Int​

Number of days to restock a Product Variant once it is out of stock.

availableQuantity​
Long​

Number of items of the Product Variant that are in stock.

version​
Long​
Current version of the InventoryEntry.
id​
String​
Unique identifier of the InventoryEntry.

ProductVariantAvailabilitiesResult

Product variant availabilities

limit​
Int​
offset​
Int​
total​
Int​
results​

ProductVariantAvailabilityWithChannel

channelRef​
channel​
availability​

RawProductAttribute

attributeDefinition​
name​
String​
value​
Json​
attributesRaw​
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
referencedResource​
referencedResourceSet​

AttributeDefinition

type​

Describes the Type of the Attribute.

name​
String​
User-defined name of the Attribute that is unique within the Project.
label​
String​

Human-readable label for the Attribute.

isRequired​
Boolean​
Whether the Attribute must have a value on a ProductVariant.
attributeConstraint​

Specifies how Attributes are validated across all variants of a Product.

Can be None, Unique, CombinationUnique, or SameForAll​
level​

Specifies whether the Attribute is defined at the Product or Variant level.

Can be Variant, or Product​
inputTip​
String​

Provides additional Attribute information to aid content managers configure Product details.

inputHint​
Provides a visual representation directive for values of this Attribute (only relevant for AttributeTextType and AttributeLocalizableTextType).
Can be SingleLine, or MultiLine​
isSearchable​
Boolean​
Whether the Attribute's values are available in the Product Search or the Product Projection Search API for use in full-text search queries, filters, and facets. However, if an Attribute's level is set as Product, then Product Projection Search does not support the Attribute. To use the Attribute in search, filters, or facets, set isSearchable to true for all AttributeDefinitions with the same name across different ProductTypes. If the isSearchable values are different, the Attribute isn't available for search, filters, or facets.
The exact features that are available with this flag depend on the specific AttributeType. The maximum size of a searchable field is restricted by the Field content size limit. This constraint is enforced at both Product creation and Product update. If the length of the input exceeds the maximum size, an InvalidField error is returned.
savedToLineItem​
Boolean​
Whether the Attribute value is copied onto the LineItem when the Product is added to a Cart. When false, the Attribute value is excluded from the Line Item variant. Line Items already in a Cart are not immediately affected by a change to this value. Existing Line Items are updated the next time their Product data is refreshed, such as when a Recalculate update action is performed with updateProductData set to true, or on a Cart update that triggers an API Extension. Replicating a Cart creates a new Cart that contains the current Product data; it does not update the original Cart.
When savedToLineItem is false, LineItem predicates that reference this Attribute, such as those in Cart Discounts and Shipping Methods, evaluate as if the Attribute is not set.
labelAllLocales​
Array of LocalizedString​

Human-readable label for the Attribute.

inputTipAllLocales​
Array of LocalizedString​

Provides additional Attribute information to aid content managers configure Product details.

AttributeDefinitionType

AttributeConstraint

None
No constraints are applied to the attribute
Unique
Attribute value should be different in each variant
CombinationUnique
A set of attributes, that have this constraint, should have different combinations in each variant
SameForAll
Attribute value should be the same in all variants

Level

Variant
The attribute can be used on the variant level
Product
The attribute can be used on the product level

ReviewRatingStatistics

averageRating​
Float​

Average rating of one target This number is rounded with 5 decimals.

highestRating​
Int​

Highest rating of one target

lowestRating​
Int​

Lowest rating of one target

count​
Long​

Number of ratings taken into account

ratingsDistribution​
Json​

Full distribution of the ratings. The keys are the different ratings and the values are the count of reviews having this rating. Only the used ratings appear in this object.

PublishScope

All
Publishes the complete staged projection
Prices
Publishes only prices on the staged projection

ProductUnpublished

Generated after a successful Unpublish Product update action.
type​
String​

ProductStateTransition

Generated after a successful Transition State update action.
force​
Boolean​
Whether State transition validations were turned off during the Transition State update action.
state​
Product State after the Transition State update action.
stateRef​
Product State after the Transition State update action.
type​
String​

ProductSlugChanged

Generated after a successful Change Slug update action.
slug​
String​
The slug of the Product after the Change Slug update action.
oldSlug​
String​
The slug of the Product before the Change Slug update action.
slugAllLocales​
Array of LocalizedString​
The slug of the Product after the Change Slug update action.
oldSlugAllLocales​
Array of LocalizedString​
The slug of the Product before the Change Slug update action.
type​
String​

ProductImageAdded

Generated after a successful Add External Image update action or after the successful upload of an image.
variantId​
Int​
Unique identifier of the Product Variant to which the Image was added.
image​
Image that was added.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
type​
String​

ProductRevertedStagedChanges

Generated after a successful Revert Staged Changes update action.
removedImageUrls​
Array of String​
List of image URLs that were removed during the Revert Staged Changes update action.
type​
String​

ProductPriceKeySet

Generated after a successful Set Price Key update action.
variantId​
Int​
priceId​
String​
Unique identifier of the Price.
oldKey​
String​
key value of the Price before the Set Price Key update action.
key​
String​
key value of the Price after the Set Price Key update action.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
type​
String​

ProductPriceDiscountsSet

Generated after a Price is updated due to a Product Discount.
updatedPrices​
Array containing details about the Embedded Prices that were updated.
type​
String​

ProductPriceDiscountUpdateMessagePayload

variantId​
Int​
variantKey​
String​
sku​
String​
priceId​
String​
discounted​
staged​
Boolean​

DiscountedProductPriceValue

value​
discountRef​
discount​

ProductPriceExternalDiscountSet

Generated after a successful Set Discounted Price update action.
variantId​
Int​
Unique identifier of the Product Variant for which the Discount was set.
variantKey​
String​
Key of the Product Variant for which the Discount was set.
sku​
String​
SKU of the Product Variant for which Discount was set.
priceId​
String​
Unique identifier of the Price.
discounted​
Discounted Price for the Product Variant for which Discount was set.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
type​
String​

DiscountedProductPriceValue

value​
discountRef​
discount​

ProductPriceAdded

Generated after a successful Add Price update action.
variantId​
Int​
Unique identifier of the ProductVariant for which the Price was added.
price​
The Embedded Price that was added to the ProductVariant.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
type​
String​

ProductPrice

id​
String​
value​
key​
String​
country​
customerGroup​
customerGroupRef​
channel​
channelRef​
validFrom​
validUntil​
discounted​
tiers​
Array of ProductPriceTier​
custom​
recurrencePolicy​
recurrencePolicyRef​

DiscountedProductPriceValue

value​
discountRef​
discount​

ProductPriceTier

minimumQuantity​
Int​
value​

ProductPriceChanged

Generated after a successful Change Price update action.
variantId​
Int​
Unique identifier of the ProductVariant for which the Price was changed.
oldPrice​
The current Embedded Price before the Change Embedded Price update action.
newPrice​
The Embedded Price after the Change Embedded Price update action.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
oldStagedPrice​
The staged Embedded Price before the Change Embedded Price update action.
type​
String​

ProductPrice

id​
String​
value​
key​
String​
country​
customerGroup​
customerGroupRef​
channel​
channelRef​
validFrom​
validUntil​
discounted​
tiers​
Array of ProductPriceTier​
custom​
recurrencePolicy​
recurrencePolicyRef​

DiscountedProductPriceValue

value​
discountRef​
discount​

ProductPriceTier

minimumQuantity​
Int​
value​

ProductPricesSet

Generated after a successful Set Prices update action.
variantId​
Int​
Unique identifier of the ProductVariant for which the Price was set.
prices​
Array of ProductPrice​
The Embedded Prices that were set on the ProductVariant.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
type​
String​

ProductPrice

id​
String​
value​
key​
String​
country​
customerGroup​
customerGroupRef​
channel​
channelRef​
validFrom​
validUntil​
discounted​
tiers​
Array of ProductPriceTier​
custom​
recurrencePolicy​
recurrencePolicyRef​

DiscountedProductPriceValue

value​
discountRef​
discount​

ProductPriceTier

minimumQuantity​
Int​
value​

ProductPriceRemoved

Generated after a successful Remove Price update action.
variantId​
Int​
Unique identifier of the ProductVariant for which the Price was removed.
price​
The Embedded Price that was removed from the ProductVariant.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
type​
String​

ProductPrice

id​
String​
value​
key​
String​
country​
customerGroup​
customerGroupRef​
channel​
channelRef​
validFrom​
validUntil​
discounted​
tiers​
Array of ProductPriceTier​
custom​
recurrencePolicy​
recurrencePolicyRef​

DiscountedProductPriceValue

value​
discountRef​
discount​

ProductPriceTier

minimumQuantity​
Int​
value​

ProductPriceModeSet

Generated after a successful Set PriceMode update action.
to​
The PriceMode that was set.
Can be Embedded, or Standalone​
type​
String​

PriceMode

Embedded
The system looks up prices from the `prices` field of the ProductVariant inside a Product.
Standalone
The system looks up prices from Standalone Prices, stored separately from Products.

ProductVariantAdded

Generated after a successful Add ProductVariant update action.
variant​
Unique identifier of the Product Variant that was added.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
type​
String​

ProductVariant

Represents a Product Variant embedded in a Product.
Only available for Projects with the ProductCatalogModel Classic. When the Project has the Modular catalog model, use the Variants API instead.
id​
Int​

A unique, sequential identifier of the Product Variant within the Product.

key​
String​

User-defined identifier of the ProductVariant. Unique among ProductVariants in the same Product.

This is different from Product key.
sku​
String​

User-defined SKU of the Product Variant. Unique across all ProductVariants in a Project.

prices​
Array of ProductPrice​
If the Product is projected by Store, this field only contains Embedded Prices that are valid for that Store.
Cannot contain two Embedded Prices with the same scopes (currency, country, Customer Group, Channel, validFrom and validUntil).
price​

Returns a single price based on the price selection rules.

allRecurrencePrices​
Array of ProductPrice​

Returns all recurrence prices based on the price selection rules.

images​
Array of Image​

Images of the Product Variant.

assets​
Array of Asset​

Media assets of the Product Variant.

availability​
Set if the Product Variant is tracked by Inventory. Can be used as an optimization to reduce calls to the Inventory service. May not contain the latest Inventory State (it is eventually consistent).
attributesRaw​

This field contains raw attributes data

ProductPrice

id​
String​
value​
key​
String​
country​
customerGroup​
customerGroupRef​
channel​
channelRef​
validFrom​
validUntil​
discounted​
tiers​
Array of ProductPriceTier​
custom​
recurrencePolicy​
recurrencePolicyRef​

DiscountedProductPriceValue

value​
discountRef​
discount​

ProductPriceTier

minimumQuantity​
Int​
value​

ProductVariantAvailabilityWithChannels

noChannel​
channels​

ProductVariantAvailability

Product variant availability

isOnStock​
Boolean​
Whether the Product Variant is in stock, based on an InventoryEntry that has no assigned supply Channel. This value reflects global or default availability; it does not aggregate the channel-specific availabilities found in the channels field.
restockableInDays​
Int​

Number of days to restock a Product Variant once it is out of stock.

availableQuantity​
Long​

Number of items of the Product Variant that are in stock.

version​
Long​
Current version of the InventoryEntry.
id​
String​
Unique identifier of the InventoryEntry.

ProductVariantAvailabilitiesResult

Product variant availabilities

limit​
Int​
offset​
Int​
total​
Int​
results​

ProductVariantAvailabilityWithChannel

channelRef​
channel​
availability​

RawProductAttribute

attributeDefinition​
name​
String​
value​
Json​
attributesRaw​
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
referencedResource​
referencedResourceSet​

AttributeDefinition

type​

Describes the Type of the Attribute.

name​
String​
User-defined name of the Attribute that is unique within the Project.
label​
String​

Human-readable label for the Attribute.

isRequired​
Boolean​
Whether the Attribute must have a value on a ProductVariant.
attributeConstraint​

Specifies how Attributes are validated across all variants of a Product.

Can be None, Unique, CombinationUnique, or SameForAll​
level​

Specifies whether the Attribute is defined at the Product or Variant level.

Can be Variant, or Product​
inputTip​
String​

Provides additional Attribute information to aid content managers configure Product details.

inputHint​
Provides a visual representation directive for values of this Attribute (only relevant for AttributeTextType and AttributeLocalizableTextType).
Can be SingleLine, or MultiLine​
isSearchable​
Boolean​
Whether the Attribute's values are available in the Product Search or the Product Projection Search API for use in full-text search queries, filters, and facets. However, if an Attribute's level is set as Product, then Product Projection Search does not support the Attribute. To use the Attribute in search, filters, or facets, set isSearchable to true for all AttributeDefinitions with the same name across different ProductTypes. If the isSearchable values are different, the Attribute isn't available for search, filters, or facets.
The exact features that are available with this flag depend on the specific AttributeType. The maximum size of a searchable field is restricted by the Field content size limit. This constraint is enforced at both Product creation and Product update. If the length of the input exceeds the maximum size, an InvalidField error is returned.
savedToLineItem​
Boolean​
Whether the Attribute value is copied onto the LineItem when the Product is added to a Cart. When false, the Attribute value is excluded from the Line Item variant. Line Items already in a Cart are not immediately affected by a change to this value. Existing Line Items are updated the next time their Product data is refreshed, such as when a Recalculate update action is performed with updateProductData set to true, or on a Cart update that triggers an API Extension. Replicating a Cart creates a new Cart that contains the current Product data; it does not update the original Cart.
When savedToLineItem is false, LineItem predicates that reference this Attribute, such as those in Cart Discounts and Shipping Methods, evaluate as if the Attribute is not set.
labelAllLocales​
Array of LocalizedString​

Human-readable label for the Attribute.

inputTipAllLocales​
Array of LocalizedString​

Provides additional Attribute information to aid content managers configure Product details.

AttributeDefinitionType

AttributeConstraint

None
No constraints are applied to the attribute
Unique
Attribute value should be different in each variant
CombinationUnique
A set of attributes, that have this constraint, should have different combinations in each variant
SameForAll
Attribute value should be the same in all variants

Level

Variant
The attribute can be used on the variant level
Product
The attribute can be used on the product level

ProductVariantDeleted

Generated after a successful Remove ProductVariant update action.
removedImageUrls​
Array of String​
List of image URLs that were removed with the Remove Product Variant update action.
variant​
Unique identifier of the Product Variant that was added.
staged​
Boolean​
Whether this message informs that only the staged ProductVariant has been removed by the update action. If false, both the current and staged ProductVariant have been removed.
type​
String​

ProductVariant

Represents a Product Variant embedded in a Product.
Only available for Projects with the ProductCatalogModel Classic. When the Project has the Modular catalog model, use the Variants API instead.
id​
Int​

A unique, sequential identifier of the Product Variant within the Product.

key​
String​

User-defined identifier of the ProductVariant. Unique among ProductVariants in the same Product.

This is different from Product key.
sku​
String​

User-defined SKU of the Product Variant. Unique across all ProductVariants in a Project.

prices​
Array of ProductPrice​
If the Product is projected by Store, this field only contains Embedded Prices that are valid for that Store.
Cannot contain two Embedded Prices with the same scopes (currency, country, Customer Group, Channel, validFrom and validUntil).
price​

Returns a single price based on the price selection rules.

allRecurrencePrices​
Array of ProductPrice​

Returns all recurrence prices based on the price selection rules.

images​
Array of Image​

Images of the Product Variant.

assets​
Array of Asset​

Media assets of the Product Variant.

availability​
Set if the Product Variant is tracked by Inventory. Can be used as an optimization to reduce calls to the Inventory service. May not contain the latest Inventory State (it is eventually consistent).
attributesRaw​

This field contains raw attributes data

ProductPrice

id​
String​
value​
key​
String​
country​
customerGroup​
customerGroupRef​
channel​
channelRef​
validFrom​
validUntil​
discounted​
tiers​
Array of ProductPriceTier​
custom​
recurrencePolicy​
recurrencePolicyRef​

DiscountedProductPriceValue

value​
discountRef​
discount​

ProductPriceTier

minimumQuantity​
Int​
value​

ProductVariantAvailabilityWithChannels

noChannel​
channels​

ProductVariantAvailability

Product variant availability

isOnStock​
Boolean​
Whether the Product Variant is in stock, based on an InventoryEntry that has no assigned supply Channel. This value reflects global or default availability; it does not aggregate the channel-specific availabilities found in the channels field.
restockableInDays​
Int​

Number of days to restock a Product Variant once it is out of stock.

availableQuantity​
Long​

Number of items of the Product Variant that are in stock.

version​
Long​
Current version of the InventoryEntry.
id​
String​
Unique identifier of the InventoryEntry.

ProductVariantAvailabilitiesResult

Product variant availabilities

limit​
Int​
offset​
Int​
total​
Int​
results​

ProductVariantAvailabilityWithChannel

channelRef​
channel​
availability​

RawProductAttribute

attributeDefinition​
name​
String​
value​
Json​
attributesRaw​
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
referencedResource​
referencedResourceSet​

AttributeDefinition

type​

Describes the Type of the Attribute.

name​
String​
User-defined name of the Attribute that is unique within the Project.
label​
String​

Human-readable label for the Attribute.

isRequired​
Boolean​
Whether the Attribute must have a value on a ProductVariant.
attributeConstraint​

Specifies how Attributes are validated across all variants of a Product.

Can be None, Unique, CombinationUnique, or SameForAll​
level​

Specifies whether the Attribute is defined at the Product or Variant level.

Can be Variant, or Product​
inputTip​
String​

Provides additional Attribute information to aid content managers configure Product details.

inputHint​
Provides a visual representation directive for values of this Attribute (only relevant for AttributeTextType and AttributeLocalizableTextType).
Can be SingleLine, or MultiLine​
isSearchable​
Boolean​
Whether the Attribute's values are available in the Product Search or the Product Projection Search API for use in full-text search queries, filters, and facets. However, if an Attribute's level is set as Product, then Product Projection Search does not support the Attribute. To use the Attribute in search, filters, or facets, set isSearchable to true for all AttributeDefinitions with the same name across different ProductTypes. If the isSearchable values are different, the Attribute isn't available for search, filters, or facets.
The exact features that are available with this flag depend on the specific AttributeType. The maximum size of a searchable field is restricted by the Field content size limit. This constraint is enforced at both Product creation and Product update. If the length of the input exceeds the maximum size, an InvalidField error is returned.
savedToLineItem​
Boolean​
Whether the Attribute value is copied onto the LineItem when the Product is added to a Cart. When false, the Attribute value is excluded from the Line Item variant. Line Items already in a Cart are not immediately affected by a change to this value. Existing Line Items are updated the next time their Product data is refreshed, such as when a Recalculate update action is performed with updateProductData set to true, or on a Cart update that triggers an API Extension. Replicating a Cart creates a new Cart that contains the current Product data; it does not update the original Cart.
When savedToLineItem is false, LineItem predicates that reference this Attribute, such as those in Cart Discounts and Shipping Methods, evaluate as if the Attribute is not set.
labelAllLocales​
Array of LocalizedString​

Human-readable label for the Attribute.

inputTipAllLocales​
Array of LocalizedString​

Provides additional Attribute information to aid content managers configure Product details.

AttributeDefinitionType

AttributeConstraint

None
No constraints are applied to the attribute
Unique
Attribute value should be different in each variant
CombinationUnique
A set of attributes, that have this constraint, should have different combinations in each variant
SameForAll
Attribute value should be the same in all variants

Level

Variant
The attribute can be used on the variant level
Product
The attribute can be used on the product level

ProductAddedToCategory

Generated after a successful Add to Category update action.
category​
Category the Product was added to.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
type​
String​

ReferenceId

typeId​
String​
id​
String​

ProductRemovedFromCategory

Generated after a successful Remove from Category update action.
category​
Category the Product was removed from.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
type​
String​

ReferenceId

typeId​
String​
id​
String​

ProductDeleted

Generated after a successful Delete Product request.
removedImageUrls​
Array of String​
List of image URLs that were removed during the Delete Product request.
currentProjection​
Current Product Projection of the deleted Product.
type​
String​

ProductProjectionMessagePayload

id​
String​
version​
Long​
createdAt​
lastModifiedAt​
productTypeRef​
productType​
name​
String​
nameAllLocales​
Array of LocalizedString​
description​
String​
descriptionAllLocales​
Array of LocalizedString​
slug​
String​
slugAllLocales​
Array of LocalizedString​
categoryOrderHints​
Array of CategoryOrderHint​
categoriesRef​
Array of Reference​
categories​
Array of Category​
searchKeywords​
Array of SearchKeywords​
metaTitle​
String​
metaTitleAllLocales​
Array of LocalizedString​
metaKeywords​
String​
metaKeywordsAllLocales​
Array of LocalizedString​
metaDescription​
String​
metaDescriptionAllLocales​
Array of LocalizedString​
hasStagedChanges​
Boolean​
published​
Boolean​
masterVariant​
variants​
Array of ProductVariant​
attributes​
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
taxCategoryRef​
taxCategory​
stateRef​
state​
reviewRatingStatistics​

CategoryOrderHint

categoryId​
String​
orderHint​
String​

SearchKeywords

locale​
searchKeywords​
Array of SearchKeyword​

SearchKeyword

text​
String​
Text to return in the SuggestionResult.
suggestTokenizer​
If no tokenizer is defined, the text is used as a single token.

SuggestTokenizer

type​
String​

ProductVariant

Represents a Product Variant embedded in a Product.
Only available for Projects with the ProductCatalogModel Classic. When the Project has the Modular catalog model, use the Variants API instead.
id​
Int​

A unique, sequential identifier of the Product Variant within the Product.

key​
String​

User-defined identifier of the ProductVariant. Unique among ProductVariants in the same Product.

This is different from Product key.
sku​
String​

User-defined SKU of the Product Variant. Unique across all ProductVariants in a Project.

prices​
Array of ProductPrice​
If the Product is projected by Store, this field only contains Embedded Prices that are valid for that Store.
Cannot contain two Embedded Prices with the same scopes (currency, country, Customer Group, Channel, validFrom and validUntil).
price​

Returns a single price based on the price selection rules.

allRecurrencePrices​
Array of ProductPrice​

Returns all recurrence prices based on the price selection rules.

images​
Array of Image​

Images of the Product Variant.

assets​
Array of Asset​

Media assets of the Product Variant.

availability​
Set if the Product Variant is tracked by Inventory. Can be used as an optimization to reduce calls to the Inventory service. May not contain the latest Inventory State (it is eventually consistent).
attributesRaw​

This field contains raw attributes data

ProductPrice

id​
String​
value​
key​
String​
country​
customerGroup​
customerGroupRef​
channel​
channelRef​
validFrom​
validUntil​
discounted​
tiers​
Array of ProductPriceTier​
custom​
recurrencePolicy​
recurrencePolicyRef​

DiscountedProductPriceValue

value​
discountRef​
discount​

ProductPriceTier

minimumQuantity​
Int​
value​

ProductVariantAvailabilityWithChannels

noChannel​
channels​

ProductVariantAvailability

Product variant availability

isOnStock​
Boolean​
Whether the Product Variant is in stock, based on an InventoryEntry that has no assigned supply Channel. This value reflects global or default availability; it does not aggregate the channel-specific availabilities found in the channels field.
restockableInDays​
Int​

Number of days to restock a Product Variant once it is out of stock.

availableQuantity​
Long​

Number of items of the Product Variant that are in stock.

version​
Long​
Current version of the InventoryEntry.
id​
String​
Unique identifier of the InventoryEntry.

ProductVariantAvailabilitiesResult

Product variant availabilities

limit​
Int​
offset​
Int​
total​
Int​
results​

ProductVariantAvailabilityWithChannel

channelRef​
channel​
availability​

RawProductAttribute

attributeDefinition​
name​
String​
value​
Json​
attributesRaw​
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
referencedResource​
referencedResourceSet​

AttributeDefinition

type​

Describes the Type of the Attribute.

name​
String​
User-defined name of the Attribute that is unique within the Project.
label​
String​

Human-readable label for the Attribute.

isRequired​
Boolean​
Whether the Attribute must have a value on a ProductVariant.
attributeConstraint​

Specifies how Attributes are validated across all variants of a Product.

Can be None, Unique, CombinationUnique, or SameForAll​
level​

Specifies whether the Attribute is defined at the Product or Variant level.

Can be Variant, or Product​
inputTip​
String​

Provides additional Attribute information to aid content managers configure Product details.

inputHint​
Provides a visual representation directive for values of this Attribute (only relevant for AttributeTextType and AttributeLocalizableTextType).
Can be SingleLine, or MultiLine​
isSearchable​
Boolean​
Whether the Attribute's values are available in the Product Search or the Product Projection Search API for use in full-text search queries, filters, and facets. However, if an Attribute's level is set as Product, then Product Projection Search does not support the Attribute. To use the Attribute in search, filters, or facets, set isSearchable to true for all AttributeDefinitions with the same name across different ProductTypes. If the isSearchable values are different, the Attribute isn't available for search, filters, or facets.
The exact features that are available with this flag depend on the specific AttributeType. The maximum size of a searchable field is restricted by the Field content size limit. This constraint is enforced at both Product creation and Product update. If the length of the input exceeds the maximum size, an InvalidField error is returned.
savedToLineItem​
Boolean​
Whether the Attribute value is copied onto the LineItem when the Product is added to a Cart. When false, the Attribute value is excluded from the Line Item variant. Line Items already in a Cart are not immediately affected by a change to this value. Existing Line Items are updated the next time their Product data is refreshed, such as when a Recalculate update action is performed with updateProductData set to true, or on a Cart update that triggers an API Extension. Replicating a Cart creates a new Cart that contains the current Product data; it does not update the original Cart.
When savedToLineItem is false, LineItem predicates that reference this Attribute, such as those in Cart Discounts and Shipping Methods, evaluate as if the Attribute is not set.
labelAllLocales​
Array of LocalizedString​

Human-readable label for the Attribute.

inputTipAllLocales​
Array of LocalizedString​

Provides additional Attribute information to aid content managers configure Product details.

AttributeDefinitionType

AttributeConstraint

None
No constraints are applied to the attribute
Unique
Attribute value should be different in each variant
CombinationUnique
A set of attributes, that have this constraint, should have different combinations in each variant
SameForAll
Attribute value should be the same in all variants

Level

Variant
The attribute can be used on the variant level
Product
The attribute can be used on the product level

ReviewRatingStatistics

averageRating​
Float​

Average rating of one target This number is rounded with 5 decimals.

highestRating​
Int​

Highest rating of one target

lowestRating​
Int​

Lowest rating of one target

count​
Long​

Number of ratings taken into account

ratingsDistribution​
Json​

Full distribution of the ratings. The keys are the different ratings and the values are the count of reviews having this rating. Only the used ratings appear in this object.

ProductPriceCustomFieldAdded

Generated after adding a Custom Field to a Price using the Set Price CustomField update action.
priceId​
String​
Unique identifier of the Price to which the Custom Field was added.
variantId​
Int​
Unique identifier of the ProductVariant to which the Price belongs.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
name​
String​

Name of the Custom Field that was added.

value​
Json​
The added CustomFieldValue based on the FieldType.
type​
String​

ProductPriceCustomFieldChanged

Generated after changing an existing Custom Field on a Price using the Set Price CustomField update action.
priceId​
String​
Unique identifier of the Price of which the Custom Field was changed.
variantId​
Int​
Unique identifier of the ProductVariant to which the Price belongs.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
name​
String​

Name of the Custom Field that was changed.

value​
Json​
CustomFieldValue based on the FieldType after the Set Price CustomField update action.
type​
String​

ProductPriceCustomFieldRemoved

Generated after removing a Custom Field from a Price using the Set Price CustomField update action.
priceId​
String​
Unique identifier of the Price from which the Custom Field was removed.
variantId​
Int​
Unique identifier of the ProductVariant to which the Price belongs.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
name​
String​

Name of the Custom Field that was removed.

type​
String​

ProductPriceCustomFieldsSet

Generated after a successful Set Price Custom Type update action.
priceId​
String​
Unique identifier of the Price on which the Custom Type was set.
variantId​
Int​
Unique identifier of the ProductVariant to which the Price belongs.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
customField​

Custom Fields that were set.

oldTypeId​
String​
id of the previous Custom Type. Absent if there was no previous Custom Type present.
type​
String​

ProductPriceCustomFieldsRemoved

Generated after removing a Custom Type from a Price using the Set Price Custom Type update action.
priceId​
String​
Unique identifier of the Price from which the Custom Type was removed.
variantId​
Int​
Unique identifier of the ProductVariant to which the Price belongs.
staged​
Boolean​
Whether the update was only applied to the staged Product Projection.
type​
String​

Product Selection Messages

ProductSelectionCreated

Generated after a successful Create Product Selection request.
productSelection​
Product Selection that was created.
type​
String​

ProductSelectionProductAdded

Generated after a successful Add Product update action.
variantSelection​
Product Variant Selection after the Add Product update action.
product​
Product that was added to the Product Selection.
productRef​
Product that was added to the Product Selection.
type​
String​

ProductVariantSelection

type​
String​
skus​
Array of String​

ProductSelectionProductExcluded

Generated after a successful Exclude Product update action.
variantExclusion​
Product Variant Exclusion after the Exclude Product update action.
product​
Product that was excluded from the Product Selection.
productRef​
Product that was excluded from the Product Selection.
type​
String​

ProductVariantExclusion

Defines the Product Variants that are excluded from a Product Selection with IndividualExclusion ProductSelectionMode. Product Variants not listed remain available in the Product Selection.
skus​
Array of String​
Non-empty array of SKUs representing Product Variants to be excluded from the Product Selection with IndividualExclusion ProductSelectionMode.

ProductSelectionProductRemoved

Generated after a successful Remove Product update action.
product​
Product that was removed from the Product Selection.
productRef​
Product that was removed from the Product Selection.
type​
String​

ProductSelectionVariantSelectionChanged

Generated after a successful Set Variant Selection update action.
oldVariantSelection​
Product Variant Selection before the Set Variant Selection update action.
newVariantSelection​
Product Variant Selection after the Set Variant Selection update action.
product​
Product for which the Product Variant Selection changed.
productRef​
Product for which the Product Variant Selection changed.
type​
String​

ProductVariantSelection

type​
String​
skus​
Array of String​

ProductSelectionVariantExclusionChanged

Generated after a successful Set Variant Exclusion update action.
oldVariantExclusion​
Product Variant Exclusion before the Set Variant Exclusion update action.
newVariantExclusion​
Product Variant Exclusion after the Set Variant Exclusion update action.
product​
Product for which the Product Variant Exclusion changed.
productRef​
Product for which the Product Variant Exclusion changed.
type​
String​

ProductVariantExclusion

Defines the Product Variants that are excluded from a Product Selection with IndividualExclusion ProductSelectionMode. Product Variants not listed remain available in the Product Selection.
skus​
Array of String​
Non-empty array of SKUs representing Product Variants to be excluded from the Product Selection with IndividualExclusion ProductSelectionMode.

ProductSelectionDeleted

Generated after a successful Delete Product Selection request.
type​
String​

Product Tailoring Messages

ProductTailoringCreated

The publish and attributesRaw fields correspond to the published and attributes fields in REST.
Generated after a successful Create Product Tailoring or Create Product Tailoring in Store request.
type​
String​
storeRef​

The Store to which the Product Tailoring belongs.

productRef​

Reference to the Product the Product Tailoring belongs to.

key​
String​

User-defined unique identifier of the Product Tailoring.

productKey​
String​

User-defined unique identifier of the Product this Product Tailoring belongs to.

publish​
Boolean​
name​
String​
The name of the Product Tailoring at the time of creation.
nameAllLocales​
Array of LocalizedString​
The name of the Product Tailoring at the time of creation.
description​
String​
The description of the Product Tailoring at the time of creation.
descriptionAllLocales​
Array of LocalizedString​
The description of the Product Tailoring at the time of creation.
slug​
String​
The slug of the Product Tailoring at the time of creation.
slugAllLocales​
Array of LocalizedString​
The slug of the Product Tailoring at the time of creation.
metaTitle​
String​
The metaTitle of the Product Tailoring at the time of creation.
metaTitleAllLocales​
Array of LocalizedString​
The metaTitle of the Product Tailoring at the time of creation.
metaDescription​
String​
The metaDescription of the Product Tailoring at the time of creation.
metaDescriptionAllLocales​
Array of LocalizedString​
The metaDescription of the Product Tailoring at the time of creation.
metaKeywords​
String​
The metaKeywords of the Product Tailoring at the time of creation.
metaKeywordsAllLocales​
Array of LocalizedString​
The metaKeywords of the Product Tailoring at the time of creation.
variants​
The variants of the Product Tailoring at the time of creation.
attributesRaw​
Attributes of the tailored Product. If available, these Attributes are selectively merged into the attributes of the corresponding Product. If the Product contains an Attribute with the same name, then its value is overwritten. Otherwise, the Attribute and its value are added to the Product.

ProductVariantTailoring

The tailoring of a ProductVariant or Variant.
id​
Int​
The id of the tailored ProductVariant or Variant.
images​
Array of Image​
Images of the tailored Product Variant. If present, these images will override the images of the corresponding ProductVariant or Variant in total.
assets​
Array of Asset​
Media assets of the tailored Product Variant. If present, these assets will override the assets of the corresponding ProductVariant or Variant in total.
attributesRaw​
Attributes of the tailored Product Variant. If present, these Attributes are selectively merged into the attributes of the corresponding ProductVariant or Variant:
  • If the ProductVariant or Variant contains an Attribute with the same name, its value is overwritten. Otherwise, the Attribute and its value are added to the ProductVariant or Variant.

RawProductAttribute

attributeDefinition​
name​
String​
value​
Json​
attributesRaw​
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
referencedResource​
referencedResourceSet​

AttributeDefinition

type​

Describes the Type of the Attribute.

name​
String​
User-defined name of the Attribute that is unique within the Project.
label​
String​

Human-readable label for the Attribute.

isRequired​
Boolean​
Whether the Attribute must have a value on a ProductVariant.
attributeConstraint​

Specifies how Attributes are validated across all variants of a Product.

Can be None, Unique, CombinationUnique, or SameForAll​
level​

Specifies whether the Attribute is defined at the Product or Variant level.

Can be Variant, or Product​
inputTip​
String​

Provides additional Attribute information to aid content managers configure Product details.

inputHint​
Provides a visual representation directive for values of this Attribute (only relevant for AttributeTextType and AttributeLocalizableTextType).
Can be SingleLine, or MultiLine​
isSearchable​
Boolean​
Whether the Attribute's values are available in the Product Search or the Product Projection Search API for use in full-text search queries, filters, and facets. However, if an Attribute's level is set as Product, then Product Projection Search does not support the Attribute. To use the Attribute in search, filters, or facets, set isSearchable to true for all AttributeDefinitions with the same name across different ProductTypes. If the isSearchable values are different, the Attribute isn't available for search, filters, or facets.
The exact features that are available with this flag depend on the specific AttributeType. The maximum size of a searchable field is restricted by the Field content size limit. This constraint is enforced at both Product creation and Product update. If the length of the input exceeds the maximum size, an InvalidField error is returned.
savedToLineItem​
Boolean​
Whether the Attribute value is copied onto the LineItem when the Product is added to a Cart. When false, the Attribute value is excluded from the Line Item variant. Line Items already in a Cart are not immediately affected by a change to this value. Existing Line Items are updated the next time their Product data is refreshed, such as when a Recalculate update action is performed with updateProductData set to true, or on a Cart update that triggers an API Extension. Replicating a Cart creates a new Cart that contains the current Product data; it does not update the original Cart.
When savedToLineItem is false, LineItem predicates that reference this Attribute, such as those in Cart Discounts and Shipping Methods, evaluate as if the Attribute is not set.
labelAllLocales​
Array of LocalizedString​

Human-readable label for the Attribute.

inputTipAllLocales​
Array of LocalizedString​

Provides additional Attribute information to aid content managers configure Product details.

AttributeDefinitionType

AttributeConstraint

None
No constraints are applied to the attribute
Unique
Attribute value should be different in each variant
CombinationUnique
A set of attributes, that have this constraint, should have different combinations in each variant
SameForAll
Attribute value should be the same in all variants

Level

Variant
The attribute can be used on the variant level
Product
The attribute can be used on the product level

ProductTailoringDeleted

storeRef​

The Store to which the Product Tailoring belongs.

productRef​

Reference to the Product the Product Tailoring belongs to.

productKey​
String​

User-defined unique identifier of the Product this Product Tailoring belongs to.

type​
String​

ProductTailoringNameSet

Generated after a successful Product Tailoring Set Name update action.
storeRef​

The Store to which the Product Tailoring belongs.

productRef​

Reference to the Product the Product Tailoring belongs to.

productKey​
String​

User-defined unique identifier of the Product this Product Tailoring belongs to.

name​
String​
The name of the Product Tailoring after the Set Name update action.
oldName​
String​
The name of the ProductTailoring before the Set Name update action.
nameAllLocales​
Array of LocalizedString​
The name of the Product Tailoring after the Set Name update action.
oldNameAllLocales​
Array of LocalizedString​
The name of the ProductTailoring before the Set Name update action.
type​
String​

ProductTailoringDescriptionSet

Generated after a successful Product Tailoring Set Description update action.
storeRef​

The Store to which the Product Tailoring belongs.

productRef​

Reference to the Product the Product Tailoring belongs to.

productKey​
String​

User-defined unique identifier of the Product this Product Tailoring belongs to.

description​
String​
The description of the Product Tailoring after the Set Description update action.
oldDescription​
String​
The description of the ProductTailoring before the Set Description update action.
descriptionAllLocales​
Array of LocalizedString​
The description of the Product Tailoring after the Set Description update action.
oldDescriptionAllLocales​
Array of LocalizedString​
The description of the ProductTailoring before the Set Description update action.
type​
String​

ProductTailoringKeySet

Generated after a successful Product Tailoring Set Key update action.
key​
String​
key value of the ProductTailoring after the Set Key update action.
oldKey​
String​
key value of the ProductTailoring before the Set Key update action.
storeRef​

The Store to which the Product Tailoring belongs.

productRef​

Reference to the Product the Product Tailoring belongs to.

productKey​
String​

User-defined unique identifier of the Product this Product Tailoring belongs to.

type​
String​

ProductTailoringSlugSet

Generated after a successful Product Tailoring Set Slug update action.
storeRef​

The Store to which the Product Tailoring belongs.

productRef​

Reference to the Product the Product Tailoring belongs to.

productKey​
String​

User-defined unique identifier of the Product this Product Tailoring belongs to.

slug​
String​
The slug of the Product Tailoring after the Set Slug update action.
oldSlug​
String​
The slug of the ProductTailoring before the Set Slug update action.
slugAllLocales​
Array of LocalizedString​
The slug of the Product Tailoring after the Set Slug update action.
oldSlugAllLocales​
Array of LocalizedString​
The slug of the ProductTailoring before the Set Slug update action.
type​
String​

ProductTailoringPublished

Generated after a successful Product Tailoring Publish update action.
storeRef​

The Store to which the Product Tailoring belongs.

productRef​

Reference to the Product the Product Tailoring belongs to.

productKey​
String​

User-defined unique identifier of the Product this Product Tailoring belongs to.

type​
String​

ProductTailoringUnpublished

Generated after a successful Product Tailoring Unpublish update action.
storeRef​

The Store to which the Product Tailoring belongs.

productRef​

Reference to the Product the Product Tailoring belongs to.

productKey​
String​

User-defined unique identifier of the Product this Product Tailoring belongs to.

type​
String​

ProductVariantTailoringAdded

Generated after a successful Add ProductVariant Tailoring update action.
variantId​
Int​
id of the ProductVariant added to the Tailoring.
storeRef​

The Store to which the Product Tailoring belongs.

productRef​

Reference to the tailored Product.

productKey​
String​
key of the tailored Product.
variant​
The ProductVariantTailoring that was added to the ProductTailoring.
type​
String​

VariantTailoring

images​
Array of Image​
assets​
Array of Asset​

ProductVariantTailoringRemoved

Generated after a successful Remove ProductVariant Tailoring update action.
variantId​
Int​
id of the ProductVariant removed from the Tailoring.
storeRef​

The Store to which the Product Tailoring belongs.

productRef​

Reference to the Product the Product Tailoring belongs to.

productKey​
String​
key of the tailored Product.
variant​
The ProductVariantTailoring that was removed from the ProductTailoring.
type​
String​

VariantTailoring

images​
Array of Image​
assets​
Array of Asset​

ProductTailoringImageAdded

Generated after a successful Add External Image update action or after a successful Upload Product Tailoring image request.
variantId​
Int​
id of the tailored ProductVariant.
storeRef​

The Store to which the Product Tailoring belongs.

productRef​

Reference to the tailored Product.

productKey​
String​
key of the tailored Product.
image​
Image that was added.
type​
String​

ProductTailoringImagesSet

Generated after a successful Set Images update action.
variantId​
Int​
id of the tailored Product Variant.
storeRef​

The Store to which the Product Tailoring belongs.

productRef​

Reference to the Product the Product Tailoring belongs to.

productKey​
String​
key of the tailored Product.
oldImages​
Array of Image​
Images on the tailored Product Variant before the Set Images update action.
images​
Array of Image​
Images on the tailored Product Variant after the Set Images update action.
type​
String​

Variant Messages

VariantCreated

The attributesRaw field corresponds to the attributes field of the Message in REST.
Generated after a successful Create Variant request.
id​
String​

Unique identifier of the Variant.

variantId​
Int​

Unique identifier of the Variant within its parent Product.

key​
String​

User-defined unique identifier of the Variant.

sku​
String​

SKU of the Variant.

publish​
Boolean​

Whether the Variant was published.

images​
Array of Image​

Images of the Variant.

assets​
Array of Asset​

Assets of the Variant.

attributesRaw​
Array of RawAttribute​

Attributes of the Variant.

productRef​

Reference to the Product containing the Variant.

type​
String​

RawAttribute

name​
String​
value​
Json​
attributesRaw​
Array of RawAttribute​
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
referencedResource​
referencedResourceSet​

VariantDeleted

Generated after a successful Delete Variant request.
productRef​

Reference to the Product containing the Variant.

type​
String​

VariantImageAdded

Generated after a successful Add External Image update action.
image​
Image that was added.
staged​
Boolean​

Whether the update was only applied to the staged Variant.

productRef​

Reference to the Product containing the Variant.

type​
String​

VariantImagesSet

Generated after a successful Set Images update action.
staged​
Boolean​

Whether the update was only applied to the staged Variant.

images​
Array of Image​

The images that were set on the Variant.

oldImages​
Array of Image​

The previous images of the Variant.

productRef​

Reference to the Product containing the Variant.

type​
String​

VariantKeySet

Generated after a successful Set Key update action.
key​
String​

The key that was set on the Variant.

oldKey​
String​

The previous key of the Variant.

productRef​

Reference to the Product containing the Variant.

type​
String​

VariantPublished

Generated after a successful Publish update action.
productRef​

Reference to the Product containing the Variant.

type​
String​

VariantSkuSet

Generated after a successful Set SKU update action.
sku​
String​

The SKU that was set on the Variant.

oldSku​
String​

The previous SKU of the Variant.

staged​
Boolean​

Whether the update was only applied to the staged Variant.

productRef​

Reference to the Product containing the Variant.

type​
String​

VariantStagedChangesRemoved

Generated after a successful Staged Changes Removed update action.
productRef​

Reference to the Product containing the Variant.

type​
String​

VariantUnpublished

Generated after a successful Unpublish update action.
productRef​

Reference to the Product containing the Variant.

type​
String​

Category Messages

CategoryCreated

Generated after a successful Create Category request.
category​
Category that was created.
type​
String​

CategorySlugChanged

Generated after a successful Change Slug update action.
slug​
String​
The slug of the Category after the Change Slug update action.
oldSlug​
String​
The slug of the Category before the Change Slug update action.
slugAllLocales​
Array of LocalizedString​
The slug of the Category after the Change Slug update action.
oldSlugAllLocales​
Array of LocalizedString​
The slug of the Category before the Change Slug update action.
type​
String​

Inventory Entry Messages

InventoryEntryCreated

Generated after a successful Create InventoryEntry request.
inventoryEntry​
InventoryEntry that was created.
type​
String​

InventoryEntryDeleted

Generated after a successful Delete InventoryEntry request.
sku​
String​
The sku of the InventoryEntry that was deleted.
supplyChannel​
Reference to the Channel where the InventoryEntry was deleted.
supplyChannelRef​
Reference to the Channel where the InventoryEntry was deleted.
type​
String​

InventoryEntryQuantitySet

Generated after a successful Add Quantity, Remove Quantity or Change Quantity update action. Inventory changes as a result of Order creation do not trigger this message.
oldQuantityOnStock​
Long​
Quantity on stock for the InventoryEntry before the quantity was updated.
newQuantityOnStock​
Long​
Quantity on stock for the InventoryEntry after the quantity was updated.
oldAvailableQuantity​
Long​
Available quantity for the InventoryEntry before the quantity was updated.
newAvailableQuantity​
Long​
Available quantity for the InventoryEntry after the quantity was updated.
sku​
String​
SKU of the InventoryEntry for which the quantity was updated.
supplyChannel​
Reference to the Channel where the InventoryEntry quantity was set.
supplyChannelRef​
Reference to the Channel where the InventoryEntry quantity was set.
type​
String​

InventoryEntryReservationExpirationInMinutesSet

BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
oldReservationExpirationInMinutes​
Int​
reservationExpirationInMinutes value of the Inventory Entry before the Set Reservation Expiration In Minutes update action.
newReservationExpirationInMinutes​
Int​
reservationExpirationInMinutes value of the Inventory Entry after the Set Reservation Expiration In Minutes update action.
type​
String​

InventoryEntryOutOfStock

BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
sku​
String​
The sku of the InventoryEntry whose quantityOnStock went to 0.
supplyChannel​
Reference to the Channel where the InventoryEntry quantity on stock went to 0.
supplyChannelRef​
Reference to the Channel where the InventoryEntry quantity on stock went to 0.
type​
String​

InventoryEntryReorderPoint

BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
sku​
String​
The sku of the InventoryEntry whose quantityOnStock reached the configured reorder point level.
quantityOnStock​
Int​
The quantityOnStock of the InventoryEntry at the time the reorder point level was reached.
supplyChannel​
Reference to the Channel where the InventoryEntry quantityOnStock reached the configured reorder point level.
supplyChannelRef​
Reference to the Channel where the InventoryEntry quantityOnStock reached the configured reorder point level.
type​
String​

InventoryEntrySafetyStock

BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
sku​
String​
The sku of the InventoryEntry whose quantityOnStock reached the configured safety stock level.
quantityOnStock​
Int​
The quantityOnStock of the InventoryEntry at the time the safety stock level was reached.
supplyChannel​
Reference to the Channel where the InventoryEntry quantityOnStock reached the configured safety stock level.
supplyChannelRef​
Reference to the Channel where the InventoryEntry quantityOnStock reached the configured safety stock level.
type​
String​

Review Messages

ReviewCreated

Generated after a successful Create Review request.
review​
Review that was created.
type​
String​

ReviewStateTransition

Generated after a successful Transition State update action.
oldIncludedInStatistics​
Boolean​
Whether the old Review was taken into account in the rating statistics of the target before the state transition.
newIncludedInStatistics​
Boolean​
Whether the new Review was taken into account in the rating statistics of the target after the state transition.
force​
Boolean​
Whether State transition validations were turned off during the Transition State update action.
target​
Reference to the resource that the Review belongs to.
oldState​
State of the Review before the Transition State update action.
newState​
State of the Review after the Transition State update action.
targetRef​
Reference to the resource that the Review belongs to.
oldStateRef​
State of the Review before the Transition State update action.
newStateRef​
State of the Review after the Transition State update action.
type​
String​

ReviewTarget

id​
String​

ReviewRatingSet

Generated after a successful Set Rating update action.
oldRating​
Int​
The rating of the Review before the Set Rating update action.
newRating​
Int​
The rating of the Review after the Set Rating update action.
includedInStatistics​
Boolean​
Whether the Review was taken into account in the ratings statistics of the target.
target​
Reference to the resource that the Review belongs to.
targetRef​
Reference to the resource that the Review belongs to.
type​
String​

ReviewTarget

id​
String​