1b.app
Link copied -

API personal account

Good afternoon. Tell me, please, we want to implement a personal account on the site. But I can't find the information I need in the CRM API reference.
So that the client can log in, see their orders, the amount spent and change basic information about themselves.
Original question is available on version: ru

Answers:

- Authorization - /api/contact-login/json/ , pass parameters login, password, userlogin (client login), userpassword (client password) and temporary=1 parameter to it
- In response to authorization, you will receive a restapihash, pass it to the method for receiving orders described here https://crm-onebox.com/en/api/orders/ - it will filter orders by client
- Information is also given during authorization, or separately through the receiving method here https://crm-onebox.com/ru/api/users/ , you will already have a client id
- To edit the profile, you need to call the /api/contact-update/json/ method, it is described here https://crm-onebox.com/en/api/users/
I advise you to send all requests via POST
15.01.2021, 10:31
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment