Adds product image. Filename is mandatory. It has to be specified either in the attachment, part of the form-data parameter 'file', or in the attachment, as a form-data parameter 'filename', which is common format for PHP frameworks, which are sending an array of attachments.Attachment example:

------qwertyuiopsasdfghjkl
Content-Disposition: form-data; name="file"; filename="mockImage.png"
Content-Type: image/png

Request

POST https://api.rezdy.com/v1/products/{productCode}/images

Path parameters

Parameter name Value Description Additional
productCode string

product to add the image to

Required

Request body

The request body takes a complete ParamTitle resource, containing the following writable properties:

{}

Properties

Name Type Description Additional

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

successful operation

ResponseImage

Explore this API

apiKey Enter your API Key to try this call
productCode

product to add the image to

body

filename

Request Content-Type
Response Content-Type
Try it out!