Printcart icon

Printcart

Consume Prinrcart API

Actions83

Overview

The node integrates with the Printcart API to manage projects and other related resources. Specifically, for the Project resource with the Get List of Project operation, it retrieves a list of projects from the Printcart platform. This is useful when you want to fetch multiple project records, possibly filtered or sorted by certain criteria.

Common scenarios include:

  • Displaying all projects in a dashboard.
  • Automating workflows that need to process or analyze multiple projects.
  • Syncing project data from Printcart into another system.

Example: You might use this node to get the latest 10 projects with status "Processing" sorted by their ID in descending order.

Properties

Name Meaning
Authentication Method of authentication; currently supports "API Token".
Limit Maximum number of project results to return (minimum 10).
Sort Collection specifying sorting direction: "Desc" (descending) or "Asc" (ascending).
Sort By Field name to sort the projects by (default is "id").
Status Filter projects by status; options are "Processing", "Accepted", "Trashed", or "Reviewing".

Output

The output is a JSON array where each element represents a project object as returned by the Printcart API's /v1/projects endpoint. The structure includes typical project fields such as project ID, name, status, note, and other metadata provided by the API.

No binary data output is produced by this operation.

Dependencies

  • Requires an API token credential for authenticating requests to the Printcart API.
  • The node makes HTTP GET requests to https://api.printcart.com/v1/projects with query parameters for limit, sorting, and status.
  • No additional external dependencies beyond the Printcart API and n8n's HTTP request helper.

Troubleshooting

  • Empty or no results: Ensure the Limit property is set correctly (minimum 10) and that the Status filter matches existing projects.
  • Authentication errors: Verify that the API token credential is valid and has sufficient permissions.
  • Invalid sort or status values: Use only the provided options for sorting ("Asc", "Desc") and status ("Processing", "Accepted", "Trashed", "Reviewing").
  • Network or API errors: Check network connectivity and Printcart API availability. Review error messages returned by the API for details.

Links and References

Discussion