Skip to main content

Add a media item to a product

POST 

/products/add-media

Link an existing media item to a product. The product can be identified in two ways:

  • id — the Medipim product ID (e.g. "M123456789").
  • product — either a Medipim product ID string, or an object with a single unique identifier field as key (e.g. {"cnk": "1234567"}). See the field glossary for available identifier fields.

Exactly one of id or product must be provided.

Request

Responses

Successful operation. Returns the product with the media item linked.