MOCO

Consume MOCO API

Actions20

Overview

This node interacts with the MOCO API to manage company data. Specifically, the 'Company: Get' operation retrieves detailed information about a single company by its ID or name. This is useful for scenarios where you need to fetch company details for reporting, integration, or automation workflows within MOCO's system.

Use Case Examples

  1. Retrieve detailed information about a specific company by selecting it from a list or providing its ID.
  2. Use the node in a workflow to fetch company data and then use that data to update other systems or generate reports.

Properties

Name Meaning
Company Name or ID The identifier of the company to retrieve. Can be selected from a list of companies or specified using an expression. This property is required and must be a number.

Output

JSON

  • id - The unique identifier of the company.
  • name - The name of the company.
  • type - The type of the company (e.g., customer, supplier).
  • currency - The currency used by the company (if applicable).
  • identifier - The identifier of the company.
  • countryCode - The country code of the company.
  • vatIdentifier - The VAT identifier of the company.
  • alternativeCorrespondenceLanguage - The alternative correspondence language for the company.
  • website - The company's website URL.
  • fax - The company's fax number.
  • phone - The company's phone number.
  • email - The company's email address.
  • billingEmailCc - The billing email CC address.
  • address - The company's address.
  • info - Additional information about the company.
  • customProperties - Custom properties defined for the company.
  • tags - Tags associated with the company.
  • footer - Footer information for the company.

Dependencies

  • MOCO API with authentication via an API key credential

Troubleshooting

  • Ensure the company ID provided is valid and exists in the MOCO system to avoid 'not found' errors.
  • Check API credentials and permissions if the node fails to authenticate or access company data.
  • If the node returns an error about missing required parameters, verify that the 'Company Name or ID' property is correctly set and is a number.

Links

Discussion