MOCO

Consume MOCO API

Actions20

Overview

This node integrates with the MOCO API to manage company data, specifically supporting the deletion of a company by its ID. It is useful in scenarios where automated workflows need to remove company records from MOCO, such as cleaning up outdated or incorrect company entries. For example, a user can select a company from a dynamically loaded list or specify a company ID to delete that company from the MOCO system.

Use Case Examples

  1. Deleting a company record when it is no longer relevant to the business.
  2. Automating the removal of companies based on certain criteria in a workflow.

Properties

Name Meaning
Company Name or ID The identifier of the company to delete, which can be selected from a list of companies or specified directly as an ID.

Output

JSON

  • id - The unique identifier of the deleted company.
  • name - The name of the deleted company.
  • type - The type of the deleted company (e.g., customer, supplier).
  • message - Confirmation or status message returned after deletion.

Dependencies

  • Requires an API key credential for authenticating requests to the MOCO API.

Troubleshooting

  • Common issues include providing an invalid or non-existent company ID, which will result in an error from the MOCO API indicating the company could not be found.
  • API authentication errors if the provided API key credential is invalid or missing.
  • Network or connectivity issues preventing communication with the MOCO API.

Links

Discussion