All Release Notes
Fixed behavior of 'assets' and 'images' fields in Product Variant Tailorings
16 January 2025
Composable Commerce
HTTP API
Resolved issue
Product catalogGraphQL
We made the assets and images fields of entities related to Product Variant Tailoring optional to match the documented behavior.
Changes:
[API] Made the
imagesfield in the Set Images update action optional.[GraphQL API] Made the
imagesandoldImagesfields in theProductTailoringImagesSettype optional.[GraphQL API] Made the
imagesinput field in theProductTailoringImagesSettype optional.[GraphQL API] Made the
imagesandassetsfields in theVariantTailoringandProductVariantTailoringtypes optional.
The following changes were introduced in terms of GraphQL SDL:
type ProductTailoringImagesSet implements MessagePayload {variantId: Int!storeRef: KeyReference!productRef: Reference!productKey: StringoldImages: [Image!]images: [Image!]type: String!}type ProductVariantTailoring {id: Int!images: [Image!]assets: [Asset!]attributesRaw: [RawProductAttribute!]!}input SetProductTailoringImages {variantId: Intsku: Stringimages: [ImageInput!]staged: Boolean = true}type VariantTailoring {images: [Image!]assets: [Asset!]}