Actions80
- Account Actions
- Clipart Actions
- Clipart Storage Actions
- Design Actions
- Font Actions
- Image Actions
- Product Actions
- Project Actions
- Project Folder Actions
- Side Actions
- Storage Actions
- Store Actions
- Template Actions
- Webhook Actions
Overview
This node integrates with the Printcart API to manage various resources related to print-on-demand products, including fonts. Specifically, for the Font resource and the Get a List of Fonts Default operation, it retrieves a list of default fonts available in the Printcart system.
Common scenarios where this node is beneficial include:
- Fetching available fonts to display in a design tool or product customization interface.
- Synchronizing font lists from Printcart into another system or database.
- Automating workflows that require up-to-date font information for product designs.
For example, a user might use this node to get the top 10 default fonts sorted by their ID in descending order to populate a dropdown menu in a custom app.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication; currently supports "API Token" |
| Limit | Maximum number of font results to return (minimum 10) |
| Sort | Sorting direction for the results; option values: "Desc" (descending), "Asc" (ascending) |
| Sort By | Field by which to sort the font list; defaults to "id" |
Output
The node outputs a JSON array containing font objects retrieved from the Printcart API. Each object represents a font with properties such as name, alias, URL, type, subset, and other metadata provided by the API.
No binary data output is involved in this operation.
Example output structure (simplified):
[
{
"id": 123,
"name": "Open Sans",
"alias": "open_sans",
"url": "https://fonts.printcart.com/open_sans.ttf",
"type": "google",
"subset": "latin"
},
...
]
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/fontswith query parameters for limit, sort, and sortBy. - No additional external dependencies beyond standard HTTP request capabilities.
Troubleshooting
- Authentication errors: Ensure the API token credential is correctly configured and has sufficient permissions.
- Invalid parameter values: The "Limit" must be at least 10; setting lower values may cause errors or unexpected behavior.
- Sort parameters missing or invalid: If sorting options are not set properly, the node defaults to descending order by ID.
- Network issues: Verify network connectivity to the Printcart API endpoint.
- API rate limits or downtime: Check Printcart service status if requests fail repeatedly.
If the node throws errors related to request failures, inspect the error message for HTTP status codes and messages returned by the API to guide resolution.
Links and References
- Printcart API Documentation (hypothetical link)
- n8n documentation on HTTP Request Node for understanding underlying request mechanics