Printcart icon

Printcart

Consume Prinrcart API

Actions83

Overview

This node integrates with the Printcart API, enabling automation of various Printcart resources and operations. Specifically, for the Project Folder resource and the Create New Project Folder operation, it allows users to create a new project folder by specifying a storage location and an associated project.

Typical use cases include:

  • Organizing projects within specific storage categories programmatically.
  • Automating project folder creation as part of a larger workflow involving project management or digital asset organization.
  • Integrating Printcart project folder management into broader e-commerce or design pipelines.

Example: Automatically creating a new project folder in a designated storage area when a new project is initiated in your system.

Properties

Name Meaning
Authentication Method of authentication; currently supports "API Token"
Storage ID The identifier of the storage category where the new project folder will be created.
Project ID The identifier of the project to associate with the new project folder (optional).

Output

The node outputs JSON data representing the response from the Printcart API after creating the project folder. This typically includes details about the newly created project folder such as its ID, associated storage category, linked project, timestamps, and other metadata returned 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 requests to https://api.printcart.com/v1/project-folder endpoint.
  • Proper configuration of the API token credential in n8n is necessary.
  • Network access to the Printcart API must be available.

Troubleshooting

  • Authentication errors: Ensure that the API token credential is correctly configured and has sufficient permissions.
  • Invalid Storage ID or Project ID: Verify that the provided IDs exist and are valid in the Printcart system.
  • Network issues: Confirm that the n8n instance can reach the Printcart API endpoint.
  • API errors: The node returns error messages from the Printcart API; check these messages for details on invalid parameters or server issues.
  • If the node is set to continue on fail, errors for individual items will be included in the output JSON under an error field.

Links and References

Discussion