younifyd
Menu

Post Media File

Create a new product media file

POST/api/rest/v1/media-files

Use it in a workflow

  1. Add a step and choose the Akeneo connector.
  2. Pick the Post Media File action (under Product media file).
  3. Fill in the fields below, then reference the result from later steps as {{postMediaFile.response.data}}.

Request

Headers

Content-Typestringrequired

Equal to 'multipart/form-data' (with [boundary value](https://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2)), no other value allowed.

Response

Returns 201 with a any. Read it in later steps with {{postMediaFile.response.data.<field>}}.

Need more? See the Akeneo guide for connection setup and behaviour shared by every action.