Response errors and examples API Docs

Hi @expertoswp

This isn’t an API feature but one that can be found in the web interface too. The only restriction on clients is you can only have 1 with the same name. For example, “Company A Ltd” and “Company A Ltd” would be considered the same, but “Company A Ltd” and “Company A Limited” wouldn’t.

All errors are returned as JSON. For example, a duplicate client would return:

{
  "Errors": {
    "Error": [
      "A client record with this name already exists"
    ]
  }
}

Hope this helps.

1 Like