Magnet Customer icon

Magnet Customer

Consume Magnet Customer API

Deal → Delete

AI-generated

Overview

This node deletes a deal in the Magnet Customer system using the provided Deal ID. It is useful for automating the removal of deals from the CRM, for example, when a deal is no longer valid or was created by mistake.

Use Case Examples

  1. Automatically delete a deal when it is marked as lost in another system.
  2. Remove deals that have expired or are duplicates to keep the CRM clean.

Properties

Name Meaning
Authentication Method of authentication to use for the API request, either API Token or OAuth2.
Deal ID The unique identifier of the deal to delete. This is required to specify which deal to remove.

Output

JSON

  • json - The JSON response from the API after attempting to delete the deal, typically confirming deletion or providing error details.

Dependencies

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

Troubleshooting

  • Ensure the Deal ID is correct and exists in the Magnet Customer system; otherwise, the deletion will fail.
  • Check that the authentication credentials (API Token or OAuth2) are valid and have sufficient permissions to delete deals.
  • If the node throws an error, verify network connectivity and API endpoint availability.

Links

Discussion