Set alternative value for a multimedia

This is how you can set alternative value to a single multimedia via API.

The MultimediaPath scalar type represents a textual combination of MultimediaFolderPath, and MultimediaName joined with '/' Multimedia identifier pointing to its exact location. If the file is in the root folder you need to skip MultimediaFolderPath in path.

mutation {
  multimediaSetAlt(
    input: {
      path: "multimedia.jpg"
      alt: { language: "en_GB", value: "Alternative value" }
    }
  ) {
    __typename
  }
}

Last updated