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 products and related resources. Specifically, for the Product resource with the Get List of Products operation, it retrieves a list of products from the Printcart platform. This is useful in scenarios where you want to fetch product data for display, reporting, synchronization, or further automation workflows.
For example, an e-commerce manager might use this node to pull the latest product catalog into their system, filter products by status (published, draft, trashed), and sort them by various fields such as ID or name. This enables automated inventory updates or integration with other sales channels.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication; currently supports "API Token" |
| Limit | Maximum number of product results to return (minimum 10) |
| Sort | Collection specifying sorting order: - Type: "Desc" (descending) or "Asc" (ascending) |
| Sort By | Field by which to sort the products, default is "id" |
| Get By Status | Filter products by status: - Publish - Draft - Trashed |
Output
The output is a JSON array containing the list of products retrieved from the Printcart API. Each item in the array represents a product object with its associated properties as returned by the API.
No binary data output is produced by this operation.
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/productswhere
{sid}and{secret}are credentials obtained from the API token.The node expects the following n8n configurations:
- Credential setup for the API token.
- Proper network access to
api.printcart.com.
Troubleshooting
Common Issues:
- Invalid or missing API token credential will cause authentication failures.
- Network connectivity issues may prevent reaching the Printcart API.
- Providing invalid values for parameters like
limit(less than 10) or unsupported status types may result in errors or empty responses.
Error Messages:
- Authentication errors typically indicate invalid or expired API tokens. Re-authenticate or update the token.
- HTTP 4xx or 5xx errors from the API suggest request parameter issues or server problems. Verify parameters and retry later.
- If the node logs "Sort parameter not found. Using default value." or "Status parameter not found. Using default value.", it means optional parameters were omitted and defaults are applied.
Links and References
- Printcart API Documentation (Assumed URL based on API domain)
- n8n Documentation on Creating Custom Nodes
- General REST API usage in n8n: HTTP Request Node