CAPIShop icon

CAPIShop

Integração completa com Nuvemshop API

Actions35

Image → Delete

AI-generated

Overview

This node operation deletes an image associated with a product in the Nuvemshop platform. It is useful for managing product images by removing outdated or incorrect images from a product's gallery. For example, if a product image is no longer relevant or needs to be replaced, this operation can be used to delete the specific image by its ID.

Use Case Examples

  1. Deleting an image from a product to update the product's visual presentation.
  2. Removing an incorrect or duplicate image from a product's image list.

Properties

Name Meaning
Product ID The unique identifier of the product from which the image will be deleted.
Image ID The unique identifier of the image to be deleted from the specified product.

Output

JSON

  • success - Indicates whether the image deletion was successful (true/false).
  • imageId - The ID of the image that was deleted.

Dependencies

  • Requires an API key credential for Nuvemshop API authentication.

Troubleshooting

  • Ensure that the Product ID and Image ID are correct and correspond to existing entities in the Nuvemshop store.
  • If the deletion fails, check that the API credentials have the necessary permissions to delete product images.
  • Common error messages may include 'Not Found' if the product or image ID does not exist, or 'Unauthorized' if the API key is invalid or lacks permissions.

Links

Discussion