Catalog - Product modifiers
Create product modifier Image
POST /stores/{store_hash}/v3/catalog/products/{product_id}/modifiers/{modifier_id}/values/{value_id}/image
Request
Creates a Modifier Image.
The image will show on the storefront when the value is selected.
Required Fields
- image_file: Form posts are the only accepted upload option.
Authentication
- X-Auth-Token in headerrequired
Parameters
- store_hash in path - string
- Content-Type in header with default of application/json - stringrequired
The MIME type of the request body.
Response
Body
object | application/json
Image Response returns for:
- Create Variant Image
- Create Modifier Image
- Create Category Image
- Create Brand Image
dataobject
An object containing a publicly accessible image URL, or a form post that contains an image file.
metaobject
Response metadata.
example
Did you find what you were looking for?