Magnet Customer icon

Magnet Customer

Consume Magnet Customer API

Customer → Delete

AI-generated

Overview

This node interacts with the Magnet Customer API to perform operations related to customers. Specifically, for the 'Customer' resource and 'Delete' operation, it deletes a customer record identified by a given customer ID. This is useful in scenarios where you need to programmatically remove customer data from the Magnet Customer system, such as cleaning up outdated or incorrect customer entries.

Use Case Examples

  1. Deleting a customer by their unique ID to maintain an up-to-date customer database.
  2. Automating customer data management workflows by removing customers who have unsubscribed or are no longer relevant.

Properties

Name Meaning
Authentication Selects the authentication method to use for the API request (API Token or OAuth2).
Contact ID The unique identifier of the customer to delete. This is a required field for the delete operation on the customer resource.

Output

JSON

  • json - The JSON response from the Magnet Customer API after attempting to delete the specified customer. This typically contains confirmation of deletion or error details if the operation failed.

Dependencies

  • Requires an API key credential or OAuth2 token for authenticating requests to the Magnet Customer API.

Troubleshooting

  • Ensure the provided Contact ID is correct and exists in the Magnet Customer system; otherwise, the delete operation will fail.
  • Verify that the authentication credentials (API Token or OAuth2) are valid and have sufficient permissions to delete customer records.
  • Common error messages may include authorization errors if credentials are invalid or permission errors if the user lacks delete rights. Check and update credentials accordingly.
  • If the node fails with an error, enabling debug logs may provide more insight into the issue.

Discussion