v1

latestSwagger 2.02026-07-13137761.0 MB
Category

Create a category media file

This endpoint allows you to create a new media file and associate it to an attribute value of a given enriched category.

post/api/rest/v1/category-media-files

Headers

Content-typestring required

Equal to 'multipart/form-data'.

Request body

categorystring

The category to which the media file will be associated. It is a JSON string that follows this format '{"code":"category code", "attribute_code":"attribute code", "channel":"channel code or null", "locale":"locale code or null"}'.

filestring binary required

The binary of the file.

Response

Created