Menu
Get Media File By Code
Download a product media file
GET
/api/rest/v1/media-files/{code}/downloadUse it in a workflow
- Add a step and choose the Akeneo connector.
- Pick the Get Media File By Code action (under Product media file).
- Fill in the fields below, then reference the result from later steps as
{{getMediaFileByCode.response.data}}.
Request
Path parameters
Response
Returns 200 with a string (binary). Read it in later steps with {{getMediaFileByCode.response.data.<field>}}.
Need more? See the Akeneo guide for connection setup and behaviour shared by every action.
Was this page helpful?