Menu
Post Asset Media File
Create a new media file for an asset
POST
/api/rest/v1/asset-media-filesUse it in a workflow
- Add a step and choose the Akeneo connector.
- Pick the Post Asset Media File action (under Asset media file).
- Fill in the fields below, then reference the result from later steps as
{{postAssetMediaFile.response.data}}.
Request
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"file": ""
}
Response
Returns 201 with a any. Read it in later steps with {{postAssetMediaFile.response.data.<field>}}.
Need more? See the Akeneo guide for connection setup and behaviour shared by every action.
Was this page helpful?