All Release Notes
Introduced Product Tailoring of Attributes for Product Variants in public beta
26 September 2024
Composable Commerce
HTTP API
Enhancement
Product catalogGraphQL
We introduced Product Tailoring of Attributes in public beta. You can now customize product attributes for specific brands or countries, modeled with Stores, to enhance your product offering in different markets.
Changes:
- [API] Added ProductTailoringAttribute to the Product Tailoring API.
- [API] Added optional
attributes
field to ProductVariantTailoring and ProductVariantTailoringDraft. - [API] Added ProductTailoringSetAttributeAction and ProductTailoringSetAttributeInAllVariantsAction update actions to the Product Tailoring API.
- [API] Added optional
attributes
field to ProductTailoringAddVariantAction. - [GraphQL API] Added the
attributesRaw
field to theProductVariantTailoring
type. - [GraphQL API] Added the
attributes
field to theProductVariantTailoringInput
type. - [GraphQL API] Added the
SetProductTailoringAttribute
andSetProductTailoringAttributeInAllVariants
types to the GraphQL schema. - [GraphQL API] Added the
setAttributeInAllVariants
andsetAttribute
fields to theProductTailoringUpdateAction
type. - [GraphQL API] Added the
attributes
field to theAddProductVariantTailoring
type.
The following changes were introduced in terms of GraphQL SDL:
extend type ProductVariantTailoring {"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"attributesRaw: [RawProductAttribute!]!}extend input ProductVariantTailoringInput {"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"attributes: [ProductAttributeInput!] = []}extend input AddProductVariantTailoring {"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"attributes: [ProductAttributeInput!] = []}extend input ProductTailoringUpdateAction {setAttribute: SetProductTailoringAttributesetAttributeInAllVariants: SetProductTailoringAttributeInAllVariants}input SetProductTailoringAttribute {variantId: Intsku: Stringname: String!value: Stringstaged: Boolean = true}input SetProductTailoringAttributeInAllVariants {name: String!value: Stringstaged: Boolean = true}