Printcart icon

Printcart

Consume Prinrcart API

Actions83

Overview

This node integrates with the Printcart API to manage various resources related to print-on-demand projects, products, designs, stores, and more. Specifically, for the Project Folder resource and the Get List of Folder by Project operation, it retrieves a list of folders associated with a given project ID.

Typical use cases include:

  • Organizing project assets by fetching all folders under a specific project.
  • Automating workflows that require accessing folder structures within a project.
  • Integrating Printcart project folder data into other systems or processes.

For example, you might use this node to get all folders in a project to then process or sync their contents elsewhere.

Properties

Name Meaning
Authentication Method of authentication; currently supports "API Token" only.
Project ID The unique identifier of the project for which to retrieve the list of folders.

Output

The node outputs an array of JSON objects representing the folders retrieved from the Printcart API for the specified project. Each object corresponds to a folder's details as returned by the API.

The output is structured as:

[
  {
    // Folder properties as provided by the Printcart API,
    // e.g., id, name, parent folder, creation date, etc.
  },
  ...
]

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 requests to the Printcart API endpoints using the provided credentials.
  • No additional external services or environment variables are required beyond the API token.

Troubleshooting

  • Authentication Errors: If the API token is invalid or missing, the node will fail to authenticate. Ensure a valid API token is configured in the node credentials.
  • Invalid Project ID: Providing an incorrect or non-existent project ID will result in an error or empty response. Verify the project ID before running the node.
  • API Rate Limits or Downtime: The Printcart API may enforce rate limits or experience downtime. In such cases, requests may fail temporarily.
  • Network Issues: Connectivity problems can cause request failures. Check network access to the Printcart API endpoint.
  • Error Handling: If the node is set to continue on failure, errors will be included in the output JSON with an error field describing the issue.

Links and References

Discussion