post

/catalog/products/{product_id}/modifiers/{modifier_id}/values/{value_id}/image

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.

Authorization

apiKey - X-Auth-Client
apiKey - X-Auth-Token

Request Parameters

3 Path Parameters
2 Headers

Request Body

Form data (multipart/form-data)
image_file
file

Responses

1 Example
Schema
object

Image Response returns for:

  • Create Variant Image
  • Create Modifier Image
  • Create Category Image
  • Create Brand Image
data
object

An object containing a publicly accessible image URL, or a form post that contains an image file.

meta
object

Empty meta object; may be used later.

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
3 path params not set
product_id
modifier_id
value_id
$$.env
2 variables not set
store_hash
X-Auth-Client
X-Auth-Token