All Release Notes

Added variant.key to predicate field identifiers

25 January 2021
Enhancement
Pricing

It is now possible to use variant.key as a Discount Predicate field identifier. This allows you to use the same Discount Predicate for your production environment as you have used on your staging environment. Before it was not always possible since you had to rely on the platform generated product.id and variant.id instead that differ between Projects.

  • [API] Added variant.key field to Product Field Identifiers.
  • [API] Added variant.key field to LineItem Field Identifiers.
Copyright © 2021 commercetools