Actions83
- 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 to manage various resources related to print-on-demand projects, products, designs, and more. Specifically, for the Project resource and the Delete Project operation, it allows users to delete a project by specifying its unique project ID.
Common scenarios where this node is beneficial include automating the cleanup of obsolete or completed projects, managing project lifecycle in bulk workflows, or integrating project deletion into larger automation pipelines involving product design and order management.
Practical example:
A user can automate the removal of projects that are no longer needed after order fulfillment by providing the project ID to this node, which then calls the Printcart API to delete the specified project.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication; only option is "API Token" |
| Project ID | The unique identifier of the project to delete |
Output
The node outputs a JSON array containing the response from the Printcart API after attempting to delete the specified project. This response typically includes confirmation of deletion or error details if the operation failed.
No binary data output is involved in this operation.
Dependencies
- Requires an API token credential for authenticating requests to the Printcart API.
- The node makes HTTP DELETE requests to the endpoint:
https://{sid}:{secret}@api.printcart.com/v1/projects/{projectId}
where{sid}and{secret}are obtained from the API token credentials. - Proper configuration of the API token credential within n8n is necessary for successful authentication.
Troubleshooting
Common issues:
- Invalid or expired API token leading to authentication failures.
- Incorrect or non-existent Project ID causing "not found" errors.
- Network connectivity issues preventing access to the Printcart API.
Error messages and resolutions:
- 401 Unauthorized: Check that the API token credential is correctly configured and valid.
- 404 Not Found: Verify that the provided Project ID exists and is correct.
- Network errors/timeouts: Ensure network connectivity and that the Printcart API service is reachable.
If the node is set to continue on failure, errors will be returned as part of the output JSON for each item processed.
Links and References
- Printcart API Documentation (general reference for endpoints and authentication)
(Note: The exact URL is inferred from the code but should be verified with official Printcart documentation.)