Using Postman
https://www.postman.com/downloads/
Once downloaded, set it up and open the application
Then click on New Collection
It will appear on the left menu.
It is advisable to name it “Prod/Dev/”
Then click on “New Request”
Name it above
In Git, you will find the corresponding API call
https://github.com/metakocka/metakocka_api_base
Post is for creating a record
Get is for reading data
Search is for querying with parameters.
Example: I want to create a sales order.
I need »put_document« or POST
Take the URL and JSON from Git
insert it into the Body (select JSON)
Then modify the data in JSON.
Obtain the company_id/secret key
Example of a response in case of an error:
Example of a response if everything is correct: