16 January 2025
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: String
oldImages: [Image!]
images: [Image!]
type: String!
}
type ProductVariantTailoring {
id: Int!
images: [Image!]
assets: [Asset!]
attributesRaw: [RawProductAttribute!]!
}
input SetProductTailoringImages {
variantId: Int
sku: String
images: [ImageInput!]
staged: Boolean = true
}
type VariantTailoring {
images: [Image!]
assets: [Asset!]
}