Skip to main content

Upload a media file.

POST 

/media/upload

Upload a file (image or PDF) to create a new media item. Send as multipart/form-data with file, or JSON with base64-encoded file. Optionally include products (array of product IDs) and central (boolean).

Request

Responses

Successful operation. Returns the created media item.