Medipim FR - API V4

Developer documentation

POST /v4/media/update

(Last updated: 20/12/2024)

Access to this feature is restricted and depends on your subscription type.

Request

Method

POST

URL

https://api.medipim.fr/v4/media/update

Headers

Body

  • mediaItem: Medipim ID of the media item (integer, required)
  • data:
    • published: Whether or not the media item is published. (boolean)
    • locales[]: List of languages for which this media is suited. (string[])
    • targetGroups[]: List of target groups for which this media is suited. (string[])

    For photos

    • photoType: Photo type. ("packshot", "productshot", "lifestyle_image", "pillshot")
    • visibleSides: Visible sides of the subject. ("front", "left", "right", "back", "bottom", "top")

    For links

    • linkType: Link type. ("app", "brochure", "video", "website")
    • url: Url for the link (string)
    • name.{...}: Name of the link (string, localized)
    • description.{...}: Description of the link (string, localized)
    • availableFrom: When the media is available. (unix timestamp)
    • availableUntil: The last time the media is available. (unix timestamp)

Please check to see which fields you are allowed to update through the api.

Response

Body