treopim icon indicating copy to clipboard operation
treopim copied to clipboard

REST API docs

Open ariaenggar opened this issue 5 years ago • 2 comments

I'm looking for REST API docs (for developers), the link in the Readme only points to https://github.com/treolabs/treopim/tree/master/docs that contains user guide and administration guide.

Anyone know where to look? I need to connect treopim to prestashop.

ariaenggar avatar Jul 23 '20 07:07 ariaenggar

Me too, from the website API Documentation points here: https://demo.treopim.com/apidocs/index.html

But it seems demo.treopim.com is unreachable

enrico-atzeni avatar Aug 22 '20 08:08 enrico-atzeni

The only thing I found useful is by using the XHR url from browser dev tools.

e.g. for Product list: /api/v1/Product

The authentication method is basic auth so you must prepend : in front of url e.g. http://:@/api/v1/Product

Update:

Since TreoPIM is based on EspoCRM, I think we can use the documentation from EspoCRM here: https://docs.espocrm.com/development/api/

ariaenggar avatar Aug 22 '20 09:08 ariaenggar