Actions83
- 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 interacts with the Printcart API to update an existing design resource. It allows users to modify various attributes of a design such as associated side, preview image, design image, notes, uploader status, design status, and viewport dimensions. This operation is useful in scenarios where you need to programmatically update design details within a Printcart-powered print-on-demand or product customization platform.
Practical examples include:
- Updating the preview or main image of a design after edits.
- Changing the status of a design (e.g., from processing to accepted).
- Modifying viewport dimensions to adjust how the design appears on products.
- Adding or updating notes related to the design for internal tracking.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication; only "API Token" is supported. |
| Design ID | The unique identifier of the design to update. |
| Side ID | Identifier of the side associated with the design. |
| Preview Image ID | Identifier of the preview image linked to the design. |
| Design Image ID | Identifier of the main design image. |
| Note | A textual note or comment about the design. |
| Uploader | Boolean flag indicating if the user is the uploader of the design. |
| Status | Collection containing the design's status type. Options: Processing, Accepted, Trashed, Declined. |
| Viewport Width | Numeric value representing the width of the viewport for the design display. |
| Viewport Height | Numeric value representing the height of the viewport for the design display. |
Output
The output is a JSON array containing the response from the Printcart API after the update request. The structure corresponds to the updated design object returned by the API, which typically includes all current properties of the design such as IDs, images, notes, status, viewport dimensions, and uploader information.
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 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: The operation requires a valid design ID. Ensure the ID is correct and exists in the Printcart system.
- Authentication errors: If the API token is invalid or expired, requests will fail. Verify that the API token credential is correctly configured and active.
- Status value issues: The status must be one of the predefined options ("processing", "accepted", "trashed", "declined"). Using unsupported values may cause errors.
- Network or API endpoint errors: Check network connectivity and ensure the Printcart API service is reachable.
- Permission errors: The API token used must have sufficient permissions to update designs.
Common error messages usually come directly from the Printcart API and should be interpreted according to their content, e.g., "Unauthorized" indicates authentication failure, "Not Found" indicates an invalid design ID, etc.
Links and References
- Printcart API Documentation (general reference for API endpoints and data structures)
- n8n documentation on HTTP Request Node for understanding underlying request mechanics (if needed)