Actions38
- Order Actions
- Product Actions
- Customer Actions
- Address Actions
- Special Offer Actions
- Coupon Actions
- Shipment Actions
- Digital Product Actions
Overview
This node integrates with the Salla.sa e-commerce platform API to manage various resources, including digital products. Specifically, for the Digital Product resource, it supports operations such as retrieving a single digital product, listing all digital products, creating, updating, and deleting digital products.
The Delete operation for Digital Product allows users to remove a digital product from their Salla store by specifying its unique ID. This is useful in scenarios where digital products are discontinued, outdated, or no longer available for sale.
Practical example:
A user wants to automate the cleanup of expired or obsolete digital products from their online store. By using this node with the Digital Product resource and Delete operation, they can programmatically delete these products based on certain criteria or triggers.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the digital product to delete. This is a required string input. |
Output
- The output JSON contains the response from the Salla API after attempting to delete the specified digital product.
- Typically, a successful delete operation returns confirmation data or an empty object indicating the resource was removed.
- If the deletion fails (e.g., invalid ID), the output will contain error information.
- The node does not output binary data for this operation.
Dependencies
- Requires an API authentication token credential configured in n8n to authenticate requests to the Salla API.
- Depends on the internal helper functions (
sallaApiRequestandsallaApiRequestAllItems) to make HTTP requests to the Salla API endpoints. - No additional external dependencies beyond the Salla API and proper credential setup.
Troubleshooting
Common issues:
- Providing an invalid or non-existent digital product ID will cause the API to return an error.
- Missing or incorrect API credentials will result in authentication errors.
- Network connectivity issues may prevent the node from reaching the Salla API.
Error messages:
"The operation "delete" is not supported for digital products!"— This would indicate a misconfiguration or unsupported operation, but according to the code, delete is supported, so this should not occur for the Digital Product resource.- API errors returned from Salla (e.g., 404 Not Found if the ID does not exist) will be passed through and can be seen in the node's error output.
Resolution tips:
- Verify the digital product ID is correct and exists in your Salla store.
- Ensure the API key or OAuth2 credentials are valid and have sufficient permissions.
- Check network connectivity and firewall settings that might block API calls.
Links and References
- Salla API Documentation (general reference for API endpoints and usage)
- n8n documentation on creating custom nodes
- OAuth2 and API credential setup in n8n for secure authentication
If you need details on other operations or resources, feel free to ask!