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 to manage various resources related to print-on-demand products and designs. Specifically, for the Image resource with the Get List of Image operation, it retrieves a list of images from the Printcart platform.
Common scenarios where this node is beneficial include:
- Fetching image assets available in a Printcart store or project.
- Automating workflows that require image metadata retrieval for further processing or display.
- Integrating image data into other systems or dashboards.
Practical example:
- A user wants to automatically retrieve the latest 10 images sorted by their ID in descending order to update a product catalog or design gallery.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication; currently supports "API Token" |
| Limit | Maximum number of image results to return (minimum 10) |
| Sort | Sorting direction for the results; options are: "Desc" (descending) or "Asc" (ascending) |
| Sort By | Field by which to sort the images; default is "id" |
Output
The node outputs a JSON array containing the list of images retrieved from the Printcart API. Each item in the array represents an image object with its associated metadata as returned by the API.
No binary data output is indicated for this operation.
Dependencies
- Requires an API token credential for authenticating requests to the Printcart API.
- The node makes HTTP GET requests to the Printcart API endpoint
/v1/imageswith query parameters for limit, sorting type, and sorting field. - No additional environment variables or external services are required beyond the API token.
Troubleshooting
Common issues:
- Invalid or missing API token will cause authentication failures.
- Requesting fewer than 10 images may be rejected due to the minimum limit constraint.
- Incorrect or unsupported sort fields may result in unexpected ordering or API errors.
Error messages:
- Authentication errors typically indicate invalid credentials; verify the API token is correct and has necessary permissions.
- HTTP request errors may occur if the API endpoint is unreachable; check network connectivity and API status.
- Parameter validation errors may arise if the limit is set below 10 or if unsupported sort options are used; adjust input parameters accordingly.
Links and References
- Printcart API Documentation (assumed official docs URL)
- n8n documentation on HTTP Request Node for understanding underlying request mechanics