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 a digital product is no longer available or should be removed from the catalog.
Practical example:
If you have an automated workflow that manages your digital product catalog, you can use this node to delete outdated or discontinued digital products automatically based on certain triggers or conditions.
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, this will include confirmation of deletion or details about the deleted product.
- If the deletion fails, the output may contain error information.
- The node does not output binary data.
Dependencies
- Requires an active connection to the Salla.sa API via an OAuth2 API credential (an API key or token must be configured in n8n).
- The node uses internal helper functions to make authenticated HTTP requests to the Salla API endpoints.
- No additional external dependencies are needed beyond the configured API credentials.
Troubleshooting
Common issues:
- Providing an invalid or non-existent digital product ID will result in an error from the API.
- Missing or incorrect API credentials will cause authentication failures.
- Network connectivity issues can prevent successful API calls.
Error messages:
"The operation "delete" is not supported for digital products!"β This would indicate a misconfiguration or unsupported operation; however, per the code, "delete" is supported for digital products.- API errors returned from Salla (e.g., 404 Not Found if the ID does not exist) will be passed through and should be handled accordingly.
Resolution tips:
- Verify the digital product ID is correct and exists in your Salla store.
- Ensure the API credentials are valid and have sufficient permissions.
- Check network connectivity and retry if transient errors occur.
Links and References
- Salla API Documentation (for detailed API endpoint info and request/response formats)
- n8n documentation on creating custom nodes (for understanding node development concepts)
Summary of the Delete Operation for Digital Product
{
"operation": "delete",
"resource": "digitalProduct",
"parameters": {
"id": "string (required)"
},
"description": "Deletes a digital product by its ID from the Salla store."
}
This operation sends a DELETE request to /digital-products/{id} endpoint of the Salla API to remove the specified digital product.