v2

latestSwagger 2.02026-08-0187117271.9 KB
Products

Add or update an existing image of a product

put/api/v1/products/{productId}/images/{imageId}

Path parameters

productIdinteger required

The product id

imageIdinteger required

The image id. If you pass 0, the image will be added

Request body

Urlstring
Idinteger
ThumbPathExtstring
ThumbUrlstring
Positioninteger
IsDefaultboolean
ArticleIdinteger

Response

OK

ErrorMessagestring
ErrorCode0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31
ErrorDescription0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31