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
images
field in the Set Images update action optional.[GraphQL API] Made the
images
andoldImages
fields in theProductTailoringImagesSet
type optional.[GraphQL API] Made the
images
input field in theProductTailoringImagesSet
type optional.[GraphQL API] Made the
images
andassets
fields in theVariantTailoring
andProductVariantTailoring
types 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!]}