arrow_back Back to all endpoints
PUT https://test-api.finerworks.com/v3/update_images

Update Image Files

Updates a list of image files based on their unique id. Note if the image is assigned to the inventory library, this will also remove any virtual inventory products assigned to those images.

Body

Name Description Type Additional information
images Array of images to update array (update_image_details)

Required

account_key Optional - account unique identifier. Note if it does not match the account unique identifier the app key is assigned to then this will not be utlized. Only app keys with proper permissions can use this. text None.

Example JSON Body

application/json, text/json

{
  "images": [
    {
      "guid": "5df4f6d9-d99f-4e1d-b3a9-d2ee65340d96",
      "title": "My Cool Image",
      "description": "This is a very cool image.",
      "visible": null,
      "assigned_gallery_subcategory_ids": null,
      "assigned_personal_gallery_ids": null,
      "rank": 0
    }
  ],
  "account_key": null
}

Sample Code Library

curl --location --request PUT 'https://test-api.finerworks.com/v3/update_images' \
--header 'Content-Type: application/json' \
--header 'web_api_key: my-web-api-key-goes-here' \
--header 'app_key: my-app-key-goes-here' \
--data-raw '{
  "images": [
    {
      "guid": "5df4f6d9-d99f-4e1d-b3a9-d2ee65340d96",
      "title": "My Cool Image",
      "description": "This is a very cool image.",
      "visible": null,
      "assigned_gallery_subcategory_ids": null,
      "assigned_personal_gallery_ids": null,
      "rank": 0
    }
  ],
  "account_key": null
}'