http://127.0.0.1:8000/api/v1/registration/
Method: POST
requires email and password in the body
http://127.0.0.1:8000/api/token/
Method: POST
requires email and password in the body
It will provide an access token and refresh token. This access token is required for authentication in all the apis other than the registration api. Access token lasts for 5 minutes and Refresh token lasts for 24 hours.
"http://127.0.0.1:8000/api/v1/sales/"
Method: GET
"http://127.0.0.1:8000/api/v1/sales/<:id>/"
Method: GET
"http://127.0.0.1:8000/api/v1/sales/"
Method: POST
"http://127.0.0.1:8000/api/v1/sales/<:id>"
Method: PUT
http://127.0.0.1:8000/api/v1/sales_report/
Method: GET