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