Printcart icon

Printcart

Consume Prinrcart API

Actions83

Overview

This node integrates with the Printcart API, allowing users to interact programmatically with various Printcart resources such as accounts, stores, products, designs, and more. Specifically, for the Account resource and the Get Store of Account operation, the node fetches a list of stores associated with an account, filtered by integration type (hardcoded as "shopify") and limited by a user-defined maximum number of results.

This node is beneficial in scenarios where automation workflows need to retrieve store information linked to a Printcart account, for example:

  • Synchronizing store data with other systems.
  • Triggering actions based on available stores.
  • Reporting or monitoring store configurations.

Practical example: A user wants to automatically fetch all Shopify-integrated stores under their Printcart account to update inventory or pricing in an external system.

Properties

Name Meaning
Authentication Method of authentication; currently supports only "API Token"
Limit Maximum number of store results to return when fetching stores for the account

Output

The node outputs a JSON array where each item corresponds to the response from the Printcart API for the requested operation.

For the Get Store of Account operation, the output JSON contains the list of stores associated with the account, including details provided by the Printcart API such as store identifiers, names, and possibly other metadata related to each store.

No binary data output is produced by this operation.

Dependencies

  • Requires an API token credential for authenticating requests to the Printcart API.
  • The node uses HTTP requests to https://api.printcart.com/v1/ endpoints.
  • The API token must be configured in n8n credentials before use.

Troubleshooting

  • Authentication errors: If the API token is invalid or missing, requests will fail. Ensure the API token credential is correctly set up.
  • Limit parameter issues: Setting the limit too high might cause performance issues or API rate limiting. Use reasonable limits.
  • Network or API availability: The node depends on the Printcart API being reachable. Network issues or API downtime will cause errors.
  • Error messages: Errors returned from the API are propagated. Common messages may include unauthorized access, invalid parameters, or resource not found. Review the error message and verify credentials and parameters.

Links and References

Discussion