ConnectWise Manage icon

ConnectWise Manage

Consume ConnectWise Manage API

Overview

This node integrates with the ConnectWise Manage API to perform operations on various resources, including the Product Catalog. Specifically, for the Product Catalog - Delete operation, it deletes a product catalog item identified by its Product ID.

Common scenarios where this node is beneficial include automating inventory management workflows, such as removing obsolete or discontinued products from the catalog automatically based on external triggers or business rules. For example, when a product is no longer available or has been replaced, this node can be used in an automation workflow to delete that product entry from ConnectWise Manage without manual intervention.

Properties

Name Meaning
Product ID The unique identifier of the product catalog item to delete. This is a required string input.

Output

The output JSON contains the response from the ConnectWise Manage API after attempting to delete the specified product catalog item. Typically, for a delete operation, the API may return an empty object or confirmation of deletion. The exact structure depends on the API's response but generally confirms success or failure.

No binary data output is produced by this operation.

Example output JSON might look like:

{}

or an error message if deletion failed.

Dependencies

  • Requires an active connection to the ConnectWise Manage API.
  • Needs an API authentication credential configured in n8n (an API key or token).
  • The node uses the base URL of the ConnectWise Manage instance (siteUrl) provided by the credential.
  • The node makes authenticated HTTP DELETE requests to the endpoint /procurement/catalog/{productId}.

Troubleshooting

  • Common Issues:

    • Invalid or missing Product ID: The node requires a valid Product ID; ensure this is correctly provided.
    • Authentication errors: Ensure the API credentials are valid and have sufficient permissions to delete product catalog items.
    • Network or connectivity issues: Verify that the ConnectWise Manage API endpoint is reachable from the n8n environment.
    • Insufficient permissions: The API user must have rights to delete product catalog entries.
  • Error Messages:

    • "Operation 'delete' is not supported for resource 'productCatalog'": This would indicate a misconfiguration or unsupported operation; however, the code supports delete for productCatalog.
    • API request failures will throw errors with messages from the ConnectWise Manage API, which should be reviewed for details.
    • If the Product ID does not exist, the API may return a 404 error indicating the item was not found.

To resolve errors:

  • Double-check the Product ID value.
  • Confirm API credentials and permissions.
  • Review API response body logged in error messages for specific causes.

Links and References


This summary is based solely on static analysis of the provided source code and property definitions.

Discussion