api-library icon indicating copy to clipboard operation
api-library copied to clipboard

API endpoint for Companies does not include owner

Open incentfit opened this issue 5 years ago • 0 comments

Bug Description

I'm not sure if this is a bug or an enhancement, but currently the API endoints for getting and listing companies does not return company owner information. Seems like a bug to me....I would think it would match the contacts endpoint on a GET request, which is documented here.

Q A
Mautic version 2.16.3
PHP version 7.2.24
Browser Chrome 84

Steps to reproduce

  1. Do a curl request to the Get Company endpoint as documented here.
  2. The result will not include an owner field, but it should.

Log errors


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

incentfit avatar Aug 13 '20 22:08 incentfit