Magnet Customer icon

Magnet Customer

Consume Magnet Customer API

Treatment Type → Delete

AI-generated

Overview

This node deletes a Treatment Type resource in the Magnet Customer system using the specified Treatment Type ID. It is useful for scenarios where you need to remove obsolete or incorrect treatment types from your CRM or customer management system to keep your data clean and up to date.

Use Case Examples

  1. Deleting a treatment type that is no longer offered by a healthcare provider.
  2. Removing a mistakenly created treatment type from the system.

Properties

Name Meaning
Authentication Selects the authentication method to use for the API request, either API Token or OAuth2.
Type ID The unique identifier of the Treatment Type to delete. This is a required field.

Output

JSON

  • json - The JSON response from the API after attempting to delete the Treatment Type, typically indicating success or failure.

Dependencies

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

Troubleshooting

  • Ensure the Treatment Type ID is correct and exists in the system; otherwise, the delete operation will fail.
  • Check that the authentication credentials (API Token or OAuth2) are valid and have sufficient permissions to delete Treatment Types.
  • Common error messages may include authorization errors or resource not found errors if the ID is invalid.

Discussion