Printcart icon

Printcart

Consume Prinrcart API

Actions83

Overview

This node integrates with the Printcart API, enabling users to manage various resources related to print-on-demand and design workflows. Specifically for the Design resource and the Get List of Font Design operation, it fetches the list of fonts used in a particular design by its ID.

Common scenarios where this node is beneficial include:

  • Retrieving font information from a specific design to analyze or reuse fonts.
  • Automating workflows that require fetching design font details for further processing or reporting.
  • Integrating design font data into other systems such as CMS, marketing tools, or design asset management platforms.

Example use case:

  • A user wants to get all fonts used in a design with ID 12345 to ensure brand consistency across multiple projects.

Properties

Name Meaning
Authentication Method of authentication; currently supports "API Token"
Design ID The unique identifier of the design for which to retrieve the list of fonts (required)

Output

The node outputs a JSON array containing the response from the Printcart API for the requested operation. For the Get List of Font Design operation, the output JSON includes the fonts associated with the specified design ID.

The structure typically contains font details such as font names, aliases, URLs, types, subsets, and other metadata as provided by the Printcart 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 the Printcart API endpoints using the provided credentials.
  • No additional external dependencies are required beyond the API access.

Troubleshooting

  • Invalid or missing Design ID: Ensure the Design ID property is correctly set and corresponds to an existing design in Printcart.
  • Authentication errors: Verify that the API token credential is valid and has sufficient permissions.
  • Network or API errors: Check network connectivity and Printcart API status. The node will throw errors if the API returns error responses.
  • Parameter retrieval issues: If parameters like "status.type" or "sort.type" are missing, the node defaults to safe values but logs warnings. This should not block execution but verify parameter correctness if unexpected results occur.

Links and References

Discussion