Forum Discussion

SutharsanNulo's avatar
6 years ago

Items are not shown via API

Hi

 

If I call Inventory/Item endpoint it returns nothing, Later I found there were no Items in the Company files. So I added few test items (Active). But still couldn't get them.  I tried to send a POST request to create to the same endpoint which is also not working and return empty response

Please help to solve the issue

  • Hi,

     

    This sounds you are not specifying the v2 versionof the api.

     

    See the following page and specifically the 

    x-myobapi-version: v2

    https://developer.myob.com/api/accountright/v2/

     

    You can also specify the version via the api-version=v2 parameter in the url. Useful when testing local data files hosted on your own machine via the browser.