Printcart icon

Printcart

Consume Prinrcart API

Actions80

Overview

This node integrates with the Printcart API to manage various resources related to print-on-demand products and assets. Specifically, for the Clipart Storage resource with the Get List of Clipart_storage operation, it retrieves a list of clipart storage entries from the Printcart platform.

Typical use cases include:

  • Fetching available clipart storage categories or folders to organize clipart assets.
  • Integrating clipart storage data into workflows that automate design asset management.
  • Synchronizing clipart storage information between Printcart and other systems.

For example, a user might want to retrieve a paginated and sorted list of clipart storages to display in a custom dashboard or to process them further in an automated design pipeline.

Properties

Name Meaning
Authentication Method of authentication; currently supports "API Token"
Limit Maximum number of clipart storage results to return (minimum 10)
Sort Sorting direction for the results; options: "Desc" (descending), "Asc" (ascending)
Sort By Field by which to sort the clipart storage list; default is "id"

Output

The node outputs a JSON array where each element represents a clipart storage entry retrieved from the Printcart API. Each entry typically includes details such as the storage's ID, name, parent ID (if any), and other metadata provided by the API.

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 GET requests to the endpoint:
    https://<sid>:<secret>@api.printcart.com/v1/clipart-storages with query parameters for limit, sorting, and sorting field.
  • The user must configure the API token credentials in n8n prior to using this node.

Troubleshooting

  • Common issues:

    • Invalid or missing API token will cause authentication failures.
    • Requesting fewer than 10 results may be rejected due to minimum limit enforcement.
    • Incorrect "Sort" or "Sort By" values may result in unexpected ordering or API errors.
  • Error messages:

    • Authentication errors typically indicate invalid or expired API tokens; reconfigure credentials.
    • HTTP 4xx or 5xx errors suggest issues with request parameters or server availability.
    • If no results are returned, verify that the account has clipart storage entries and correct permissions.

Links and References

Discussion