Set

Used to set an image on the store.

ParameterTypeDescription
file_contentstringImage file content base 64 encoded.
file_mime_typestringFile mime type. (image/jpeg, image/png)
file_namestringImage file name.
labelstringA label that will be displayed on the frontend when pointing to the image.
positionintThe sort order option. The order in which the images are displayed in the "More Views" section.
typesarrayList of image types (image, thumbnail). image is used universally. thumbnail is used in places like media gallery on product page.
excludeint0 - Image will be enabled (default)
1 - Image will be disabled
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
string
string
types
array of strings
types
string
string
string
Response
200

OK (no example documented yet)

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!