MYOB icon

MYOB

Interact with MYOB Business API - Sales Orders, Customers, Items, Invoices, and more

Actions12

Overview

This node integrates with the MYOB Business API to retrieve detailed information about a specific customer using their unique identifier (UID). It is useful in scenarios where you need to fetch customer data from MYOB for further processing, reporting, or integration with other systems. For example, you might use this node to pull customer details before creating an invoice or updating customer records in another application.

Properties

Name Meaning
Customer UID The unique ID of the customer to retrieve

Output

The node outputs a JSON object containing the full customer record as returned by the MYOB API. This includes all available fields related to the customer such as company name, contact details, addresses, and any other metadata stored in MYOB for that customer.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the MYOB Business API.
  • Requires an API authentication token credential configured in n8n to authorize requests.
  • The node uses the company file GUID from the credentials to target the correct MYOB company data.

Troubleshooting

  • Common issues:

    • Invalid or missing Customer UID will cause the request to fail.
    • Network or authentication errors if the API key/credential is not properly set up.
    • If the customer UID does not exist in MYOB, the API may return an error or empty response.
  • Error messages:

    • "Failed to retrieve first page of customers from MYOB": Indicates an issue fetching data, possibly due to invalid credentials or network problems.
    • "MYOB Order with UID ... not found" or similar: Means the specified UID does not exist.
    • "No input data received": Happens if the node is executed without any input items.
  • Resolutions:

    • Verify the Customer UID is correct and exists in MYOB.
    • Ensure the API authentication token is valid and has necessary permissions.
    • Check network connectivity and MYOB service status.

Links and References

Discussion