Actions80
- Account Actions
- Clipart Actions
- Clipart Storage Actions
- Design Actions
- Font Actions
- Image Actions
- Product Actions
- Project Actions
- Project Folder Actions
- Side Actions
- Storage Actions
- Store Actions
- Template Actions
- Webhook Actions
Overview
This node integrates with the Printcart API, enabling users to manage various resources such as accounts, stores, products, sides, images, cliparts, designs, projects, templates, storages, fonts, webhooks, and project folders. Specifically for the Image resource, it supports operations like adding an image, listing images, retrieving image details, deleting an image, and counting images.
The Delete Image operation allows users to remove an image from their Printcart account by specifying the image's unique ID. This is useful in scenarios where outdated or unwanted images need to be cleaned up automatically as part of a workflow, such as managing product assets or design elements.
Practical Example
- Automatically delete images that are no longer used in your product catalog.
- Clean up temporary images after processing or approval workflows.
- Manage image lifecycle within automated print-on-demand or e-commerce pipelines.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication; currently only "API Token" is supported. |
| Image ID | The unique identifier of the image to delete. Required for the Delete Image operation. |
Output
The node outputs a JSON array containing the response from the Printcart API for the executed operation. For the Delete Image operation, the output JSON typically contains confirmation of deletion or relevant status information returned by the API.
No binary data output is produced by this operation.
Example output structure (simplified):
[
{
"status": "success",
"message": "Image deleted successfully",
"imageId": "12345"
}
]
(Note: Actual response fields depend on the Printcart API's delete image endpoint.)
Dependencies
- Requires an active Printcart API token credential for authentication.
- The node makes HTTP requests to the Printcart API endpoints over HTTPS.
- No additional external dependencies beyond the API token and network access.
Troubleshooting
- Invalid or missing Image ID: Ensure the Image ID property is correctly set and corresponds to an existing image.
- Authentication errors: Verify that the provided API token is valid and has sufficient permissions.
- Network issues: Confirm that the n8n instance can reach
api.printcart.comover the internet. - API rate limits or server errors: If the API returns errors related to rate limiting or server problems, consider implementing retries or checking Printcart service status.
- Error messages: Errors thrown by the node will include the API error message. Use these messages to diagnose issues such as unauthorized access, not found resources, or malformed requests.
Links and References
- Printcart API Documentation (Assumed URL; replace with actual if available)
- n8n documentation on HTTP Request Node for understanding underlying request mechanics.
This summary focuses exclusively on the Image - Delete Image operation as requested, based on static analysis of the provided source code and input properties.