Product Image

2. Upload a File

Uploads a file and adds it to the specified product.<p> To upload a file you need to retrieve the slot ID using the /uploadmanager.newuploadslot (Create an Upload Slot) endpoint.

<!-- theme: info-->

Information

To upload a file you need to perform the following actions:

  1. Create an Upload Slot
  2. Upload a File
  3. Delete an Upload Slot
post/productimages.upload/{slot_id}/{sku}

Request

Request body multipart/form-data

filestring binary

A base64 encoded file data.

Response

OK

Changes

No recorded changes to this operation across all 2 revisions of this API.