IKAS icon

IKAS

Consume IKAS e-commerce platform API

Overview

This node integrates with the IKAS e-commerce platform API, specifically allowing management of webhooks among other resources. The Webhook - Delete operation enables users to delete one or more webhooks based on specified event scopes. This is useful for cleaning up or managing webhook subscriptions that are no longer needed or relevant.

Practical scenarios include:

  • Removing webhook subscriptions for events like "Order Created" or "Product Updated" when those notifications are no longer required.
  • Managing webhook lifecycle programmatically as part of automation workflows to keep integrations tidy and efficient.

Properties

Name Meaning
Event Scopes The event scopes of webhooks to delete. Options include:
- Customer Created
- Customer Favorite Products Created
- Customer Favorite Products Updated
- Customer Updated
- Order Created
- Order Updated
- Product Created
- Product Updated
- Stock Created
- Stock Updated

Users must select one or more event scopes corresponding to the webhook events they want to delete.

Output

The node outputs JSON data representing the result of the delete operation for each input item. The structure typically contains confirmation or status information about the deleted webhooks. If an error occurs during deletion, the output will contain an error message in the JSON under the error key.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the IKAS e-commerce platform API.
  • The node uses the base URL https://api.myikas.com/api/v1/admin.
  • No additional external dependencies beyond the IKAS API and n8n's standard HTTP request capabilities.

Troubleshooting

  • Common issues:

    • Selecting event scopes that do not correspond to existing webhooks may result in no action or errors.
    • Network or authentication failures can prevent successful deletion.
  • Error messages:

    • "Resource "webhook" is not yet implemented": Indicates a misconfiguration or unsupported resource; should not occur for "webhook".
    • "Operation "delete" is not yet implemented for resource "webhook": Indicates the delete operation is missing; also should not occur here.
    • API errors returned from IKAS (e.g., unauthorized, not found) will be surfaced in the node output as error messages.
  • Resolutions:

    • Verify the API key credential is valid and has sufficient permissions.
    • Confirm the selected event scopes correspond to active webhooks.
    • Check network connectivity and IKAS API status.

Links and References

Discussion