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.
payload field of a Message. For when each Message is generated, see Product Catalog Messages.Product Messages
ProductCreated
productProjection | The staged Product Projection of the Product at the time of creation. |
typeString |
ProductProjectionMessagePayload
idString | |
versionLong | |
createdAt | |
lastModifiedAt | |
productTypeRef | |
productType | |
nameString | |
nameAllLocalesArray of LocalizedString | |
descriptionString | |
descriptionAllLocalesArray of LocalizedString | |
slugString | |
slugAllLocalesArray of LocalizedString | |
categoryOrderHintsArray of CategoryOrderHint | |
categoriesRefArray of Reference | |
categoriesArray of Category | |
searchKeywordsArray of SearchKeywords | |
metaTitleString | |
metaTitleAllLocalesArray of LocalizedString | |
metaKeywordsString | |
metaKeywordsAllLocalesArray of LocalizedString | |
metaDescriptionString | |
metaDescriptionAllLocalesArray of LocalizedString | |
hasStagedChangesBoolean | |
publishedBoolean | |
masterVariant | |
variantsArray of ProductVariant | |
attributesArray of RawProductAttribute | 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
categoryIdString | |
orderHintString |
SearchKeywords
locale | |
searchKeywordsArray of SearchKeyword |
SearchKeyword
textString | Text to return in the SuggestionResult. |
suggestTokenizer | If no tokenizer is defined, the text is used as a single token. |
SuggestTokenizer
typeString |
ProductVariant
Classic.
When the Project has the Modular catalog model, use the Variants API instead.idInt | A unique, sequential identifier of the Product Variant within the Product. |
keyString | User-defined identifier of the ProductVariant. Unique among ProductVariants in the same Product. This is different from Product key. |
skuString | User-defined SKU of the Product Variant. Unique across all ProductVariants in a Project. |
pricesArray 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. |
allRecurrencePricesArray of ProductPrice | Returns all recurrence prices based on the price selection rules. |
imagesArray of Image | Images of the Product Variant. |
assetsArray 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). |
attributesRawArray of RawProductAttribute | This field contains raw attributes data |
ProductPrice
idString | |
value | |
keyString | |
country | |
customerGroup | |
customerGroupRef | |
channel | |
channelRef | |
validFrom | |
validUntil | |
discounted | |
tiersArray of ProductPriceTier | |
custom | |
recurrencePolicy | |
recurrencePolicyRef |
DiscountedProductPriceValue
value | |
discountRef | |
discount |
ProductPriceTier
minimumQuantityInt | |
value |
ProductVariantAvailabilityWithChannels
noChannel | |
channels |
ProductVariantAvailability
Product variant availability
isOnStockBoolean | 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. |
restockableInDaysInt | Number of days to restock a Product Variant once it is out of stock. |
availableQuantityLong | Number of items of the Product Variant that are in stock. |
versionLong | Current version of the InventoryEntry. |
idString | Unique identifier of the InventoryEntry. |
ProductVariantAvailabilitiesResult
Product variant availabilities
limitInt | |
offsetInt | |
totalInt | |
resultsArray of ProductVariantAvailabilityWithChannel |
ProductVariantAvailabilityWithChannel
channelRef | |
channel | |
availability |
RawProductAttribute
attributeDefinition | |
nameString | |
valueJson | |
attributesRawArray of RawProductAttribute | BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta |
referencedResource | |
referencedResourceSetArray of ReferenceExpandable |
AttributeDefinition
type | Describes the Type of the Attribute. |
nameString | User-defined name of the Attribute that is unique within the Project. |
labelString | Human-readable label for the Attribute. |
isRequiredBoolean | Whether the Attribute must have a value on a ProductVariant. |
attributeConstraint | Specifies how Attributes are validated across all variants of a Product. Can beNone, Unique, CombinationUnique, or SameForAll |
level | Specifies whether the Attribute is defined at the Product or Variant level. Can beVariant, or Product |
inputTipString | 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 |
isSearchableBoolean | 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. |
savedToLineItemBoolean | 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. |
labelAllLocalesArray of LocalizedString | Human-readable label for the Attribute. |
inputTipAllLocalesArray 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
averageRatingFloat | Average rating of one target This number is rounded with 5 decimals. |
highestRatingInt | Highest rating of one target |
lowestRatingInt | Lowest rating of one target |
countLong | Number of ratings taken into account |
ratingsDistributionJson | 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
productProjection | Current Product Projection of the Product at the time of creation. |
removedImageUrlsArray 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 |
typeString |
ProductProjectionMessagePayload
idString | |
versionLong | |
createdAt | |
lastModifiedAt | |
productTypeRef | |
productType | |
nameString | |
nameAllLocalesArray of LocalizedString | |
descriptionString | |
descriptionAllLocalesArray of LocalizedString | |
slugString | |
slugAllLocalesArray of LocalizedString | |
categoryOrderHintsArray of CategoryOrderHint | |
categoriesRefArray of Reference | |
categoriesArray of Category | |
searchKeywordsArray of SearchKeywords | |
metaTitleString | |
metaTitleAllLocalesArray of LocalizedString | |
metaKeywordsString | |
metaKeywordsAllLocalesArray of LocalizedString | |
metaDescriptionString | |
metaDescriptionAllLocalesArray of LocalizedString | |
hasStagedChangesBoolean | |
publishedBoolean | |
masterVariant | |
variantsArray of ProductVariant | |
attributesArray of RawProductAttribute | 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
categoryIdString | |
orderHintString |
SearchKeywords
locale | |
searchKeywordsArray of SearchKeyword |
SearchKeyword
textString | Text to return in the SuggestionResult. |
suggestTokenizer | If no tokenizer is defined, the text is used as a single token. |
SuggestTokenizer
typeString |
ProductVariant
Classic.
When the Project has the Modular catalog model, use the Variants API instead.idInt | A unique, sequential identifier of the Product Variant within the Product. |
keyString | User-defined identifier of the ProductVariant. Unique among ProductVariants in the same Product. This is different from Product key. |
skuString | User-defined SKU of the Product Variant. Unique across all ProductVariants in a Project. |
pricesArray 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. |
allRecurrencePricesArray of ProductPrice | Returns all recurrence prices based on the price selection rules. |
imagesArray of Image | Images of the Product Variant. |
assetsArray 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). |
attributesRawArray of RawProductAttribute | This field contains raw attributes data |
ProductPrice
idString | |
value | |
keyString | |
country | |
customerGroup | |
customerGroupRef | |
channel | |
channelRef | |
validFrom | |
validUntil | |
discounted | |
tiersArray of ProductPriceTier | |
custom | |
recurrencePolicy | |
recurrencePolicyRef |
DiscountedProductPriceValue
value | |
discountRef | |
discount |
ProductPriceTier
minimumQuantityInt | |
value |
ProductVariantAvailabilityWithChannels
noChannel | |
channels |
ProductVariantAvailability
Product variant availability
isOnStockBoolean | 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. |
restockableInDaysInt | Number of days to restock a Product Variant once it is out of stock. |
availableQuantityLong | Number of items of the Product Variant that are in stock. |
versionLong | Current version of the InventoryEntry. |
idString | Unique identifier of the InventoryEntry. |
ProductVariantAvailabilitiesResult
Product variant availabilities
limitInt | |
offsetInt | |
totalInt | |
resultsArray of ProductVariantAvailabilityWithChannel |
ProductVariantAvailabilityWithChannel
channelRef | |
channel | |
availability |
RawProductAttribute
attributeDefinition | |
nameString | |
valueJson | |
attributesRawArray of RawProductAttribute | BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta |
referencedResource | |
referencedResourceSetArray of ReferenceExpandable |
AttributeDefinition
type | Describes the Type of the Attribute. |
nameString | User-defined name of the Attribute that is unique within the Project. |
labelString | Human-readable label for the Attribute. |
isRequiredBoolean | Whether the Attribute must have a value on a ProductVariant. |
attributeConstraint | Specifies how Attributes are validated across all variants of a Product. Can beNone, Unique, CombinationUnique, or SameForAll |
level | Specifies whether the Attribute is defined at the Product or Variant level. Can beVariant, or Product |
inputTipString | 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 |
isSearchableBoolean | 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. |
savedToLineItemBoolean | 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. |
labelAllLocalesArray of LocalizedString | Human-readable label for the Attribute. |
inputTipAllLocalesArray 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
averageRatingFloat | Average rating of one target This number is rounded with 5 decimals. |
highestRatingInt | Highest rating of one target |
lowestRatingInt | Lowest rating of one target |
countLong | Number of ratings taken into account |
ratingsDistributionJson | 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
typeString |
ProductStateTransition
forceBoolean | 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. |
typeString |
ProductSlugChanged
slugString | The slug of the Product after the Change Slug update action. |
oldSlugString | The slug of the Product before the Change Slug update action. |
slugAllLocalesArray of LocalizedString | The slug of the Product after the Change Slug update action. |
oldSlugAllLocalesArray of LocalizedString | The slug of the Product before the Change Slug update action. |
typeString |
ProductImageAdded
variantIdInt | Unique identifier of the Product Variant to which the Image was added. |
image | Image that was added. |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
typeString |
ProductRevertedStagedChanges
removedImageUrlsArray of String | List of image URLs that were removed during the Revert Staged Changes update action. |
typeString |
ProductPriceKeySet
variantIdInt | |
priceIdString | Unique identifier of the Price. |
oldKeyString | |
keyString | |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
typeString |
ProductPriceDiscountsSet
updatedPricesArray of ProductPriceDiscountUpdateMessagePayload | Array containing details about the Embedded Prices that were updated. |
typeString |
ProductPriceDiscountUpdateMessagePayload
variantIdInt | |
variantKeyString | |
skuString | |
priceIdString | |
discounted | |
stagedBoolean |
DiscountedProductPriceValue
value | |
discountRef | |
discount |
ProductPriceExternalDiscountSet
variantIdInt | Unique identifier of the Product Variant for which the Discount was set. |
variantKeyString | Key of the Product Variant for which the Discount was set. |
skuString | SKU of the Product Variant for which Discount was set. |
priceIdString | Unique identifier of the Price. |
discounted | Discounted Price for the Product Variant for which Discount was set. |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
typeString |
DiscountedProductPriceValue
value | |
discountRef | |
discount |
ProductPriceAdded
variantIdInt | Unique identifier of the ProductVariant for which the Price was added. |
price | The Embedded Price that was added to the ProductVariant. |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
typeString |
ProductPrice
idString | |
value | |
keyString | |
country | |
customerGroup | |
customerGroupRef | |
channel | |
channelRef | |
validFrom | |
validUntil | |
discounted | |
tiersArray of ProductPriceTier | |
custom | |
recurrencePolicy | |
recurrencePolicyRef |
DiscountedProductPriceValue
value | |
discountRef | |
discount |
ProductPriceTier
minimumQuantityInt | |
value |
ProductPriceChanged
variantIdInt | 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. |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
oldStagedPrice | The staged Embedded Price before the Change Embedded Price update action. |
typeString |
ProductPrice
idString | |
value | |
keyString | |
country | |
customerGroup | |
customerGroupRef | |
channel | |
channelRef | |
validFrom | |
validUntil | |
discounted | |
tiersArray of ProductPriceTier | |
custom | |
recurrencePolicy | |
recurrencePolicyRef |
DiscountedProductPriceValue
value | |
discountRef | |
discount |
ProductPriceTier
minimumQuantityInt | |
value |
ProductPricesSet
variantIdInt | Unique identifier of the ProductVariant for which the Price was set. |
pricesArray of ProductPrice | The Embedded Prices that were set on the ProductVariant. |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
typeString |
ProductPrice
idString | |
value | |
keyString | |
country | |
customerGroup | |
customerGroupRef | |
channel | |
channelRef | |
validFrom | |
validUntil | |
discounted | |
tiersArray of ProductPriceTier | |
custom | |
recurrencePolicy | |
recurrencePolicyRef |
DiscountedProductPriceValue
value | |
discountRef | |
discount |
ProductPriceTier
minimumQuantityInt | |
value |
ProductPriceRemoved
variantIdInt | Unique identifier of the ProductVariant for which the Price was removed. |
price | The Embedded Price that was removed from the ProductVariant. |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
typeString |
ProductPrice
idString | |
value | |
keyString | |
country | |
customerGroup | |
customerGroupRef | |
channel | |
channelRef | |
validFrom | |
validUntil | |
discounted | |
tiersArray of ProductPriceTier | |
custom | |
recurrencePolicy | |
recurrencePolicyRef |
DiscountedProductPriceValue
value | |
discountRef | |
discount |
ProductPriceTier
minimumQuantityInt | |
value |
ProductPriceModeSet
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
variant | Unique identifier of the Product Variant that was added. |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
typeString |
ProductVariant
Classic.
When the Project has the Modular catalog model, use the Variants API instead.idInt | A unique, sequential identifier of the Product Variant within the Product. |
keyString | User-defined identifier of the ProductVariant. Unique among ProductVariants in the same Product. This is different from Product key. |
skuString | User-defined SKU of the Product Variant. Unique across all ProductVariants in a Project. |
pricesArray 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. |
allRecurrencePricesArray of ProductPrice | Returns all recurrence prices based on the price selection rules. |
imagesArray of Image | Images of the Product Variant. |
assetsArray 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). |
attributesRawArray of RawProductAttribute | This field contains raw attributes data |
ProductPrice
idString | |
value | |
keyString | |
country | |
customerGroup | |
customerGroupRef | |
channel | |
channelRef | |
validFrom | |
validUntil | |
discounted | |
tiersArray of ProductPriceTier | |
custom | |
recurrencePolicy | |
recurrencePolicyRef |
DiscountedProductPriceValue
value | |
discountRef | |
discount |
ProductPriceTier
minimumQuantityInt | |
value |
ProductVariantAvailabilityWithChannels
noChannel | |
channels |
ProductVariantAvailability
Product variant availability
isOnStockBoolean | 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. |
restockableInDaysInt | Number of days to restock a Product Variant once it is out of stock. |
availableQuantityLong | Number of items of the Product Variant that are in stock. |
versionLong | Current version of the InventoryEntry. |
idString | Unique identifier of the InventoryEntry. |
ProductVariantAvailabilitiesResult
Product variant availabilities
limitInt | |
offsetInt | |
totalInt | |
resultsArray of ProductVariantAvailabilityWithChannel |
ProductVariantAvailabilityWithChannel
channelRef | |
channel | |
availability |
RawProductAttribute
attributeDefinition | |
nameString | |
valueJson | |
attributesRawArray of RawProductAttribute | BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta |
referencedResource | |
referencedResourceSetArray of ReferenceExpandable |
AttributeDefinition
type | Describes the Type of the Attribute. |
nameString | User-defined name of the Attribute that is unique within the Project. |
labelString | Human-readable label for the Attribute. |
isRequiredBoolean | Whether the Attribute must have a value on a ProductVariant. |
attributeConstraint | Specifies how Attributes are validated across all variants of a Product. Can beNone, Unique, CombinationUnique, or SameForAll |
level | Specifies whether the Attribute is defined at the Product or Variant level. Can beVariant, or Product |
inputTipString | 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 |
isSearchableBoolean | 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. |
savedToLineItemBoolean | 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. |
labelAllLocalesArray of LocalizedString | Human-readable label for the Attribute. |
inputTipAllLocalesArray 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
removedImageUrlsArray 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. |
stagedBoolean | 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. |
typeString |
ProductVariant
Classic.
When the Project has the Modular catalog model, use the Variants API instead.idInt | A unique, sequential identifier of the Product Variant within the Product. |
keyString | User-defined identifier of the ProductVariant. Unique among ProductVariants in the same Product. This is different from Product key. |
skuString | User-defined SKU of the Product Variant. Unique across all ProductVariants in a Project. |
pricesArray 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. |
allRecurrencePricesArray of ProductPrice | Returns all recurrence prices based on the price selection rules. |
imagesArray of Image | Images of the Product Variant. |
assetsArray 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). |
attributesRawArray of RawProductAttribute | This field contains raw attributes data |
ProductPrice
idString | |
value | |
keyString | |
country | |
customerGroup | |
customerGroupRef | |
channel | |
channelRef | |
validFrom | |
validUntil | |
discounted | |
tiersArray of ProductPriceTier | |
custom | |
recurrencePolicy | |
recurrencePolicyRef |
DiscountedProductPriceValue
value | |
discountRef | |
discount |
ProductPriceTier
minimumQuantityInt | |
value |
ProductVariantAvailabilityWithChannels
noChannel | |
channels |
ProductVariantAvailability
Product variant availability
isOnStockBoolean | 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. |
restockableInDaysInt | Number of days to restock a Product Variant once it is out of stock. |
availableQuantityLong | Number of items of the Product Variant that are in stock. |
versionLong | Current version of the InventoryEntry. |
idString | Unique identifier of the InventoryEntry. |
ProductVariantAvailabilitiesResult
Product variant availabilities
limitInt | |
offsetInt | |
totalInt | |
resultsArray of ProductVariantAvailabilityWithChannel |
ProductVariantAvailabilityWithChannel
channelRef | |
channel | |
availability |
RawProductAttribute
attributeDefinition | |
nameString | |
valueJson | |
attributesRawArray of RawProductAttribute | BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta |
referencedResource | |
referencedResourceSetArray of ReferenceExpandable |
AttributeDefinition
type | Describes the Type of the Attribute. |
nameString | User-defined name of the Attribute that is unique within the Project. |
labelString | Human-readable label for the Attribute. |
isRequiredBoolean | Whether the Attribute must have a value on a ProductVariant. |
attributeConstraint | Specifies how Attributes are validated across all variants of a Product. Can beNone, Unique, CombinationUnique, or SameForAll |
level | Specifies whether the Attribute is defined at the Product or Variant level. Can beVariant, or Product |
inputTipString | 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 |
isSearchableBoolean | 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. |
savedToLineItemBoolean | 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. |
labelAllLocalesArray of LocalizedString | Human-readable label for the Attribute. |
inputTipAllLocalesArray 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
category | |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
typeString |
ReferenceId
typeIdString | |
idString |
ProductRemovedFromCategory
category | |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
typeString |
ReferenceId
typeIdString | |
idString |
ProductDeleted
removedImageUrlsArray of String | List of image URLs that were removed during the Delete Product request. |
currentProjection | Current Product Projection of the deleted Product. |
typeString |
ProductProjectionMessagePayload
idString | |
versionLong | |
createdAt | |
lastModifiedAt | |
productTypeRef | |
productType | |
nameString | |
nameAllLocalesArray of LocalizedString | |
descriptionString | |
descriptionAllLocalesArray of LocalizedString | |
slugString | |
slugAllLocalesArray of LocalizedString | |
categoryOrderHintsArray of CategoryOrderHint | |
categoriesRefArray of Reference | |
categoriesArray of Category | |
searchKeywordsArray of SearchKeywords | |
metaTitleString | |
metaTitleAllLocalesArray of LocalizedString | |
metaKeywordsString | |
metaKeywordsAllLocalesArray of LocalizedString | |
metaDescriptionString | |
metaDescriptionAllLocalesArray of LocalizedString | |
hasStagedChangesBoolean | |
publishedBoolean | |
masterVariant | |
variantsArray of ProductVariant | |
attributesArray of RawProductAttribute | 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
categoryIdString | |
orderHintString |
SearchKeywords
locale | |
searchKeywordsArray of SearchKeyword |
SearchKeyword
textString | Text to return in the SuggestionResult. |
suggestTokenizer | If no tokenizer is defined, the text is used as a single token. |
SuggestTokenizer
typeString |
ProductVariant
Classic.
When the Project has the Modular catalog model, use the Variants API instead.idInt | A unique, sequential identifier of the Product Variant within the Product. |
keyString | User-defined identifier of the ProductVariant. Unique among ProductVariants in the same Product. This is different from Product key. |
skuString | User-defined SKU of the Product Variant. Unique across all ProductVariants in a Project. |
pricesArray 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. |
allRecurrencePricesArray of ProductPrice | Returns all recurrence prices based on the price selection rules. |
imagesArray of Image | Images of the Product Variant. |
assetsArray 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). |
attributesRawArray of RawProductAttribute | This field contains raw attributes data |
ProductPrice
idString | |
value | |
keyString | |
country | |
customerGroup | |
customerGroupRef | |
channel | |
channelRef | |
validFrom | |
validUntil | |
discounted | |
tiersArray of ProductPriceTier | |
custom | |
recurrencePolicy | |
recurrencePolicyRef |
DiscountedProductPriceValue
value | |
discountRef | |
discount |
ProductPriceTier
minimumQuantityInt | |
value |
ProductVariantAvailabilityWithChannels
noChannel | |
channels |
ProductVariantAvailability
Product variant availability
isOnStockBoolean | 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. |
restockableInDaysInt | Number of days to restock a Product Variant once it is out of stock. |
availableQuantityLong | Number of items of the Product Variant that are in stock. |
versionLong | Current version of the InventoryEntry. |
idString | Unique identifier of the InventoryEntry. |
ProductVariantAvailabilitiesResult
Product variant availabilities
limitInt | |
offsetInt | |
totalInt | |
resultsArray of ProductVariantAvailabilityWithChannel |
ProductVariantAvailabilityWithChannel
channelRef | |
channel | |
availability |
RawProductAttribute
attributeDefinition | |
nameString | |
valueJson | |
attributesRawArray of RawProductAttribute | BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta |
referencedResource | |
referencedResourceSetArray of ReferenceExpandable |
AttributeDefinition
type | Describes the Type of the Attribute. |
nameString | User-defined name of the Attribute that is unique within the Project. |
labelString | Human-readable label for the Attribute. |
isRequiredBoolean | Whether the Attribute must have a value on a ProductVariant. |
attributeConstraint | Specifies how Attributes are validated across all variants of a Product. Can beNone, Unique, CombinationUnique, or SameForAll |
level | Specifies whether the Attribute is defined at the Product or Variant level. Can beVariant, or Product |
inputTipString | 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 |
isSearchableBoolean | 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. |
savedToLineItemBoolean | 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. |
labelAllLocalesArray of LocalizedString | Human-readable label for the Attribute. |
inputTipAllLocalesArray 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
averageRatingFloat | Average rating of one target This number is rounded with 5 decimals. |
highestRatingInt | Highest rating of one target |
lowestRatingInt | Lowest rating of one target |
countLong | Number of ratings taken into account |
ratingsDistributionJson | 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
priceIdString | Unique identifier of the Price to which the Custom Field was added. |
variantIdInt | Unique identifier of the ProductVariant to which the Price belongs. |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
nameString | Name of the Custom Field that was added. |
valueJson | The added CustomFieldValue based on the FieldType. |
typeString |
ProductPriceCustomFieldChanged
priceIdString | Unique identifier of the Price of which the Custom Field was changed. |
variantIdInt | Unique identifier of the ProductVariant to which the Price belongs. |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
nameString | Name of the Custom Field that was changed. |
valueJson | |
typeString |
ProductPriceCustomFieldRemoved
priceIdString | Unique identifier of the Price from which the Custom Field was removed. |
variantIdInt | Unique identifier of the ProductVariant to which the Price belongs. |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
nameString | Name of the Custom Field that was removed. |
typeString |
ProductPriceCustomFieldsSet
priceIdString | Unique identifier of the Price on which the Custom Type was set. |
variantIdInt | Unique identifier of the ProductVariant to which the Price belongs. |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
customField | Custom Fields that were set. |
oldTypeIdString | id of the previous Custom Type. Absent if there was no previous Custom Type present. |
typeString |
ProductPriceCustomFieldsRemoved
priceIdString | Unique identifier of the Price from which the Custom Type was removed. |
variantIdInt | Unique identifier of the ProductVariant to which the Price belongs. |
stagedBoolean | Whether the update was only applied to the staged Product Projection. |
typeString |
Product Selection Messages
ProductSelectionCreated
productSelection | Product Selection that was created. |
typeString |
ProductSelectionProductAdded
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. |
typeString |
ProductVariantSelection
typeString | |
skusArray of String |
ProductSelectionProductExcluded
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. |
typeString |
ProductVariantExclusion
IndividualExclusion ProductSelectionMode. Product Variants not listed remain available in the Product Selection.skusArray of String | Non-empty array of SKUs representing Product Variants to be excluded from the Product Selection with IndividualExclusion ProductSelectionMode. |
ProductSelectionProductRemoved
ProductSelectionVariantSelectionChanged
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. |
typeString |
ProductVariantSelection
typeString | |
skusArray of String |
ProductSelectionVariantExclusionChanged
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. |
typeString |
ProductVariantExclusion
IndividualExclusion ProductSelectionMode. Product Variants not listed remain available in the Product Selection.skusArray of String | Non-empty array of SKUs representing Product Variants to be excluded from the Product Selection with IndividualExclusion ProductSelectionMode. |
ProductSelectionDeleted
typeString |
Product Tailoring Messages
ProductTailoringCreated
publish and attributesRaw fields correspond to the published and attributes fields in REST.typeString | |
storeRef | The Store to which the Product Tailoring belongs. |
productRef | Reference to the Product the Product Tailoring belongs to. |
keyString | User-defined unique identifier of the Product Tailoring. |
productKeyString | User-defined unique identifier of the Product this Product Tailoring belongs to. |
publishBoolean | |
nameString | The name of the Product Tailoring at the time of creation. |
nameAllLocalesArray of LocalizedString | The name of the Product Tailoring at the time of creation. |
descriptionString | The description of the Product Tailoring at the time of creation. |
descriptionAllLocalesArray of LocalizedString | The description of the Product Tailoring at the time of creation. |
slugString | The slug of the Product Tailoring at the time of creation. |
slugAllLocalesArray of LocalizedString | The slug of the Product Tailoring at the time of creation. |
metaTitleString | The metaTitle of the Product Tailoring at the time of creation. |
metaTitleAllLocalesArray of LocalizedString | The metaTitle of the Product Tailoring at the time of creation. |
metaDescriptionString | The metaDescription of the Product Tailoring at the time of creation. |
metaDescriptionAllLocalesArray of LocalizedString | The metaDescription of the Product Tailoring at the time of creation. |
metaKeywordsString | The metaKeywords of the Product Tailoring at the time of creation. |
metaKeywordsAllLocalesArray of LocalizedString | The metaKeywords of the Product Tailoring at the time of creation. |
variantsArray of ProductVariantTailoring | The variants of the Product Tailoring at the time of creation. |
attributesRawArray of RawProductAttribute | 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
idInt | |
imagesArray of Image | Images of the tailored Product Variant.
If present, these images will override the images of the corresponding ProductVariant or Variant in total. |
assetsArray 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. |
attributesRawArray of RawProductAttribute | Attributes of the tailored Product Variant.
If present, these Attributes are selectively merged into the
attributes of the corresponding ProductVariant or Variant:
|
RawProductAttribute
attributeDefinition | |
nameString | |
valueJson | |
attributesRawArray of RawProductAttribute | BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta |
referencedResource | |
referencedResourceSetArray of ReferenceExpandable |
AttributeDefinition
type | Describes the Type of the Attribute. |
nameString | User-defined name of the Attribute that is unique within the Project. |
labelString | Human-readable label for the Attribute. |
isRequiredBoolean | Whether the Attribute must have a value on a ProductVariant. |
attributeConstraint | Specifies how Attributes are validated across all variants of a Product. Can beNone, Unique, CombinationUnique, or SameForAll |
level | Specifies whether the Attribute is defined at the Product or Variant level. Can beVariant, or Product |
inputTipString | 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 |
isSearchableBoolean | 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. |
savedToLineItemBoolean | 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. |
labelAllLocalesArray of LocalizedString | Human-readable label for the Attribute. |
inputTipAllLocalesArray 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. |
productKeyString | User-defined unique identifier of the Product this Product Tailoring belongs to. |
typeString |
ProductTailoringNameSet
storeRef | The Store to which the Product Tailoring belongs. |
productRef | Reference to the Product the Product Tailoring belongs to. |
productKeyString | User-defined unique identifier of the Product this Product Tailoring belongs to. |
nameString | The name of the Product Tailoring after the Set Name update action. |
oldNameString | The name of the ProductTailoring before the Set Name update action. |
nameAllLocalesArray of LocalizedString | The name of the Product Tailoring after the Set Name update action. |
oldNameAllLocalesArray of LocalizedString | The name of the ProductTailoring before the Set Name update action. |
typeString |
ProductTailoringDescriptionSet
storeRef | The Store to which the Product Tailoring belongs. |
productRef | Reference to the Product the Product Tailoring belongs to. |
productKeyString | User-defined unique identifier of the Product this Product Tailoring belongs to. |
descriptionString | The description of the Product Tailoring after the Set Description update action. |
oldDescriptionString | The description of the ProductTailoring before the Set Description update action. |
descriptionAllLocalesArray of LocalizedString | The description of the Product Tailoring after the Set Description update action. |
oldDescriptionAllLocalesArray of LocalizedString | The description of the ProductTailoring before the Set Description update action. |
typeString |
ProductTailoringKeySet
keyString | |
oldKeyString | |
storeRef | The Store to which the Product Tailoring belongs. |
productRef | Reference to the Product the Product Tailoring belongs to. |
productKeyString | User-defined unique identifier of the Product this Product Tailoring belongs to. |
typeString |
ProductTailoringSlugSet
storeRef | The Store to which the Product Tailoring belongs. |
productRef | Reference to the Product the Product Tailoring belongs to. |
productKeyString | User-defined unique identifier of the Product this Product Tailoring belongs to. |
slugString | The slug of the Product Tailoring after the Set Slug update action. |
oldSlugString | The slug of the ProductTailoring before the Set Slug update action. |
slugAllLocalesArray of LocalizedString | The slug of the Product Tailoring after the Set Slug update action. |
oldSlugAllLocalesArray of LocalizedString | The slug of the ProductTailoring before the Set Slug update action. |
typeString |
ProductTailoringPublished
storeRef | The Store to which the Product Tailoring belongs. |
productRef | Reference to the Product the Product Tailoring belongs to. |
productKeyString | User-defined unique identifier of the Product this Product Tailoring belongs to. |
typeString |
ProductTailoringUnpublished
storeRef | The Store to which the Product Tailoring belongs. |
productRef | Reference to the Product the Product Tailoring belongs to. |
productKeyString | User-defined unique identifier of the Product this Product Tailoring belongs to. |
typeString |
ProductVariantTailoringAdded
variantIdInt | id of the ProductVariant added to the Tailoring. |
storeRef | The Store to which the Product Tailoring belongs. |
productRef | Reference to the tailored Product. |
productKeyString | key of the tailored Product. |
variant | The ProductVariantTailoring that was added to the ProductTailoring. |
typeString |
ProductVariantTailoringRemoved
variantIdInt | 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. |
productKeyString | key of the tailored Product. |
variant | The ProductVariantTailoring that was removed from the ProductTailoring. |
typeString |
ProductTailoringImageAdded
variantIdInt | id of the tailored ProductVariant. |
storeRef | The Store to which the Product Tailoring belongs. |
productRef | Reference to the tailored Product. |
productKeyString | key of the tailored Product. |
image | Image that was added. |
typeString |
ProductTailoringImagesSet
Variant Messages
VariantCreated
attributesRaw field corresponds to the attributes field of the Message in REST.idString | Unique identifier of the Variant. |
variantIdInt | Unique identifier of the Variant within its parent Product. |
keyString | User-defined unique identifier of the Variant. |
skuString | SKU of the Variant. |
publishBoolean | Whether the Variant was published. |
imagesArray of Image | Images of the Variant. |
assetsArray of Asset | Assets of the Variant. |
attributesRawArray of RawAttribute | Attributes of the Variant. |
productRef | Reference to the Product containing the Variant. |
typeString |
RawAttribute
nameString | |
valueJson | |
attributesRawArray 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 | |
referencedResourceSetArray of ReferenceExpandable |
VariantDeleted
productRef | Reference to the Product containing the Variant. |
typeString |
VariantImageAdded
VariantImagesSet
VariantKeySet
VariantPublished
VariantSkuSet
VariantStagedChangesRemoved
productRef | Reference to the Product containing the Variant. |
typeString |
VariantUnpublished
Category Messages
CategoryCreated
CategorySlugChanged
slugString | The slug of the Category after the Change Slug update action. |
oldSlugString | The slug of the Category before the Change Slug update action. |
slugAllLocalesArray of LocalizedString | The slug of the Category after the Change Slug update action. |
oldSlugAllLocalesArray of LocalizedString | The slug of the Category before the Change Slug update action. |
typeString |
Inventory Entry Messages
InventoryEntryCreated
inventoryEntry | InventoryEntry that was created. |
typeString |
InventoryEntryDeleted
skuString | The sku of the InventoryEntry that was deleted. |
supplyChannel | |
supplyChannelRef | |
typeString |
InventoryEntryQuantitySet
oldQuantityOnStockLong | Quantity on stock for the InventoryEntry before the quantity was updated. |
newQuantityOnStockLong | Quantity on stock for the InventoryEntry after the quantity was updated. |
oldAvailableQuantityLong | Available quantity for the InventoryEntry before the quantity was updated. |
newAvailableQuantityLong | Available quantity for the InventoryEntry after the quantity was updated. |
skuString | SKU of the InventoryEntry for which the quantity was updated. |
supplyChannel | |
supplyChannelRef | |
typeString |
InventoryEntryReservationExpirationInMinutesSet
oldReservationExpirationInMinutesInt | reservationExpirationInMinutes value of the Inventory Entry before the Set Reservation Expiration In Minutes update action. |
newReservationExpirationInMinutesInt | reservationExpirationInMinutes value of the Inventory Entry after the Set Reservation Expiration In Minutes update action. |
typeString |
InventoryEntryOutOfStock
skuString | |
supplyChannel | |
supplyChannelRef | |
typeString |
InventoryEntryReorderPoint
skuString | |
quantityOnStockInt | 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. |
typeString |
InventoryEntrySafetyStock
skuString | |
quantityOnStockInt | 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. |
typeString |
Review Messages
ReviewCreated
ReviewStateTransition
oldIncludedInStatisticsBoolean | Whether the old Review was taken into account in the rating statistics of the target before the state transition. |
newIncludedInStatisticsBoolean | Whether the new Review was taken into account in the rating statistics of the target after the state transition. |
forceBoolean | Whether State transition validations were turned off during the Transition State update action. |
target | |
oldState | |
newState | |
targetRef | |
oldStateRef | |
newStateRef | |
typeString |
ReviewTarget
idString |
ReviewRatingSet
oldRatingInt | |
newRatingInt | |
includedInStatisticsBoolean | Whether the Review was taken into account in the ratings statistics of the target. |
target | |
targetRef | |
typeString |
ReviewTarget
idString |