API ReferenceProduct ImagesUpdate image status or URL

Update image status or URL

PATCH
/products/{productId}/images/{imageId}

Authorization

x-api-key<token>

API Key authentication via header

In: header

Request Body

application/jsonRequired
statusstring
pathsstring
Format: "uri"

Path Parameters

productIdRequiredstring
imageIdRequiredstring
curl -X PATCH "https://niravai.com/api/v1/products/string/images/string" \
  -H "x-api-key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "approved",
    "paths": "http://example.com"
  }'

Image updated