Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions38

Overview

This node integrates with the Salla.sa e-commerce platform API to manage coupons. Specifically, the Delete Coupon operation allows users to remove a coupon from their Salla store by specifying its unique ID.

Common scenarios where this node is beneficial include:

  • Automating coupon lifecycle management by deleting expired or invalid coupons.
  • Cleaning up unused or test coupons in bulk workflows.
  • Integrating coupon deletion as part of broader order or promotion management automation.

For example, an e-commerce manager could use this node in an n8n workflow to automatically delete coupons that have reached their expiration date, ensuring customers only see valid discounts.

Properties

Name Meaning
ID The unique identifier of the coupon to delete. This is required to specify which coupon resource should be removed.

Output

The output of the Delete Coupon operation is the JSON response returned by the Salla API after attempting to delete the specified coupon. Typically, this will confirm successful deletion or provide error details if the operation failed.

The structure generally includes fields indicating the status of the deletion request. No binary data is output by this node.

Example output JSON might look like:

{
  "success": true,
  "message": "Coupon deleted successfully"
}

or in case of failure:

{
  "success": false,
  "message": "Coupon not found"
}

Dependencies

  • Requires an active connection to the Salla.sa e-commerce platform via an API key credential configured in n8n.
  • The node uses OAuth2 authentication to authorize API requests.
  • The user must have appropriate permissions on the Salla account to delete coupons.

Troubleshooting

  • Invalid ID Error: If the provided coupon ID does not exist or is malformed, the API will return an error. Verify the coupon ID before running the node.
  • Authentication Failure: Ensure the API credentials are correctly set up and have not expired.
  • Permission Denied: The authenticated user must have rights to delete coupons; otherwise, the API will reject the request.
  • Network Issues: Connectivity problems can cause request failures. Check network access to the Salla API endpoint.

If the node throws an error mentioning unsupported operations, verify that the Resource is set to "Coupon" and Operation to "Delete".

Links and References

Discussion