Add Order
POST {{BASE_URL}}/order
Request Body
{"type"=>"take-away", "discount"=>0, "is_paid"=>true, "tax"=>0, "payment_method"=>"cash", "customer"=>{"name"=>"Joginder", "mobile"=>"1234567890"}, "recipes"=>[{"id"=>"e54a1ffe-f2d1-4845-9a54-a84635df0007", "quantity"=>1}, {"id"=>"738308b4-c21f-496f-99db-72df70bf5775", "quantity"=>1}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |