post
https://{store}/api/rest/products//images
Used to set an image on the store.
| Parameter | Type | Description |
|---|---|---|
file_content | string | Image file content base 64 encoded. |
file_mime_type | string | File mime type. (image/jpeg, image/png) |
file_name | string | Image file name. |
label | string | A label that will be displayed on the frontend when pointing to the image. |
position | int | The sort order option. The order in which the images are displayed in the "More Views" section. |
types | array | List of image types (image, thumbnail). image is used universally. thumbnail is used in places like media gallery on product page. |
exclude | int | 0 - Image will be enabled (default) 1 - Image will be disabled |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200OK (no example documented yet)
