Skip to content

ch4zzy/checks-api-apiview

Repository files navigation

Checks-api using APIView only

Endpoints

GET, POST.

~/api/check/ - get list or create check.
~/api/printer/ - get list or create printer.
GET, PUT, DELETE.

~/api/check/<int:pk>/ - get, update or delete check.
~/api/printer/<int:pk>/ - get, update or delete printer.
POST.

~/api/check/create/ - create check based on printers.
POST DATA.

{
  "point_id": 1,
  "order": {
    "order_id": 2,
    "item": "Milk",
    "quantity": 2,
    "price": 10.99
  }
}
GET, PUT.

~/api/check/<int:pk>/update/ - print check and update status.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published