PUT /api/v1/products/{productId}/images
Add multiple images to a product or replace the product images by the given images
Servers
Path parameters
| Name |
Type |
Required |
Description |
productId |
Integer |
Yes |
The id of the product
|
Request headers
| Name |
Type |
Required |
Description |
Content-Type |
String |
Yes |
The media type of the request body.
Default value: "application/json"
|
Query parameters
| Name |
Type |
Required |
Description |
replace |
Boolean |
No |
If you pass true, the images will be replaced by the passed images. Otherwise the passed images will be appended to the product.
|
Request body fields
| Name |
Type |
Required |
Description |
[] |
Array |
Yes |
|
[].Id |
Integer |
No |
|
[].ThumbUrl |
String |
No |
|
[].Position |
Integer |
No |
|
[].Url |
String |
No |
|
[].IsDefault |
Boolean |
No |
|
[].ArticleId |
Integer |
No |
|
[].ThumbPathExt |
String |
No |
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.