{"info":{"_postman_id":"b4c758b0-331d-4bc6-8ce1-4d5f1f1154b5","name":"FOODBUDDY User","description":"<html><head></head><body><p>Welcome to the FoodBuddy API documentation. FoodBuddy is a restaurant aggregator to bridge the gap between users, restaurants, and administrators, offering a robust set of features for seamless interaction and transaction management within the food industry.</p>\n<p>This API Documentation is built to provide efficient and secure access to the various functionalities of the FoodBuddy platform, enabling you to integrate and interact with our services programmatically. This documentation covers all the available API routes, categorized by their functionality, to help you navigate and utilize our API effectively.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"32055383","collectionId":"b4c758b0-331d-4bc6-8ce1-4d5f1f1154b5","publishedId":"2sA3e488Sh","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-07-21T11:44:30.000Z"},"item":[{"name":"ADMIN AUTHENTICATION","item":[{"name":"Admin Login","id":"57972dfb-3a12-4eac-b8c1-5e90795445ec","protocolProfileBehavior":{"disableBodyPruning":true,"strictSSL":false,"followRedirects":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"lijuthomasliju03@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/admin/login","description":"<p><strong>Description</strong>: The Admin Login section allows authorized administrators to access the Foodbuddy system securely. By verifying the provided email against the Admin List, administrators can receive a temporary login mail to facilitate access to administrative functions.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li>The email(string) parameter is a required field for the admin login request. It should contain the email address associated with the admin account for authentication purposes.</li>\n</ul>\n","urlObject":{"path":["api","v1","auth","admin","login"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"5e442ba9-50d9-491a-87f2-a3969278afff","name":"Success","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"lijuthomasliju03@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/admin/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 08:53:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"108"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Verification link sent successfully. Please verify via that. Link expires soon .\",\n    \"status\": true\n}"}],"_postman_id":"57972dfb-3a12-4eac-b8c1-5e90795445ec"}],"id":"fc3ea8b2-0536-46b9-8281-10adf2d2f741","description":"<p>The ADMIN AUTHENTICATION section provides secure access for administrators to log in and manage the Foodbuddy platform. Users can authenticate themselves to access privileged functionalities and maintain control over the system.</p>\n","_postman_id":"fc3ea8b2-0536-46b9-8281-10adf2d2f741"},{"name":"USER AUTHENTICATION","item":[{"name":"User Signup via Email","id":"75b0e28c-7ea5-4483-a40c-bd3a4780f58c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"lijuthomas\",\n    \"email\":\"motoya6968@hostbyt.com\",\n    \"phone_number\":8293829822,\n    \"password\":\"Lijuthomas@123\",\n    \"confirmpassword\":\"Lijuthomas@123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/user/email/signup","description":"<p>The USER AUTHENTICATION section in the Foodbuddy API allows users to securely authenticate themselves before accessing protected resources. By utilizing this section, users can verify their identity and ensure that only authorized individuals can interact with the platform's features. This functionality enhances the overall security of the application and safeguards user data.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li><p>The name(string) of the user signing up via email.</p>\n</li>\n<li><p>The email(string) address of the user signing up.</p>\n</li>\n<li><p>The phone_number(number) of the user signing up.</p>\n</li>\n<li><p>The password(string) of the user signing up.</p>\n</li>\n<li><p>The confirmpassword(string) of the user signing up.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","auth","user","email","signup"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"e5d89dd2-da22-43e2-91af-0923368a0b44","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"lijuthomas\",\n    \"email\":\"lijuthomasliju03@gmail.com\",\n    \"phone_number\":8293829822,\n    \"password\":\"Lijuthomas@123\",\n    \"confirmpassword\":\"Lijuthomas@123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/user/email/signup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 08:53:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"258"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache, no-store, no-transform, must-revalidate, private, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"user\": {\n            \"block_status\": false,\n            \"email\": \"lijuthomasliju03@gmail.com\",\n            \"login_method\": \"email\",\n            \"name\": \"lijuthomas\",\n            \"phone_number\": 8293829822,\n            \"picture\": \"\"\n        }\n    },\n    \"message\": \"Email login successful, please login to complete your email verification\",\n    \"status\": true\n}"}],"_postman_id":"75b0e28c-7ea5-4483-a40c-bd3a4780f58c"},{"name":"User Login via Email","id":"8165a247-a542-4f06-8db9-ff24af3b925e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"motoya6968@hostbyt.com\",\n    \"password\": \"Lijuthomas@123\" //Lijuthomas@123\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/user/email/login","description":"<p>This section enables users to securely log in to their account using their email and password. By providing the necessary credentials, users can gain access to personalized features and information within the Foodbuddy platform.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li><p>The email(string) address of the user signing up.</p>\n</li>\n<li><p>The password(string) of the user signing up.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","auth","user","email","login"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"ca6c38b0-894b-413c-a134-54d8b7ad4e1b","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"lijuthomasliju03@gmail.com\",\n    \"password\": \"Lijuthomas@123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/user/email/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 09:02:37 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"209"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Set-Cookie","value":"Authorization=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImxpanV0aG9tYXNsaWp1MDNAZ21haWwuY29tIiwiZXhwIjoxNzIzMTk0MTU3LCJyb2xlIjoidXNlciJ9.gVCrGfk-V82ClPZvTzkNwKoKJeRG4-iEJUslxqRb1nk; Path=/; Max-Age=2592000; HttpOnly; SameSite=Lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"user\": {\n            \"block_status\": false,\n            \"email\": \"lijuthomasliju03@gmail.com\",\n            \"login_method\": \"email\",\n            \"name\": \"lijuthomas\",\n            \"phone_number\": 8293829822,\n            \"picture\": \"\"\n        }\n    },\n    \"message\": \"Email login successful.\",\n    \"status\": true\n}"}],"_postman_id":"8165a247-a542-4f06-8db9-ff24af3b925e"},{"name":"User Login/Signup via GoogleSSO","id":"9e1991bb-14ff-45fc-a020-1648816bbbce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/google/login","description":"<p>Enable users to securely login or signup using their Google account through the Foodbuddy platform. This feature streamlines the authentication process and provides a seamless user experience, enhancing user engagement and retention.</p>\n","urlObject":{"path":["api","v1","auth","google","login"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e1991bb-14ff-45fc-a020-1648816bbbce"}],"id":"49193c99-3752-40b5-a993-0a0106fd4c79","description":"<p>The USER AUTHENTICATION section in the Foodbuddy API allows users to securely authenticate themselves before accessing protected resources. By utilizing this section, users can verify their identity and ensure that only authorized individuals can interact with the platform's features. This functionality enhances the overall security of the application and safeguards user data.</p>\n","_postman_id":"49193c99-3752-40b5-a993-0a0106fd4c79"},{"name":"PASSWORD RESET","item":[{"name":"Sent Password Reset Email","id":"ac8886d6-3ad3-4329-b7cc-5793a8834bc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"lijuthomasliju03@gmail.com\",\n    \"role\":\"user\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/passwordreset/step1","description":"<p>This section allows users to initiate a password reset process by sending an email to the specified user or restaurant based on their role. By providing the email address and role of the account, users can trigger the password reset flow and receive further instructions via email.: Sends a password reset email to the user or restaurant based on</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li><p>The email(string) address associated with the user account for which the password reset email will be sent.</p>\n</li>\n<li><p>The role(string) of the en tity (e.g.,user,restaurant) requesting the password reset. This parameter helps to determine the appropriate permissions and actions for the password reset process.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","auth","passwordreset","step1"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"78944e7a-67a8-4eac-bf1b-1559052153b4","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"foodbuddycode@gmail.com\",\n    \"role\":\"restaurant\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/passwordreset/step1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 09:00:14 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"70"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully sent the password reset email\",\n    \"status\": true\n}"}],"_postman_id":"ac8886d6-3ad3-4329-b7cc-5793a8834bc2"},{"name":"Update Password via Reset Mail","id":"692afeb2-9fb1-4297-8406-93a7570d2293","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/passwordreset?email=lijuthomasliju03@gmail.com&token=3e1c532c-f223-4e48-8be2-7549ea7447f6&role=user","description":"<p>This section allows users to update their password via a reset email link. Users, whether they are customers or restaurants, can easily reset and set a new password for their accounts by following the instructions in the email. This functionality ensures secure access to their accounts in the Foodbuddy platform.</p>\n","urlObject":{"path":["api","v1","auth","passwordreset"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"email","value":"lijuthomasliju03@gmail.com"},{"key":"token","value":"3e1c532c-f223-4e48-8be2-7549ea7447f6"},{"key":"role","value":"user"}],"variable":[]}},"response":[{"id":"77a462ae-c1b4-45fb-8890-b58bc7170496","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/passwordreset?email=foodbuddycode@gmail.com&token=PX0fFa4bmE&role=restaurant","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","auth","passwordreset"],"query":[{"key":"email","value":"foodbuddycode@gmail.com"},{"key":"token","value":"PX0fFa4bmE"},{"key":"role","value":"restaurant"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 09:00:51 GMT"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"<!DOCTYPE html>\n<html lang=\"en\">\n    <head>\n        <meta charset=\"UTF-8\">\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n        <title>Reset Password</title>\n    </head>\n    <body>\n        <h2>Reset Your Password</h2>\n        <form id=\"resetPasswordForm\" action=\"/api/v1/auth/passwordreset/step2\" method=\"POST\">\n            <input type=\"hidden\" name=\"email\" value=\"foodbuddycode@gmail.com\">\n            <input type=\"hidden\" name=\"role\" value=\"restaurant\">\n            <input type=\"hidden\" name=\"token\" value=\"PX0fFa4bmE\">\n            <label for=\"password1\">New Password:</label>\n            <input type=\"password\" id=\"password1\" name=\"password1\" required>\n            <label for=\"password2\">Confirm New Password:</label>\n            <input type=\"password\" id=\"password2\" name=\"password2\" required>\n            <button type=\"submit\">Reset Password</button>\n        </form>\n    </body>\n</html>"}],"_postman_id":"692afeb2-9fb1-4297-8406-93a7570d2293"},{"name":"Update Password Step2","id":"95ee7151-673c-4c1f-b1cc-06b948cb9ca4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"lijuthomasliju03@gmail.com\",\n    \"role\":\"user\",\n    \"token\":\"f9cf6caf-875e-4006-87b3-e0c8ff559304\",\n    \"password1\":\"Lijuthomas@123\",\n    \"password2\":\"Lijuthomas@123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/passwordreset/step2","description":"<p>This section allows users to update their password by providing their email, role, and token received from a previous step. It dynamically handles password requests based on the specified role, ensuring secure updates for both users and restaurants. By utilizing this section, users can efficiently manage their account security through a streamlined password update process.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li><p>The email(string) address associated with the entity account.</p>\n</li>\n<li><p>The role(string) of the user within the system (e.g., user, restaurant).</p>\n</li>\n<li><p>A unique token(string) used for authentication and authorization purposes.</p>\n</li>\n<li><p>password1(string) - The new password that the user wants to update their account with.</p>\n</li>\n<li><p>password2(string) - The confirmation of the new password entered by the user for updating their account.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","auth","passwordreset","step2"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"1b45ed2c-598a-470b-844a-00149222fa58","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"foodbuddycode@gmail.com\",\n    \"role\":\"restaurant\",\n    \"token\":\"PX0fFa4bmE\",\n    \"password1\":\"Foodbuddy@123\",\n    \"password2\":\"Foodbuddy@123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/passwordreset/step2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 09:02:15 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully Reseted password\",\n    \"status\": true\n}"}],"_postman_id":"95ee7151-673c-4c1f-b1cc-06b948cb9ca4"}],"id":"a7717a01-ac2a-4ea4-af97-030d3c14ac6f","description":"<p>With the Password Reset section in the Foodbuddy API, users can securely reset their passwords in case they forget or need to update them. This feature provides a seamless way for users to regain access to their accounts and ensure the security of their personal information.</p>\n","_postman_id":"a7717a01-ac2a-4ea4-af97-030d3c14ac6f"},{"name":"RESTAURANT AUTHENTICATION","item":[{"name":"Restaurant Signup","id":"86c49244-2b08-4e22-95fe-527d43e202bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Moon Light\",\n    \"description\": \"A fine dining restaurant offering a blend of modern and classic cuisine.\",\n    \"address\": \"123 Culinary Street, Food City, FC 12345\",\n    \"email\": \"restaurantgreen452@gmail.com\",\n    \"password\": \"FoodBuddy@02@\",\n    \"confirmpassword\":\"FoodBuddy@02@\",\n    \"phone_number\": 1234567890,\n    \"image_url\": \"https://example.com/images/restaurant.jpg\",\n    \"certificate_url\": \"https://example.com/certificates/restaurant_cert.pdf\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/restaurant/signup","description":"<p>The Restaurant Signup section allows new restaurants to submit their information for validation by the admin. Once verified, restaurants gain access to add their products to the platform, enabling them to showcase their offerings to potential customers. This process ensures that only legitimate restaurants are able to operate within the Foodbuddy ecosystem.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li><p>The name(string) of the restaurant.</p>\n</li>\n<li><p>A description(string) of the restaurant.</p>\n</li>\n<li><p>The address(string) of the restaurant.</p>\n</li>\n<li><p>The email(string) address of the restaurant.</p>\n</li>\n<li><p>The password(string) for the restaurant account.</p>\n</li>\n<li><p>The confirmpassword(string) for the restaurant account.</p>\n</li>\n<li><p>The phone_number(number) of the restaurant</p>\n</li>\n<li><p>The image_url(string) of the restaurant's image or logo.</p>\n</li>\n<li><p>The certificate_url(string) of the restaurant's certificate.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","auth","restaurant","signup"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"603a2fd4-d8c2-4177-acef-e6c0b47cc194","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Blue Moon\",\n    \"description\": \"A fine dining restaurant offering a blend of modern and classic cuisine.\",\n    \"address\": \"123 Culinary Street, Food City, FC 12345\",\n    \"email\": \"foodbuddycode@gmail.com\",\n    \"password\": \"Lijuthomas@123\",\n    \"confirmpassword\":\"Lijuthomas@123\",\n    \"phone_number\": 1234567890,\n    \"image_url\": \"https://example.com/images/restaurant.jpg\",\n    \"certificate_url\": \"https://example.com/certificates/restaurant_cert.pdf\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/restaurant/signup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 08:58:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"463"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"address\": \"123 Culinary Street, Food City, FC 12345\",\n        \"blocked\": false,\n        \"certificate_url\": \"https://example.com/certificates/restaurant_cert.pdf\",\n        \"description\": \"A fine dining restaurant offering a blend of modern and classic cuisine.\",\n        \"email\": \"foodbuddycode@gmail.com\",\n        \"image_url\": \"https://example.com/images/restaurant.jpg\",\n        \"name\": \"Blue Moon\",\n        \"phone_number\": 1234567890,\n        \"verification_status\": \"pending\"\n    },\n    \"message\": \"restaurant signup successful\",\n    \"status\": true\n}"}],"_postman_id":"86c49244-2b08-4e22-95fe-527d43e202bf"},{"name":"Restaurant Login","id":"933dd591-c0d7-4f70-b1a8-13fd8f8cb82c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    // \"email\":\"foodbuddycode@gmail.com\",\n    // \"password\":\"Foodbuddy@123\"\n    \"email\":\"contact@rest.com\",\n    \"password\":\"1234\"\n    //     \"email\": \"restaurantgreen452@gmail.com\",\n    // \"password\": \"FoodBuddy@02@\"\n\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/restaurant/login","description":"<p>This section allows restaurants to securely log in to their accounts using their email and password credentials. By accessing this functionality, restaurants can manage their profile information, orders, and other relevant data within the Foodbuddy platform. It ensures that only authorized personnel can access and interact with the restaurant-specific features provided by the API.  </p>\n<p><strong>BODY PARAMETERS</strong></p>\n<ul>\n<li><p>The email(string) address of the restaurant.</p>\n</li>\n<li><p>The password(string) for the restaurant account.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","auth","restaurant","login"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"5323632d-7f9a-49f8-9143-872900ef5d1c","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"foodbuddycode@gmail.com\",\n    \"password\":\"Lijuthomas@123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/restaurant/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 08:59:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"626"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Set-Cookie","value":"Authorization=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZvb2RidWRkeWNvZGVAZ21haWwuY29tIiwiZXhwIjoxNzIzMTkzOTc4LCJyb2xlIjoicmVzdGF1cmFudCJ9.ZYKSLcV5yEN4ywbiaQOWcLLxu_hHbzB6s3bJrBIZZ-w; Path=/; Max-Age=2592000; HttpOnly; SameSite=Lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"address\": \"123 Culinary Street, Food City, FC 12345\",\n        \"certificate_url\": \"https://example.com/certificates/restaurant_cert.pdf\",\n        \"description\": \"A fine dining restaurant offering a blend of modern and classic cuisine.\",\n        \"email\": \"foodbuddycode@gmail.com\",\n        \"image_url\": \"https://example.com/images/restaurant.jpg\",\n        \"name\": \"Blue Moon\",\n        \"phone_number\": 1234567890,\n        \"verification_status\": \"pending\"\n    },\n    \"message\": \"Login is successful\",\n    \"status\": true,\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZvb2RidWRkeWNvZGVAZ21haWwuY29tIiwiZXhwIjoxNzIzMTkzOTc4LCJyb2xlIjoicmVzdGF1cmFudCJ9.ZYKSLcV5yEN4ywbiaQOWcLLxu_hHbzB6s3bJrBIZZ-w\"\n}"}],"_postman_id":"933dd591-c0d7-4f70-b1a8-13fd8f8cb82c"}],"id":"179ad98d-a23f-411c-932a-fe5f55491744","description":"<p>With the Restaurant Authentication section, restaurants can securely sign up, log in, and verify their identity within the Foodbuddy platform. This functionality ensures that only authorized restaurants can access and interact with the system, maintaining data security and user privacy. By utilizing this API section, restaurants can seamlessly authenticate themselves to benefit from the platform's features and services.</p>\n","_postman_id":"179ad98d-a23f-411c-932a-fe5f55491744"},{"name":"EMAIL VERIFICATION","item":[{"name":"Verify Email","id":"62b2b0c6-2a12-4e60-aed5-d7cf6326c931","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/verifyemail/user/motoya6968@hostbyt.com/143310","description":"<p>Verify Email section in the Foodbuddy API allows users and restaurants to confirm their email addresses by clicking on a verification link sent to their mailbox. This process ensures that all accounts are validated and secure, enhancing the overall security and user experience of the platform.</p>\n","urlObject":{"path":["api","v1","auth","verifyemail","user","motoya6968@hostbyt.com","143310"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"c5e0a1dc-7894-42c6-92a0-8c3493d778c4","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/auth/verifyemail/user/lijuthomasliju03@gmail.com/451068"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 08:57:28 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"253"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Set-Cookie","value":"Authorization=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImxpanV0aG9tYXNsaWp1MDNAZ21haWwuY29tIiwiZXhwIjoxNzIzMTkzODQ4LCJyb2xlIjoidXNlciJ9.zIVnfNxTjRvTcmGbdNuTHFYipFYgGUjQHh46QIOoPzY; Path=/; Max-Age=2592000; HttpOnly; SameSite=Lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImxpanV0aG9tYXNsaWp1MDNAZ21haWwuY29tIiwiZXhwIjoxNzIzMTkzODQ4LCJyb2xlIjoidXNlciJ9.zIVnfNxTjRvTcmGbdNuTHFYipFYgGUjQHh46QIOoPzY\"\n    },\n    \"message\": \"Email verification is Successful\",\n    \"status\": true\n}"}],"_postman_id":"62b2b0c6-2a12-4e60-aed5-d7cf6326c931"}],"id":"b3ac1104-a0eb-4eaa-b998-ef62bda0ff7f","description":"<p>The EMAIL VERIFICATION section enables users and restaurants to confirm their identities by validating their email addresses. By utilizing this feature, users can ensure the security and authenticity of their accounts on the Foodbuddy platform.</p>\n","_postman_id":"b3ac1104-a0eb-4eaa-b998-ef62bda0ff7f"},{"name":"USERPROFILE & WALLET INFO","item":[{"name":"User Profile","id":"08c27b2f-f2c1-4537-891b-3834853de068","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/profile","description":"<p>The User Profile section allows users to access and retrieve their personal information within the Foodbuddy platform. Users can view details such as their name, email, phone number, and wallet amount through this API section. This functionality enables seamless access to crucial user profile data for a personalized experience within the application.</p>\n","urlObject":{"path":["api","v1","user","profile"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"92bb82a5-8fb0-40e6-a19c-42cfe2776382","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/profile"},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 09:16:26 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"259"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"blocked\": false,\n        \"email\": \"lijuthomasliju03@gmail.com\",\n        \"id\": 1,\n        \"login_method\": \"email\",\n        \"name\": \"LijuThomas_\",\n        \"phone_number\": 7356108734,\n        \"picture\": \"http://example.com/image.png\",\n        \"wallet_amount\": 0\n    },\n    \"message\": \"successfully fetched user profile\",\n    \"status\": true\n}"}],"_postman_id":"08c27b2f-f2c1-4537-891b-3834853de068"},{"name":"Edit User Profile","id":"f25b6f0d-50d4-414a-b048-82ecbb129cb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"foodbuddy\",\n    \"phone_number\":7356108734,\n    \"picture\":\"http://example.com/image.png\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/edit","description":"<p>This section allows users to update their profile information, including their name, phone number, and profile picture. Users can easily modify their details to keep their profile up-to-date and personalized within the Foodbuddy platform.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li><p>The name(string) of the user to be edited.</p>\n</li>\n<li><p>The phone_number(number) of the user to be edited.</p>\n</li>\n<li><p>The picture(string) URL of the user profile.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","edit"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"e81af9d6-106c-44ef-b537-2091ad5e8efd","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"LijuThomas_\",\n    \"phone_number\":7356108734,\n    \"picture\":\"http://example.com/image.png\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 09:02:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"167"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"user\": {\n            \"name\": \"LijuThomas_\",\n            \"phone_number\": 7356108734,\n            \"picture\": \"http://example.com/image.png\"\n        }\n    },\n    \"message\": \"successfully updated user profile\",\n    \"status\": true\n}"}],"_postman_id":"f25b6f0d-50d4-414a-b048-82ecbb129cb2"},{"name":"Wallet Information","id":"9e208b15-a84d-47ff-b7b7-6b7eacdc0738","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/wallet/all","description":"<p>The Wallet Information section of the Foodbuddy API allows users to access detailed information about their wallet, including transaction history and current balance. This feature enables users to track their financial activity and manage their funds effectively within the platform.</p>\n","urlObject":{"path":["api","v1","user","wallet","all"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"53cbd7d1-ee23-490e-86b8-febd55c70583","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/wallet/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 09:03:08 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"history\": [],\n        \"walletbalance\": 0\n    },\n    \"status\": true\n}"}],"_postman_id":"9e208b15-a84d-47ff-b7b7-6b7eacdc0738"}],"id":"7933e75b-0fc0-4a78-bef4-ee4009906c2d","description":"<p>The USERPROFILE &amp; WALLET INFO section allows users to retrieve detailed information about their profile and wallet within the Foodbuddy platform. Users can access essential details such as personal information, transaction history, and current wallet balance through this API section. This functionality enables users to manage their account settings and track their financial activities seamlessly.</p>\n","_postman_id":"7933e75b-0fc0-4a78-bef4-ee4009906c2d"},{"name":"USER REFERRAL","item":[{"name":"Referral Code","id":"4a40b008-8372-4c84-9405-b1e3577b12c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/referral/code","description":"<p>The Referral Code section allows users to access their unique referral code within the Foodbuddy system. By retrieving this code, users can easily refer friends and family to the platform, earning rewards and discounts in the process. This feature enhances user engagement and incentivizes growth within the Foodbuddy community.</p>\n","urlObject":{"path":["api","v1","user","referral","code"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"cdaedc32-6711-4ad7-b2e0-abad27d6847d","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/referral/code"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 09:03:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"49"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"referral code : 8Lz9o\",\n    \"status\": true\n}"}],"_postman_id":"4a40b008-8372-4c84-9405-b1e3577b12c7"},{"name":"Claim Referral Reward","id":"a0d6dbdf-b35b-4949-98fe-676f0de41527","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/referral/claim","description":"<p>The \"Claim Referral Reward\" section allows users to check for any eligible referral rewards and claim them into their wallet. By utilizing this feature, users can easily access and redeem their referral bonuses within the Foodbuddy platform</p>\n","urlObject":{"path":["api","v1","user","referral","claim"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0d6dbdf-b35b-4949-98fe-676f0de41527"},{"name":"Activate Referral","id":"6cbb9407-e92a-4e1c-87d3-fe75d86ae4f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/referral/activate?referralcode=hello","description":"<p>This section allows users to activate a referral code within the Foodbuddy platform. By utilizing this functionality, users can benefit from referral rewards and incentives when sharing the code with others. Activate Referral enables seamless integration of referral programs to boost user engagement and drive growth within the Foodbuddy community.</p>\n<p>QUERY PARAMETERS</p>\n<ul>\n<li>The referralcode(string) query parameter is used to specify the unique referral code associated with the user's referral activation request.</li>\n</ul>\n","urlObject":{"path":["api","v1","user","referral","activate"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"referralcode","value":"hello"}],"variable":[]}},"response":[{"id":"5f601ade-21fa-4fd6-8fb3-ae805e73d697","name":"Success","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/user/referral/activate?referralcode=hello","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","user","referral","activate"],"query":[{"key":"referralcode","value":"hello"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 09:03:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"63"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"successfully finished refer process\",\n    \"status\": true\n}"}],"_postman_id":"6cbb9407-e92a-4e1c-87d3-fe75d86ae4f9"},{"name":"Referral Statistics","id":"ac7a3855-93c3-4ddb-8e0d-bf7ad7bb3a6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/referral/stats","description":"<p>The Referral Statistics section provides users with essential data on the performance of their referral program within the Foodbuddy project. By retrieving key metrics such as total referrals, eligible referrals, ineligible referrals, claims done, and total claim amount received, users can gain valuable insights into the effectiveness of their referral strategy and track the success of their referral campaigns.</p>\n<ul>\n<li><p><strong>total_referrals</strong>: The total number of referrals.</p>\n</li>\n<li><p><strong>ineligible_referrals</strong>: The number of referrals that are ineligible for rewards.</p>\n</li>\n<li><p><strong>eligible_referrals</strong>: The number of referrals that are eligible for rewards.</p>\n</li>\n<li><p><strong>claims_done</strong>: The total number of referral claims that have been processed.</p>\n</li>\n<li><p><strong>total_claim_amount_received</strong>: The total amount received from referral claims.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","referral","stats"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"801e8932-7c2d-4c2d-8c8b-9ba64c9abede","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/referral/stats"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 09:09:06 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"162"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"claims_done\": 0,\n        \"eligible_referrals\": 0,\n        \"ineligible_referrals\": 0,\n        \"total_claim_amount_received\": 0,\n        \"total_referrals\": 0\n    },\n    \"referral_history\": [],\n    \"status\": true\n}"}],"_postman_id":"ac7a3855-93c3-4ddb-8e0d-bf7ad7bb3a6f"}],"id":"f226806a-8481-4a2d-9b46-20de4770f250","description":"<p>The USER REFERRAL section allows users to generate unique referral links to invite friends and family to join Foodbuddy. By sharing these links, users can earn rewards and discounts on their next orders while expanding their network of Foodbuddy users. This section facilitates a seamless referral process, making it easy for users to spread the word about the platform and enjoy benefits in return.</p>\n","_postman_id":"f226806a-8481-4a2d-9b46-20de4770f250"},{"name":"USER FAVOURITES","item":[{"name":"List all Favourie Food Products","id":"d913a10f-d0a5-43c0-9c6a-482bd61d0c30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/favorites/all","description":"<p>This section allows users to retrieve a list of all their favorite food products saved in the system. By accessing this endpoint, users can quickly view and manage their preferred food items for easy reference or modification.</p>\n","urlObject":{"path":["api","v1","user","favorites","all"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"00aa3cde-1ff7-4606-8bd4-563310339f90","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/favorites/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 13:04:07 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"169"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"favourite_list\": [\n        {\n            \"UserID\": 1,\n            \"ProductID\": 1\n        },\n        {\n            \"UserID\": 1,\n            \"ProductID\": 2\n        },\n        {\n            \"UserID\": 1,\n            \"ProductID\": 4\n        }\n    ],\n    \"message\": \"successfully retrieved favourite products\",\n    \"status\": true\n}"}],"_postman_id":"d913a10f-d0a5-43c0-9c6a-482bd61d0c30"},{"name":"Add Favourite Food Products","id":"ae7e9829-2001-4a09-a455-1c757163aa59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\":5\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/favorites/add","description":"<p>This section of the API allows users to add their favorite food products to a personalized list. By adding specific products to their favorites, users can easily access and track these items for future reference or promotions. Personalizing their experience with favorite products enhances user engagement and satisfaction with the Foodbuddy platform.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li>product_id(number) - The unique identifier of the food product that the user wants to add to their favorites list.</li>\n</ul>\n","urlObject":{"path":["api","v1","user","favorites","add"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"3bd66cea-a9b4-416a-9f9d-47700c7e2e87","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\":5\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/favorites/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 13:03:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"63"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"favorite product added successfully\",\n    \"status\": true\n}"}],"_postman_id":"ae7e9829-2001-4a09-a455-1c757163aa59"},{"name":"Remove from Favoruite Products","id":"a7e2df61-4b6e-4ed1-a4e4-b166af1ca35b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\":5\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/favorites/delete","description":"<p><strong>Description</strong>: Removes a favorite food product.</p>\n<p>This section allows users to remove a food product from their list of favorite items in the Foodbuddy app. By utilizing this functionality, users can easily manage and update their preferred products with ease.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li>product_id(number) - The unique identifier of the food product that the user wants to add to their favorites list.</li>\n</ul>\n","urlObject":{"path":["api","v1","user","favorites","delete"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"d14abb0e-5b28-4825-8967-c6565e2dca86","name":"Success","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\":5\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/favorites/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 13:03:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"65"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"favorite product deleted successfully\",\n    \"status\": true\n}"}],"_postman_id":"a7e2df61-4b6e-4ed1-a4e4-b166af1ca35b"}],"id":"e518dcef-0953-4cb2-89d1-1d1bb9ec6b2d","description":"<p>The USER FAVOURITES section allows users to view a list of their favorite food items within the Foodbuddy platform. Users can easily access and manage their preferred choices, making it convenient to reorder or review their selections. This section provides a personalized experience for users to track and interact with their most-loved dishes.</p>\n","_postman_id":"e518dcef-0953-4cb2-89d1-1d1bb9ec6b2d"},{"name":"USER ADDRESS","item":[{"name":"List User Address","id":"ace62dc6-8a44-4e55-bfd6-c9d5d4c65de7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/address/all","description":"<p>The \"List User Address\" section allows users to retrieve all the addresses associated with a specific user. Users can access details such as the phone number, address type, street name, and city for each address. This functionality enables users to manage and view their address information efficiently within the Foodbuddy application</p>\n<ul>\n<li><p><strong>user_id</strong>: The unique identifier of the user.</p>\n</li>\n<li><p><strong>address_id</strong>: The unique identifier of the address.</p>\n</li>\n<li><p><strong>phone_number</strong>: The phone number associated with the address.</p>\n</li>\n<li><p><strong>address_type</strong>: The type of address (e.g., home, work).</p>\n</li>\n<li><p><strong>street_name</strong>: The name of the street.</p>\n</li>\n<li><p><strong>street_number</strong>: The street number.</p>\n</li>\n<li><p><strong>city</strong>: The city name.</p>\n</li>\n<li><p><strong>state</strong>: The state name.</p>\n</li>\n<li><p><strong>postal_code</strong>: The postal code or ZIP code</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","address","all"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"de954ce5-ebc6-4d3b-9364-b4ae254aac2a","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/address/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 09:11:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"454"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache, no-store, no-transform, must-revalidate, private, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"addresses\": [\n            {\n                \"user_id\": 1,\n                \"address_id\": 1,\n                \"phone_number\": 1234567890,\n                \"address_type\": \"Home\",\n                \"street_name\": \"Elm Street\",\n                \"street_number\": \"1428\",\n                \"city\": \"Springwood\",\n                \"state\": \"Ohio\",\n                \"postal_code\": \"45000\"\n            },\n            {\n                \"user_id\": 1,\n                \"address_id\": 2,\n                \"phone_number\": 9876543210,\n                \"address_type\": \"Work\",\n                \"street_name\": \"Springwood\",\n                \"street_number\": \"1555\",\n                \"city\": \"Springwood\",\n                \"state\": \"Ohio\",\n                \"postal_code\": \"45000\"\n            }\n        ]\n    },\n    \"message\": \"successfully retrieved user address\",\n    \"status\": true\n}"}],"_postman_id":"ace62dc6-8a44-4e55-bfd6-c9d5d4c65de7"},{"name":"Add User Address","id":"48ff1e2e-77a4-4b8f-930a-c6e0d48e412d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"phone_number\": 9876543210,\n    \"address_type\": \"Work\",\n    \"street_name\": \"Springwood\",\n    \"street_number\": \"1555\",\n    \"city\": \"Springwood\",\n    \"state\": \"Ohio\",\n    \"postal_code\": \"45000\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/address/add","description":"<p>With the \"Add User Address\" section, users can conveniently store new address details within the Foodbuddy platform. This feature allows users to associate specific addresses with their account, streamlining the process of placing orders and receiving deliveries. By providing essential address information, users can ensure accurate and efficient delivery services.</p>\n<p><strong>BODY PARAMETERS</strong></p>\n<ul>\n<li><p><strong>phone_number(number) -</strong> The phone number associated with the address.</p>\n</li>\n<li><p><strong>address_type(string) -</strong> The type of address (e.g., home, work).</p>\n</li>\n<li><p><strong>street_name(string) -</strong> The name of the street.</p>\n</li>\n<li><p><strong>street_number(string)</strong> - The street number.</p>\n</li>\n<li><p><strong>city(string) -</strong> The city name.</p>\n</li>\n<li><p><strong>state(string) -</strong> The state name.</p>\n</li>\n<li><p><strong>postal_code(string)</strong> - The postal code or ZIP code</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","address","add"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"a2239cfc-2e60-44e2-aa7c-3e9ebe0c3705","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"phone_number\": 9876543210,\n    \"address_type\": \"Work\",\n    \"street_name\": \"Springwood\",\n    \"street_number\": \"1555\",\n    \"city\": \"Springwood\",\n    \"state\": \"Ohio\",\n    \"postal_code\": \"45000\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/address/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 09:11:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"261"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"address\": {\n            \"user_id\": 1,\n            \"address_id\": 2,\n            \"phone_number\": 9876543210,\n            \"address_type\": \"Work\",\n            \"street_name\": \"Springwood\",\n            \"street_number\": \"1555\",\n            \"city\": \"Springwood\",\n            \"state\": \"Ohio\",\n            \"postal_code\": \"45000\"\n        }\n    },\n    \"message\": \"successfully added new address\",\n    \"status\": true\n}"}],"_postman_id":"48ff1e2e-77a4-4b8f-930a-c6e0d48e412d"},{"name":"Edit User Address","id":"66558558-b057-4238-81cf-0d4ade37d071","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n\t\"address_id\": 2,\n\t\"phone_number\": 9876543210,\n\t\"address_type\": \"Work\",\n\t\"street_name\": \"Springwood Avenue\",\n\t\"street_number\": \"1555\",\n\t\"city\": \"Springwood\",\n\t\"state\": \"Ohio\",\n\t\"postal_code\": \"45000\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/address/edit","description":"<p>Update and modify existing user address details such as phone number, address type, street name, street number, city, state, and postal code. This functionality allows users to keep their address information up to date and accurate within the platform.</p>\n<p><strong>BODY PARAMETERS</strong></p>\n<ul>\n<li><p><strong>address_id(number)</strong> - The phone number associated with the user's address.</p>\n</li>\n<li><p><strong>phone_number(number) -</strong> The phone number associated with the address.</p>\n</li>\n<li><p><strong>address_type(string) -</strong> The type of address (e.g., home, work).</p>\n</li>\n<li><p><strong>street_name(string) -</strong> The name of the street.</p>\n</li>\n<li><p><strong>street_number(string)</strong> - The street number.</p>\n</li>\n<li><p><strong>city(string) -</strong> The city name.</p>\n</li>\n<li><p><strong>state(string) -</strong> The state name.</p>\n</li>\n<li><p><strong>postal_code(string)</strong> - The postal code or ZIP code</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","address","edit"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"6a371de0-80c1-4433-a5ff-44c37155c983","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n\t\"address_id\": 2,\n\t\"phone_number\": 9876543210,\n\t\"address_type\": \"Work\",\n\t\"street_name\": \"Springwood Avenue\",\n\t\"street_number\": \"1555\",\n\t\"city\": \"Springwood\",\n\t\"state\": \"Ohio\",\n\t\"postal_code\": \"45000\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/address/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 09:11:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"56"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache, no-store, no-transform, must-revalidate, private, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"address updated successfully\",\n    \"status\": true\n}"}],"_postman_id":"66558558-b057-4238-81cf-0d4ade37d071"},{"name":"Remove User Address","id":"66af7c31-13b9-445b-891e-4aaf5b1bf5b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/address/delete?addressid=2","description":"<p>This section allows users to remove a specific address associated with a user profile in the Foodbuddy project. By utilizing this functionality, users can easily manage their saved addresses and ensure accurate delivery information when placing orders.</p>\n<p>QUERY PARAMETERS</p>\n<ul>\n<li>The addressid parameter specifies the unique identifier of the user address that needs to be deleted. This parameter is required for the DELETE operation to target the correct address.</li>\n</ul>\n","urlObject":{"path":["api","v1","user","address","delete"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"addressid","value":"2"}],"variable":[]}},"response":[{"id":"dba190a0-5046-4d1d-b48c-b572e045769f","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/user/address/delete?addressid=2","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","user","address","delete"],"query":[{"key":"addressid","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 09:12:08 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"56"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache, no-store, no-transform, must-revalidate, private, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"address deleted successfully\",\n    \"status\": true\n}"}],"_postman_id":"66af7c31-13b9-445b-891e-4aaf5b1bf5b8"}],"id":"10c4a39e-9b2a-4c02-b74c-53ed0eb4d991","description":"<p>The USER ADDRESS section of the Foodbuddy API allows users to retrieve and manage address details associated with their account. With this section, users can view, add, update, or delete addresses to ensure accurate delivery information for their orders. Streamlining the address management process, users can easily maintain and organize their address information within the Foodbuddy platform.</p>\n","_postman_id":"10c4a39e-9b2a-4c02-b74c-53ed0eb4d991"},{"name":"CART MANAGEMENT","item":[{"name":"Add to Cart","id":"87a362c7-e152-4bb4-8e57-86311d37d106","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\":1,\n    \"quantity\":3\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/cart/add","description":"<p>With the \"Add to Cart\" section of the Foodbuddy API, users can effortlessly add items to their shopping cart by providing the product ID and desired quantity. This feature enhances the shopping experience by streamlining the process of managing cart contents within the platform.  </p>\n<h4 id=\"dy-parameters\">DY PARAMETERS</h4>\n<ul>\n<li><p>product_id(string) - The unique identifier of the product being added to the cart.</p>\n</li>\n<li><p>quantity(number) - The quantity of the product being added to the cart.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","cart","add"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"606c192a-49ab-4512-8a7a-b2321c119d7a","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\":1,\n    \"quantity\":3\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/cart/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 13:04:53 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"62"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Product successfully added to cart\",\n    \"status\": true\n}"}],"_postman_id":"87a362c7-e152-4bb4-8e57-86311d37d106"},{"name":"Add Cooking Request","id":"605b8d24-4365-41c9-af6f-807ff535e4a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\":1,\n    \"cooking_request\":\"one two\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/cart/cookingrequest","description":"<p>The \"Add Cooking Request\" section allows users to submit specific instructions, dietary preferences, or any other preferences related to meal preparation for a selected product. By providing these details, users can customize their cooking request to ensure their meal is prepared according to their preferences and requirements within the Foodbuddy platform.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li><p>product_id(number) - The unique identifier of the product being added to the user's cart.</p>\n</li>\n<li><p>cooking_request(string) - The details of the cooking request being added to the user's cart.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","cart","cookingrequest"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"4ca93424-7216-47be-81c8-898de292190a","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\":1,\n    \"cooking_request\":\"one two\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/cart/cookingrequest"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 14 Jul 2024 09:49:21 GMT"},{"key":"Content-Length","value":"64"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"successfully updated cooking request\",\n    \"status\": true\n}"}],"_postman_id":"605b8d24-4365-41c9-af6f-807ff535e4a7"},{"name":"List all items in cart","id":"b0aee810-a348-4067-8b01-376fb9dc9c94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/cart/all","description":"<p>This section allows users to view all items currently in their cart, including the product ID ,restaurant ID and quantity of each item. By accessing this information, users can easily manage and review the items they have added for purchase.</p>\n","urlObject":{"path":["api","v1","user","cart","all"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"d6dc865c-d5c0-44c5-909d-66e40df4aed8","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/cart/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 17 Jul 2024 05:24:19 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"624"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"1\": {\n            \"cartitems\": [\n                {\n                    \"user_id\": 1,\n                    \"product_id\": 4,\n                    \"restaurant_id\": 1,\n                    \"quantity\": 1,\n                    \"cooking_request\": \"\"\n                },\n                {\n                    \"user_id\": 1,\n                    \"product_id\": 5,\n                    \"restaurant_id\": 1,\n                    \"quantity\": 1,\n                    \"cooking_request\": \"\"\n                },\n                {\n                    \"user_id\": 1,\n                    \"product_id\": 6,\n                    \"restaurant_id\": 1,\n                    \"quantity\": 1,\n                    \"cooking_request\": \"\"\n                }\n            ],\n            \"finalamount\": 3000,\n            \"productoffer\": 0,\n            \"totalamount\": 3000\n        },\n        \"2\": {\n            \"cartitems\": [\n                {\n                    \"user_id\": 1,\n                    \"product_id\": 7,\n                    \"restaurant_id\": 2,\n                    \"quantity\": 1,\n                    \"cooking_request\": \"\"\n                },\n                {\n                    \"user_id\": 1,\n                    \"product_id\": 8,\n                    \"restaurant_id\": 2,\n                    \"quantity\": 1,\n                    \"cooking_request\": \"\"\n                }\n            ],\n            \"finalamount\": 530,\n            \"productoffer\": 50,\n            \"totalamount\": 580\n        }\n    },\n    \"message\": \"Cart items retrieved successfully\",\n    \"status\": true\n}"}],"_postman_id":"b0aee810-a348-4067-8b01-376fb9dc9c94"},{"name":"Clear Entire Cart","id":"f6c55973-d6b3-4574-aa76-39b51f2ea65a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/cart/delete?restaurant_id=1","description":"<p>The \"Clear Entire Cart\" section allows users to remove all items or by restaurant_id from their cart in a single action. Users can easily empty their cart without the need to go through each item individually, streamlining the checkout process.</p>\n","urlObject":{"path":["api","v1","user","cart","delete"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"restaurant_id","value":"1"}],"variable":[]}},"response":[{"id":"5ff6b931-639a-4dbf-8ae8-8e966b0d9566","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/cart/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 13:05:53 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"59"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deleted entire cart of the User\",\n    \"status\": true\n}"}],"_postman_id":"f6c55973-d6b3-4574-aa76-39b51f2ea65a"},{"name":"Remove Individual  Items from Cart","id":"897fe2cb-9b8c-433c-8182-05d18f134b8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\":7\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/cart/remove","description":"<p>This section allows users to remove specific items from their cart in the Foodbuddy app. By providing the product ID of the item to be removed, users can easily manage their orders and streamline their shopping experience.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li>product_id(number) - The unique identifier for the product to be removed from the user's cart.</li>\n</ul>\n","urlObject":{"path":["api","v1","user","cart","remove"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"8dc475dc-35a1-432b-8781-65f143edcffd","name":"Success","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\":1\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/cart/remove"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 13:07:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Removed the Item Successfully\",\n    \"status\": true\n}"}],"_postman_id":"897fe2cb-9b8c-433c-8182-05d18f134b8f"},{"name":"Update OrderItem Quantity","id":"2ccff9d5-4263-48ff-9b7a-b00eccff3106","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\":7,\n    \"quantity\":2\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/cart/update","description":"<p>This section allows users to update the quantity of a specific product in their cart within the Foodbuddy project. Additionally, users can provide optional cooking requests, such as special instructions or dietary preferences, for the updated order item. This functionality enables users to easily manage their shopping cart contents and customize their orders according to their preferences.</p>\n<ul>\n<li><p>product_id(number) - The unique identifier of the product in the cart that will have its quantity updated.</p>\n</li>\n<li><p>quantity(number) - The new quantity value for the specified product in the cart.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","cart","update"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"8a8f1b0e-3a90-422c-a7cc-6d468e91774f","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\":4,\n    \"quantity\":3\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/cart/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 13:09:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"61"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Updated the Quantity Successfully\",\n    \"status\": true\n}"}],"_postman_id":"2ccff9d5-4263-48ff-9b7a-b00eccff3106"},{"name":"View Coupon Benefits on cart","id":"c4e24866-6983-470b-be29-5f995e0dc6ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/coupon/cart/?couponcode=SAVE25OFF&restaurant_id=2","description":"<p>This section allows users to view the benefits of a coupon applied to their cart based on the specified restaurant and coupon code. Users can see the discounted total amount, product offer amount, and final amount after applying the coupon.</p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li><p>couponcode(string) - The code provided by the user to apply a coupon discount to the cart.</p>\n</li>\n<li><p>restaurant_id(string) - The unique identifier for the restaurant associated with the items in the cart.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","coupon","cart",""],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"couponcode","value":"SAVE25OFF"},{"key":"restaurant_id","value":"2"}],"variable":[]}},"response":[{"id":"fedf8dbb-bdb0-436e-9e3a-495ffb90e092","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/user/coupon/cart/?couponcode=SAVE25OFF&restaurant_id=1","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","user","coupon","cart",""],"query":[{"key":"couponcode","value":"SAVE25OFF"},{"key":"restaurant_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 17 Jul 2024 05:27:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"354"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"cart_items\": [\n            {\n                \"user_id\": 1,\n                \"product_id\": 5,\n                \"restaurant_id\": 1,\n                \"quantity\": 1,\n                \"cooking_request\": \"\"\n            },\n            {\n                \"user_id\": 1,\n                \"product_id\": 6,\n                \"restaurant_id\": 1,\n                \"quantity\": 1,\n                \"cooking_request\": \"\"\n            }\n        ],\n        \"coupon_discount\": 625,\n        \"final_amount\": 1875,\n        \"product_offer_amount\": 0,\n        \"restaurant_id\": \"1\",\n        \"total_amount\": 2500\n    },\n    \"message\": \"Cart items retrieved successfully\",\n    \"status\": true\n}"}],"_postman_id":"c4e24866-6983-470b-be29-5f995e0dc6ee"}],"id":"781284b6-6323-4e7c-b1c1-3fb7eca33170","description":"<p>The CART MANAGEMENT section allows users to retrieve information about the items currently in their shopping cart. Users can view the details of each item, such as the name, quantity, and price, to manage their shopping list more effectively. This section provides essential functionality for users to review and update their cart before proceeding to checkout.</p>\n","_postman_id":"781284b6-6323-4e7c-b1c1-3fb7eca33170"},{"name":"ORDER MANAGEMENT","item":[{"name":"Place Order","id":"37150f22-bc2d-4004-bd1e-01ac5db4392a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"address_id\": 10,\n    \"payment_method\": \"ONLINE\", // COD ONLINE\n    \"coupon_code\": \"COUPON50\",\n    \"restaurant_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/step1/placeorder","description":"<p>With the \"Place Order\" section, users can submit an order by specifying the restaurant, delivery address, and payment method. They also have the option to apply a coupon code for discounts. This section facilitates the seamless process of placing food orders within the Foodbuddy platform.  </p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li><p>address_id(number)</p>\n</li>\n<li><p>payment_method(string)</p>\n</li>\n<li><p>coupon_code(string)</p>\n</li>\n<li><p>restaurant_id(number)</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","order","step1","placeorder"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"b761be6a-3a68-48a2-b66b-2c2dbc5344bb","name":"Success - ONLINE","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"address_id\":1,\n    \"payment_method\":\"ONLINE\", // COD ONLINE\n    \"coupon_code\":\"SAVE20OFF\" \n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/step1/placeorder"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 13:11:07 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"382"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"OrderDetails\": {\n            \"order_id\": \"LijuThomas__A82K8qcK7V\",\n            \"user_id\": 1,\n            \"address_id\": 1,\n            \"item_count\": 9,\n            \"coupon_code\": \"SAVE20OFF\",\n            \"coupon_discount_amount\": 1050,\n            \"product_offer_amount\": 0,\n            \"total_amount\": 5250,\n            \"final_amount\": 4200,\n            \"payment_method\": \"ONLINE\",\n            \"payment_status\": \"ONLINE_PENDING\",\n            \"ordered_at\": \"2024-07-10T13:11:07.344Z\"\n        }\n    },\n    \"message\": \"Order is successfully created\",\n    \"status\": true\n}"},{"id":"fc74ace9-ef7b-4c19-9ed6-b1b702aeda5e","name":"Success - COD","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"address_id\":1,\n    \"payment_method\":\"COD\", // COD ONLINE\n    \"coupon_code\":\"SAVE20OFF\" \n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/step1/placeorder"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 16:02:12 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"373"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"OrderDetails\": {\n            \"order_id\": \"LijuThomas__VmCCIprtei\",\n            \"user_id\": 1,\n            \"address_id\": 1,\n            \"item_count\": 4,\n            \"coupon_code\": \"SAVE20OFF\",\n            \"coupon_discount_amount\": 130,\n            \"product_offer_amount\": 0,\n            \"total_amount\": 650,\n            \"final_amount\": 520,\n            \"payment_method\": \"COD\",\n            \"payment_status\": \"COD_PENDING\",\n            \"ordered_at\": \"2024-07-10T16:02:12.248Z\"\n        }\n    },\n    \"message\": \"Order is successfully created\",\n    \"status\": true\n}"}],"_postman_id":"37150f22-bc2d-4004-bd1e-01ac5db4392a"},{"name":"Initiate Payment","id":"db2dc5f6-5f9a-4ac3-9720-bd78a062535a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"cdaa066a-084a-47b6-8045-02c4dc84b2b3\",\n    \"payment_gateway\": \"STRIPE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/step2/initiatepayment","description":"<p>Initiate Payment section allows users to trigger the payment process for an order in the Foodbuddy project. By providing the order ID and selecting a payment gateway (such as Stripe, Wallet, or Razorpay), users can seamlessly initiate the payment transaction to complete their order. This section facilitates a smooth and secure payment experience for users, enhancing the overall shopping process.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<p>order_id(string) - The unique identifier for the order associated with the payment.</p>\n<ul>\n<li>payment_gateway(string) - The chosen gateway for processing the payment (e.g., Stripe, Razorpay).</li>\n</ul>\n","urlObject":{"path":["api","v1","user","order","step2","initiatepayment"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"e9c2caa4-2341-4e0f-9696-b902f719ff70","name":"Success -RazorPay","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\": \"LijuThomas__A82K8qcK7V\",\n    \"payment_gateway\": \"RAZORPAY\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/step2/initiatepayment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 13:51:53 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"paymentdata\": {\n            \"razorpay_payment_id\": \"pay_OWx73e6xCRrK62\",\n            \"razorpay_order_id\": \"order_OWx6eTJ3vkG5Ub\",\n            \"razorpay_signature\": \"a5f6857a37b185accab2c072eeb7dd6be59b448fa49362df33e99ffb36ac60f4\"\n        }\n    },\n    \"status\": true\n}"},{"id":"b6c7151e-2156-440a-8bbc-efd48c0dac9b","name":"Success -Stripe","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\": \"LijuThomas__t21cFhXMnr\",\n    \"payment_gateway\": \"STRIPE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/step2/initiatepayment"},"status":"See Other","code":303,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Thu, 11 Jul 2024 04:49:12 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"369"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"paymentdata\": {\n            \"message\": \"Payment complete\",\n            \"status\": \"complete\",\n            \"stripe\": {\n                \"amount_subtotal\": 100000,\n                \"amount_total\": 100000,\n                \"cancel_url\": \"http://foodbuddy.lijuthomas.xyz/api/v1/user/order/step3/stripecallback?session_id={CHECKOUT_SESSION_ID}\",\n                \"created\": 1720673352,\n                \"currency\": \"inr\",\n                \"customer_email\": \"test@gmail.com\",\n                \"customer_name\": \"TEST NAME\",\n                \"expires_at\": 1720759752,\n                \"id\": \"cs_test_a1Ln2e2RhkKMnZf36rV9OxN6qbUEVXFty6x0CCaUGs2OSVHi0TseivxJn0\",\n                \"mode\": \"payment\",\n                \"order_id\": \"LijuThomas__t21cFhXMnr\",\n                \"payment_id\": \"pi_3PbEwiRxe69DcJr104ECpEG1\",\n                \"payment_mode\": [\n                    \"card\"\n                ],\n                \"payment_status\": \"paid\",\n                \"success_url\": \"http://foodbuddy.lijuthomas.xyz/api/v1/user/order/step3/stripecallback?session_id={CHECKOUT_SESSION_ID}\"\n            }\n        }\n    },\n    \"status\": true\n}"},{"id":"ccd90a73-f7dd-4fe9-bd8d-1667c58c1e0a","name":"Success -Wallet","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\": \"LijuThomas__DXzrQ6JqQa\",\n    \"payment_gateway\": \"WALLET\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/step2/initiatepayment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Thu, 11 Jul 2024 04:51:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"110"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"payment\": \"LijuThomas__DXzrQ6JqQa Status : Payment Confirmed, Payment Method :WALLET\"\n    },\n    \"status\": true\n}"}],"_postman_id":"db2dc5f6-5f9a-4ac3-9720-bd78a062535a"},{"name":"Change Payment Mode","id":"203e530a-5ecc-4d6f-a6d2-e308b7bd2454","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"f8f820c1-93b1-4232-a647-150d40d0939e\",\n    \"payment_method\":\"ONLINE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/update/paymentmode","description":"<p>The Change Payment Mode section allows users to update the payment method for a specific order within the Foodbuddy application. By utilizing this functionality, users can easily switch between different payment options to complete their order seamlessly. This API section enhances the user experience by providing flexibility and convenience in managing payment preferences for orders.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li><p>order_id(string) - The unique identifier of the order.</p>\n</li>\n<li><p>payment_method - The method used for payment, such as ONLINE or COD.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","order","update","paymentmode"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"04c327e5-6674-4f0c-a6eb-14c44cdfea4b","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"lijuthomas_52nP21mwHu\",\n    \"payment_method\":\"COD\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/update/paymentmode"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 14 Jul 2024 11:46:37 GMT"},{"key":"Content-Length","value":"394"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"payment method changed to COD and the order is updated to COD_PENDING\",\n    \"order_details\": {\n        \"order_id\": \"lijuthomas_52nP21mwHu\",\n        \"user_id\": 2,\n        \"address_id\": 8,\n        \"item_count\": 1,\n        \"coupon_code\": \"\",\n        \"coupon_discount_amount\": 0,\n        \"product_offer_amount\": 20,\n        \"total_amount\": 500,\n        \"final_amount\": 480,\n        \"payment_method\": \"COD\",\n        \"payment_status\": \"COD_PENDING\",\n        \"ordered_at\": \"2024-07-14T11:40:48.49Z\"\n    },\n    \"status\": false\n}"}],"_postman_id":"203e530a-5ecc-4d6f-a6d2-e308b7bd2454"},{"name":"Cancel Online Order","event":[{"listen":"test","script":{"id":"7a927935-871a-44c6-9965-6fb5c7dbc5ca","exec":["",""],"type":"text/javascript","packages":{}}}],"id":"e06869b6-49f9-47a1-82e2-fbeec6c1826c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\": \"cee548b5-b37c-4325-8a03-1307698889cd\",\n    \"product_id\":2\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/cancel/online","description":"<p>This section allows users to cancel an online order within the Foodbuddy project. By providing the order ID, users can choose to cancel the entire order or specify a particular product within the order to cancel. This functionality streamlines the process of managing online orders for a more user-friendly experience.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li><p>order_id(string) - The order_id parameter identifies the specific online order that is being canceled</p>\n</li>\n<li><p>product_id(number) - The product_id parameter specifies the unique identifier of the product associated with the order cancellation.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","order","cancel","online"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"9c2aeb97-4773-4a51-bfb4-b603d5222882","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"LijuThomas__A82K8qcK7V\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 14:04:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"105"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"order_id\": \"LijuThomas__A82K8qcK7V\"\n    },\n    \"message\": \"successfully cancelled the order\",\n    \"status\": true\n}"}],"_postman_id":"e06869b6-49f9-47a1-82e2-fbeec6c1826c"},{"name":"Cancel COD Order","id":"788b12cd-9ea4-496c-af92-c5edfa089ff4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"8e1b0ec3-40cb-40c8-9d59-7679ee7a5df0\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/cancel/cod","description":"<p>This section allows users to cancel an entire Cash on Delivery (COD) order within the Foodbuddy project. By providing the order ID, users can easily initiate the cancellation process for seamless order management.<br />Note: Unlike ONLINE order cancellation COD doesnt allow partial cancellation.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li>The unique identifier of the order that needs to be cancelled. This parameter is included in the request body to specify the specific order to cancel.</li>\n</ul>\n","urlObject":{"path":["api","v1","user","order","cancel","cod"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"9536c301-08ca-4c6a-aa3e-2b4b5d9e3741","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"lijuthomas_8s0qms1Idv\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/cancel/cod"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 15 Jul 2024 07:28:39 GMT"},{"key":"Content-Length","value":"104"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"order_id\": \"lijuthomas_8s0qms1Idv\"\n    },\n    \"message\": \"successfully cancelled the order\",\n    \"status\": true\n}"}],"_postman_id":"788b12cd-9ea4-496c-af92-c5edfa089ff4"},{"name":"DeliveryCode","id":"b98e7f07-9647-47ac-941b-235d61cbf20c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/deliverycode?order_id=2f8f0d57-ad2f-4a42-ab92-0d1bc2c240b8","description":"<p>The DeliveryCode section enables users to retrieve the unique delivery code associated with a specific order. By accessing this information, users can securely verify and track the delivery status of their orders within the Foodbuddy platform.</p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>order_id(string) - The unique identifier of the order for which the delivery code is being requested.</li>\n</ul>\n","urlObject":{"path":["api","v1","user","order","deliverycode"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"order_id","value":"2f8f0d57-ad2f-4a42-ab92-0d1bc2c240b8"}],"variable":[]}},"response":[{"id":"601c5c4b-e3b6-4c16-ad13-e721fb1344f2","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/deliverycode?order_id=lijuthomas_8s0qms1Idv","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","user","order","deliverycode"],"query":[{"key":"order_id","value":"lijuthomas_8s0qms1Idv"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 14 Jul 2024 13:04:30 GMT"},{"key":"Content-Length","value":"61"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"otp is sent in mail\",\n    \"otp\": 243878,\n    \"status\": false\n}"}],"_postman_id":"b98e7f07-9647-47ac-941b-235d61cbf20c"},{"name":"List Online Payment History of the OrderID","id":"b314dd59-31bc-417f-a80c-8cbcbd06d7ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"f8f820c1-93b1-4232-a647-150d40d0939e\",\n    \"payment_status\":\"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/paymenthistory","description":"<p>This section allows users to retrieve the payment history of a specific order by specifying its ID and payment status. Users can easily track the payment details and status associated with each order, including information on the payment gateway used and the unique IDs for various payment platforms like Stripe and Razorpay.</p>\n<p><strong>BODY PARAMETERS</strong></p>\n<ul>\n<li><p>order_id(string) - The identifier for the specific order for which payment history is being retrieved</p>\n</li>\n<li><p><strong>payment_status(string) -</strong> The status of the payment for the order, such as ONLINE_PENDING,ONLINE_CONFIRMED,ONLINE_FAILED,COD_PENDING,COD_FAILED,COD_CONFIRMED....</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","order","paymenthistory"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"31203b87-b40f-481e-8b49-84b777b2ec34","name":"Success","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"LijuThomas__A82K8qcK7V\",\n    \"payment_status\":\"ONLINE_CONFIRMED\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/paymenthistory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 14:10:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"420"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"paymentdetails\": [\n            {\n                \"OrderID\": \"LijuThomas__A82K8qcK7V\",\n                \"stripe_session_id\": \"\",\n                \"stripe_payment_id\": \"\",\n                \"razorpay_order_id\": \"order_OWx6eTJ3vkG5Ub\",\n                \"razorpay_payment_id\": \"pay_OWx73e6xCRrK62\",\n                \"razorpay_signature\": \"a5f6857a37b185accab2c072eeb7dd6be59b448fa49362df33e99ffb36ac60f4\",\n                \"payment_gateway\": \"RAZORPAY\",\n                \"payment_status\": \"ONLINE_CONFIRMED\"\n            }\n        ]\n    },\n    \"message\": \"Successfully retrieved payment information\",\n    \"status\": true\n}"}],"_postman_id":"b314dd59-31bc-417f-a80c-8cbcbd06d7ff"},{"name":"List all Order Items via OrderStatus","id":"02d671e6-3cae-4fd2-b71c-cceb55ba62df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/items?order_id=98f7f757-5a6e-47d3-b23e-b994f88f235a","description":"<p>This section allows users to retrieve a list of all order items based on their order status. By providing the order status as a query parameter, users can view relevant details such as order ID, user ID, restaurant ID, product ID, quantity, amount, and more. This functionality enables users to efficiently track and manage their order history within the Foodbuddy platform.</p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>order_id(string) - The unique identifier of the order to which the item belongs.</li>\n</ul>\n","urlObject":{"path":["api","v1","user","order","items"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"order_id","value":"98f7f757-5a6e-47d3-b23e-b994f88f235a"}],"variable":[]}},"response":[{"id":"c6b58785-b7e0-40bb-a2ec-8c1ba3f3cfc7","name":"Success","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"LijuThomas__A82K8qcK7V\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Thu, 11 Jul 2024 03:40:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1313"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"orderhistory\": [\n            {\n                \"order_id\": \"LijuThomas__A82K8qcK7V\",\n                \"user_id\": 1,\n                \"restaurant_id\": 1,\n                \"product_id\": 2,\n                \"quantity\": 3,\n                \"amount\": 150,\n                \"product_offer_amount\": 0,\n                \"after_deduction\": -200,\n                \"cooking_request\": \"\",\n                \"order_status\": \"DELIVERED\",\n                \"order_review\": \"\",\n                \"order_rating\": 0\n            },\n            {\n                \"order_id\": \"LijuThomas__A82K8qcK7V\",\n                \"user_id\": 1,\n                \"restaurant_id\": 1,\n                \"product_id\": 5,\n                \"quantity\": 3,\n                \"amount\": 3600,\n                \"product_offer_amount\": 0,\n                \"after_deduction\": 3250,\n                \"cooking_request\": \"\",\n                \"order_status\": \"CANCELLED\",\n                \"order_review\": \"\",\n                \"order_rating\": 0\n            },\n            {\n                \"order_id\": \"LijuThomas__A82K8qcK7V\",\n                \"user_id\": 1,\n                \"restaurant_id\": 1,\n                \"product_id\": 4,\n                \"quantity\": 3,\n                \"amount\": 1500,\n                \"product_offer_amount\": 0,\n                \"after_deduction\": 1150,\n                \"cooking_request\": \"\",\n                \"order_status\": \"DELIVERED\",\n                \"order_review\": \"\",\n                \"order_rating\": 0\n            },\n            {\n                \"order_id\": \"LijuThomas__VmCCIprtei\",\n                \"user_id\": 1,\n                \"restaurant_id\": 1,\n                \"product_id\": 2,\n                \"quantity\": 3,\n                \"amount\": 150,\n                \"product_offer_amount\": 0,\n                \"after_deduction\": 52.5,\n                \"cooking_request\": \"\",\n                \"order_status\": \"PROCESSING\",\n                \"order_review\": \"\",\n                \"order_rating\": 0\n            },\n            {\n                \"order_id\": \"LijuThomas__VmCCIprtei\",\n                \"user_id\": 1,\n                \"restaurant_id\": 1,\n                \"product_id\": 4,\n                \"quantity\": 1,\n                \"amount\": 500,\n                \"product_offer_amount\": 0,\n                \"after_deduction\": 467.5,\n                \"cooking_request\": \"\",\n                \"order_status\": \"PROCESSING\",\n                \"order_review\": \"\",\n                \"order_rating\": 0\n            }\n        ]\n    },\n    \"message\": \"successfully fetched order items based on order status\",\n    \"status\": true\n}"}],"_postman_id":"02d671e6-3cae-4fd2-b71c-cceb55ba62df"},{"name":"Order Information","id":"de5123f6-b6ff-4784-9fd9-39142447b758","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/info?order_id=2f8f0d57-ad2f-4a42-ab92-0d1bc2c240b8","description":"<p>The \"Order Information\" section of the Foodbuddy API allows users to retrieve detailed information about a specific order, including items ordered, payment details, and order status. By accessing this section, users can easily track and manage their orders, ensuring a seamless experience when interacting with the Foodbuddy platform.</p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>order_id(string) - The unique identifier of the order.</li>\n</ul>\n","urlObject":{"path":["api","v1","user","order","info"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"order_id","value":"2f8f0d57-ad2f-4a42-ab92-0d1bc2c240b8"}],"variable":[]}},"response":[{"id":"e7efa4f9-32b5-4750-b9f6-1a82c984d5a5","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/info?order_id=lijuthomas_2GEpV0sRuy","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","user","order","info"],"query":[{"key":"order_id","value":"lijuthomas_2GEpV0sRuy"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 14 Jul 2024 10:28:40 GMT"},{"key":"Content-Length","value":"642"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"items_ordered\": [\n            {\n                \"order_id\": \"lijuthomas_2GEpV0sRuy\",\n                \"user_id\": 2,\n                \"restaurant_id\": 1,\n                \"product_id\": 2,\n                \"quantity\": 2,\n                \"amount\": 1000,\n                \"product_offer_amount\": 40,\n                \"after_deduction\": 960,\n                \"cooking_request\": \"\",\n                \"order_status\": \"PROCESSING\",\n                \"order_review\": \"\",\n                \"order_rating\": 0\n            }\n        ],\n        \"order_information\": {\n            \"order_id\": \"lijuthomas_2GEpV0sRuy\",\n            \"user_id\": 2,\n            \"address_id\": 8,\n            \"item_count\": 2,\n            \"coupon_code\": \"\",\n            \"coupon_discount_amount\": 0,\n            \"product_offer_amount\": 40,\n            \"total_amount\": 1000,\n            \"final_amount\": 960,\n            \"payment_method\": \"ONLINE\",\n            \"payment_status\": \"ONLINE_PENDING\",\n            \"ordered_at\": \"2024-07-14T10:28:06.39Z\"\n        }\n    },\n    \"message\": \"Successfully retrieved OrderInformation\",\n    \"status\": true\n}"}],"_postman_id":"de5123f6-b6ff-4784-9fd9-39142447b758"},{"name":"Order Invoice as PDF","id":"9a8a97ef-1dac-486f-8b4d-3fb00cae8adc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/invoice?order_id=2f8f0d57-ad2f-4a42-ab92-0d1bc2c240b8","description":"<p>Generate a downloadable PDF invoice for a specific order within the Foodbuddy platform. With this feature, users can easily access and save detailed order information in a portable format for record-keeping or sharing purposes. This section provides a convenient way for users to retrieve and view important transaction details in a user-friendly format.</p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>order_id(string) - The unique identifier for the order for which the invoice is being generated.</li>\n</ul>\n","urlObject":{"path":["api","v1","user","order","invoice"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"order_id","value":"2f8f0d57-ad2f-4a42-ab92-0d1bc2c240b8"}],"variable":[]}},"response":[],"_postman_id":"9a8a97ef-1dac-486f-8b4d-3fb00cae8adc"},{"name":"Rate the Order Item","id":"c0e0af24-2d62-41ba-89a4-2a8dccc014c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"98f7f757-5a6e-47d3-b23e-b994f88f235a\",\n    \"product_id\":6,\n    \"user_rating\":3.4\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/rating","description":"<p>This section allows users to rate specific items within their orders, providing valuable feedback on the products received. By submitting the order ID, product ID, and rating, users can share their satisfaction level with individual items. This feature helps improve overall user experiences and enhance the quality of product offerings.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li><p>order_id(string) - The unique identifier of the order being rated by the user.</p>\n</li>\n<li><p>product_id(number) - The unique identifier of the product being rated in the order.</p>\n</li>\n<li><p>user_rating(number) - The numerical rating given by the user for the product in the order.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","order","rating"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"fd3d3330-a5fc-4643-957b-fc17cf4a414a","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"98f7f757-5a6e-47d3-b23e-b994f88f235a\",\n    \"product_id\":6,\n    \"user_rating\":3.4\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/rating"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 17 Jul 2024 06:06:46 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"80"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"successfully updated rating\",\n    \"new_average_rating\": 3.4,\n    \"status\": true\n}"}],"_postman_id":"c0e0af24-2d62-41ba-89a4-2a8dccc014c5"},{"name":"Review the Order Item","id":"67bb6202-53d6-4671-be06-7fcdaf65087e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"98f7f757-5a6e-47d3-b23e-b994f88f235a\",\n    \"product_id\":6,\n    \"user_review\":\"good\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/review","description":"<p>The \"Review the Order Item\" section allows users to provide feedback on a specific item in their order. By submitting the order ID, product ID, and a rating, users can share their experience and help improve the overall quality of their orders.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li><p>order_id(string) - The unique identifier of the order being rated by the user.</p>\n</li>\n<li><p>product_id(number) - The unique identifier of the product being rated in the order.</p>\n</li>\n<li><p>user_rating(number) - The numerical rating given by the user for the product in the order.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","user","order","review"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"e2286ff9-af59-4f6c-bae7-933281ae2c00","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"98f7f757-5a6e-47d3-b23e-b994f88f235a\",\n    \"product_id\":6,\n    \"user_review\":\"good\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/review"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 17 Jul 2024 06:29:31 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"successfully added the review\",\n    \"status\": true\n}"}],"_postman_id":"67bb6202-53d6-4671-be06-7fcdaf65087e"},{"name":"VerifyOnlinePayment","id":"98ec276f-bd2e-401c-916e-0e7cf354c843","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/verifypayment?order_id=cee548b5-b37c-4325-8a03-1307698889cd","description":"<p>The VerifyOnlinePayment section allows users to confirm the status of an online payment for a food order. By querying this section, users can determine whether the payment for a specific order has been successfully processed, providing transparency and assurance in the ordering process.</p>\n<p><strong>QUERY PARAMETERS</strong></p>\n<ul>\n<li>order_id(string) - The unique identifier of the order for which the online payment is being verified.</li>\n</ul>\n","urlObject":{"path":["api","v1","user","order","verifypayment"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"order_id","value":"cee548b5-b37c-4325-8a03-1307698889cd"}],"variable":[]}},"response":[{"id":"fb181001-8155-4ad6-8d67-3fb055e94bcc","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/user/order/verifypayment?order_id=376b6524-30bc-48bc-9485-d9779979532f","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","user","order","verifypayment"],"query":[{"key":"order_id","value":"376b6524-30bc-48bc-9485-d9779979532f"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 17 Jul 2024 08:27:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"413"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"OrderID\": \"376b6524-30bc-48bc-9485-d9779979532f\",\n        \"wallet_payment_id\": \"\",\n        \"stripe_session_id\": \"\",\n        \"stripe_payment_id\": \"\",\n        \"razorpay_order_id\": \"order_OZdI3SJb5uThpq\",\n        \"razorpay_payment_id\": \"pay_OZdIY82Emzr7ii\",\n        \"razorpay_signature\": \"791b3c5197cb7dbf0024ff1d0f192d63ca0a5b29ec3058f7419e284ddfda5b3f\",\n        \"payment_gateway\": \"RAZORPAY\",\n        \"payment_status\": \"ONLINE_CONFIRMED\"\n    },\n    \"message\": \"online payment done\",\n    \"status\": true\n}"}],"_postman_id":"98ec276f-bd2e-401c-916e-0e7cf354c843"}],"id":"066c5957-51dc-4c4f-a3b6-5f0a64023edf","description":"<p>The ORDER MANAGEMENT section in the Foodbuddy API allows users to efficiently manage and track food orders within their system. With this functionality, users can retrieve detailed information about orders, check order status, and make necessary updates to order details. This section provides essential tools for seamless order processing and customer satisfaction.</p>\n","_postman_id":"066c5957-51dc-4c4f-a3b6-5f0a64023edf"},{"name":"CATEGORY MANAGEMENT","item":[{"name":"Add Category","id":"90d9d997-e42e-49aa-92b5-9067ecc6b4e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"Pizza\",\n    \"description\":\"Really good and Fresh Burgers made from original ingredients and Vegetables\",\n    \"image_url\":\"https://example.com/image.png\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/categories/add","description":"<p>The \"Add Category\" section in the Foodbuddy API allows users to create a new category for their food-related items. By utilizing this functionality, users can organize and manage their products into distinct categories, enhancing the overall user experience of their platform. This section empowers users to efficiently classify their products, simplifying navigation and search functionality for their customers.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li><p>The name(string) of the category being added.</p>\n</li>\n<li><p>A description(string) of the category being added.</p>\n</li>\n<li><p>image_url(string) - The URL of the image associated with the category being added.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","admin","categories","add"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"52b0094c-0d88-4db3-b2f6-ab5b87afcc47","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"Burgers\",\n    \"description\":\"Really good and Fresh Burgers made from original ingredients and Vegetables\",\n    \"image_url\":\"https://example.com/image.png\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/categories/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 10:40:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"235"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"category\": {\n            \"name\": \"Burgers\",\n            \"description\": \"Really good and Fresh Burgers made from original ingredients and Vegetables\",\n            \"image_url\": \"https://example.com/image.png\"\n        }\n    },\n    \"message\": \"successully added a new category\",\n    \"status\": true\n}"}],"_postman_id":"90d9d997-e42e-49aa-92b5-9067ecc6b4e3"},{"name":"Edit Category","id":"f70bdab3-d7cd-4cfe-ba2a-6addd71ca046","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n\t\"id\": 4,\n\t\"name\": \"Pizza\",\n\t\"description\": \"Really good and Fresh Pizza made from original ingredients and Vegetables\",\n\t\"image_url\": \"https://example.com/image.png\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/categories/edit","description":"<p>The Edit Category section allows users to modify existing categories within the Foodbuddy project. By using this functionality, users can update category names, descriptions, and image URLs as needed to ensure accurate and up-to-date categorization of food items. This section streamlines the process of managing category information within the application.</p>\n<h4 id=\"body-parameters\">BODY PARAMETERS</h4>\n<ul>\n<li><p>id(number) - The unique identifier of the category being edited.</p>\n</li>\n<li><p>The name(string) of the category being added.</p>\n</li>\n<li><p>A description(string) of the category being added.</p>\n</li>\n<li><p>image_url(string) - The URL of the image associated with the category being added.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","admin","categories","edit"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"86b16684-fdc9-48f3-bfcf-f901a99931e9","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n\t\"id\": 1,\n\t\"name\": \"Icecream\",\n\t\"description\": \"Really good and Fresh Icecreams made from original ingredients and Fruits\",\n\t\"image_url\": \"https://example.com/image.png\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/categories/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 10:57:13 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"successfully updated category\",\n    \"status\": true\n}"}],"_postman_id":"f70bdab3-d7cd-4cfe-ba2a-6addd71ca046"},{"name":"Delete Category","id":"d362f42e-2642-4419-93c8-0d1df181e776","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/categories/delete?categoryid=1","description":"<p>The Delete Category section allows users to remove a category from the Foodbuddy project. By utilizing this functionality, users can effectively manage their category listings and streamline their project organization.Inorder to delete a category successfully make sure all the products are assigned with new categories</p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>categoryid(number) - The unique identifier of the category that needs to be deleted.</li>\n</ul>\n","urlObject":{"path":["api","v1","admin","categories","delete"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"categoryid","value":"1"}],"variable":[]}},"response":[{"id":"9b5f04ea-1257-408d-ad74-024ec1d1abb3","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/categories/delete?categoryid=2","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","admin","categories","delete"],"query":[{"key":"categoryid","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:24:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"75"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully deleted category from the database\",\n    \"status\": true\n}"}],"_postman_id":"d362f42e-2642-4419-93c8-0d1df181e776"}],"id":"bacb1ade-b50d-46d3-9d40-2fc82c94dde1","description":"<p>The CATEGORY MANAGEMENT section allows users to efficiently organize and manage different categories within the Foodbuddy platform. With this functionality, users can easily create, update, and delete categories to better categorize food items or products. This section provides a streamlined process for maintaining a structured and organized inventory of items.</p>\n","_postman_id":"bacb1ade-b50d-46d3-9d40-2fc82c94dde1"},{"name":"ADMIN RESTAURANT MANAGEMENT","item":[{"name":"Block Restaurant","id":"aebe9e75-cd6c-49e8-81b3-4827cc99b0a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/restaurants/block?restaurantid=1","description":"<p>The \"Block Restaurant\" section in the Foodbuddy API allows users to prevent a specific restaurant from receiving orders or being displayed to customers. By blocking a restaurant, users can effectively manage their platform's offerings and ensure a seamless experience for their customers. This feature helps maintain control over the available options and can be useful for handling various business scenarios.</p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>restaurantid(number) - The unique ID of the restaurant to be blocked.</li>\n</ul>\n","urlObject":{"path":["api","v1","admin","restaurants","block"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"restaurantid","value":"1"}],"variable":[]}},"response":[{"id":"2a38f597-d698-44f1-926e-1cdaaead2595","name":"Success","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/restaurants/block?restaurantid=1","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","admin","restaurants","block"],"query":[{"key":"restaurantid","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:23:22 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"183"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"address\": \"123 Culinary Street, Food City, FC 12345\",\n        \"blockstatus\": true,\n        \"email\": \"foodbuddycode@gmail.com\",\n        \"name\": \"Blue Moon\"\n    },\n    \"message\": \"restaurant is blocked\",\n    \"status\": true\n}"}],"_postman_id":"aebe9e75-cd6c-49e8-81b3-4827cc99b0a5"},{"name":"Unblock Restaurant","id":"48cd7370-1f12-49d7-a4e3-5a615ef79f40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/restaurants/unblock?restaurantid=1","description":"<p>The \"Unblock Restaurant\" section allows users to lift any restrictions placed on a specific restaurant within the Foodbuddy platform. By unblocking a restaurant, users can restore its full functionality and visibility to customers. This action is crucial for resolving any temporary blocks or restrictions that may have been imposed.</p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>restaurantid(number) - The unique ID of the restaurant to be unblocked.</li>\n</ul>\n","urlObject":{"path":["api","v1","admin","restaurants","unblock"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"restaurantid","value":"1"}],"variable":[]}},"response":[{"id":"1ab7803c-bd58-4ece-adda-cbafdffafd68","name":"Success","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/restaurants/unblock?restaurantid=1","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","admin","restaurants","unblock"],"query":[{"key":"restaurantid","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:23:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"187"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"address\": \"123 Culinary Street, Food City, FC 12345\",\n        \"block_status\": false,\n        \"email\": \"foodbuddycode@gmail.com\",\n        \"name\": \"Blue Moon\"\n    },\n    \"message\": \"restaurant is unblocked\",\n    \"status\": true\n}"}],"_postman_id":"48cd7370-1f12-49d7-a4e3-5a615ef79f40"},{"name":"Verification True","id":"2f9e360c-258a-41fd-81f2-1456fd65331f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/restaurants/verify/success?restaurantid=1","description":"<p>The Verification True section in the Foodbuddy API allows users to mark a restaurant as successfully verified by an admin. By indicating verification success, users can ensure that the restaurant meets the necessary criteria and is ready to be displayed on the platform for customers to discover and order from. This process helps maintain the accuracy and reliability of restaurant listings within the application.  </p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>restaurantid(string) - The restaurantid parameter specifies the unique identifier of the restaurant for which the verification process is being carried out.</li>\n</ul>\n","urlObject":{"path":["api","v1","admin","restaurants","verify","success"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"restaurantid","value":"1"}],"variable":[]}},"response":[{"id":"28582f82-1218-4723-8415-cad3bafc61fc","name":"Success","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/restaurants/verify/success?restaurantid=1","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","admin","restaurants","verify","success"],"query":[{"key":"restaurantid","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:30:23 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"74"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"restaurant status changed to status - verified\",\n    \"status\": true\n}"}],"_postman_id":"2f9e360c-258a-41fd-81f2-1456fd65331f"},{"name":"Verification False","id":"bb86d2fd-1b3d-4943-b1e0-4eefd77983f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/restaurants/verify/failed?restaurantid=1","description":"<p>The Verification False section in the Foodbuddy API allows admin users to mark a restaurant verification as failed. By using this functionality, users can easily manage the verification status of restaurants within the system. This section provides a streamlined process for handling failed verifications in a clear and efficient manner.</p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>The restaurantid query parameter specifies the unique identifier of the restaurant for which the verification status is being updated.</li>\n</ul>\n","urlObject":{"path":["api","v1","admin","restaurants","verify","failed"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"restaurantid","value":"1"}],"variable":[]}},"response":[{"id":"0534ae52-0fca-4c78-8eff-dfbe39d9a115","name":"Success","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/restaurants/verify/failed?restaurantid=1","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","admin","restaurants","verify","failed"],"query":[{"key":"restaurantid","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:30:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"73"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"restaurant status changed to status - pending\",\n    \"status\": true\n}"}],"_postman_id":"bb86d2fd-1b3d-4943-b1e0-4eefd77983f8"}],"id":"c3a46ec2-ae44-4a5e-896c-87d5ec0817f4","description":"<p>The ADMIN RESTAURANT MANAGEMENT section allows users to retrieve essential information about restaurants within the Foodbuddy platform. Users can access details such as restaurant names, locations, and operating hours to effectively manage restaurant data. This section provides a streamlined way for users to gather and organize restaurant information for efficient administrative tasks.</p>\n","_postman_id":"c3a46ec2-ae44-4a5e-896c-87d5ec0817f4"},{"name":"ADMIN USER MANAGEMENT","item":[{"name":"List Blocked Users","id":"f3db1abc-675a-4d03-a83a-35977f477e77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/users/blocked","description":"<p>This section allows users to view a list of blocked users within the Foodbuddy platform. By accessing this information, users can easily manage and monitor the blocked users on their account, ensuring a safe and secure environment for all users.</p>\n","urlObject":{"path":["api","v1","admin","users","blocked"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"5318f722-8005-44d8-9eb0-9cb409054e52","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/users/blocked"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:17:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"311"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"blocked_users\": [\n            {\n                \"id\": 1,\n                \"name\": \"LijuThomas_\",\n                \"email\": \"lijuthomasliju03@gmail.com\",\n                \"phone_number\": 7356108734,\n                \"picture\": \"http://example.com/image.png\",\n                \"referral_code\": \"8Lz9o\",\n                \"wallet_amount\": 0,\n                \"login_method\": \"email\",\n                \"blocked\": true\n            }\n        ]\n    },\n    \"message\": \"successfully retrieved blocked user's data\",\n    \"status\": true\n}"}],"_postman_id":"f3db1abc-675a-4d03-a83a-35977f477e77"},{"name":"Block User","id":"d1d0f3c0-5de8-40b0-b08d-547830c48e25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/users/block?userid=1","description":"<p>The Block User section allows administrators to prevent a user from accessing certain features or content within the Foodbuddy platform. By utilizing this functionality, users can maintain control over user access and address potential issues with specific accounts effectively.</p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>userid(number) - The unique identifier of the user that is being blocked.</li>\n</ul>\n","urlObject":{"path":["api","v1","admin","users","block"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"userid","value":"1"}],"variable":[]}},"response":[{"id":"b46ef007-5b88-4dd3-a712-a1e4ab9680dc","name":"Success","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/users/block?userid=1","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","admin","users","block"],"query":[{"key":"userid","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:02:33 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"58"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"successfully blocked the user\",\n    \"status\": false\n}"}],"_postman_id":"d1d0f3c0-5de8-40b0-b08d-547830c48e25"},{"name":"Unblock User","id":"f3e21512-0219-44b8-b482-433dcab7ea5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/users/unblock?userid=1","description":"<p>The Unblock User section allows administrators to lift restrictions on a user account, enabling them to regain full access to their account and associated features within the Foodbuddy platform. This functionality empowers administrators to easily manage user access and resolve account-related issues efficiently.  </p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>The userid(number) parameter specifies the unique identifier of the user to be unblocked.</li>\n</ul>\n","urlObject":{"path":["api","v1","admin","users","unblock"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"userid","value":"1"}],"variable":[]}},"response":[{"id":"57d1b141-7cf4-46ea-bec2-c956c4f70ef6","name":"Success","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/users/unblock?userid=1","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","admin","users","unblock"],"query":[{"key":"userid","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:18:34 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"54"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"user is succefully blocked\",\n    \"status\": true\n}"}],"_postman_id":"f3e21512-0219-44b8-b482-433dcab7ea5d"},{"name":"List all Users","id":"f3d3a1d4-1665-4b53-9826-a61490cb061b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/users","description":"<p>This section allows users to retrieve a comprehensive list of all registered users within the Foodbuddy platform. With this feature, users can access essential user details such as names, email addresses, phone numbers, wallet amounts, and more. This functionality enables administrators to manage and analyze user data efficiently.</p>\n","urlObject":{"path":["api","v1","admin","users"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"e9c7b910-69fa-4885-a486-71b90a330b3b","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:17:15 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"301"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"users\": [\n            {\n                \"id\": 1,\n                \"name\": \"LijuThomas_\",\n                \"email\": \"lijuthomasliju03@gmail.com\",\n                \"phone_number\": 7356108734,\n                \"picture\": \"http://example.com/image.png\",\n                \"referral_code\": \"8Lz9o\",\n                \"wallet_amount\": 0,\n                \"login_method\": \"email\",\n                \"blocked\": true\n            }\n        ]\n    },\n    \"message\": \"successfully retrieved user informations\",\n    \"status\": true\n}"}],"_postman_id":"f3d3a1d4-1665-4b53-9826-a61490cb061b"}],"id":"72287b82-be14-439b-9335-7f24a45b0709","description":"<p>The ADMIN USER MANAGEMENT section allows users to view and manage administrative users within the Foodbuddy platform. With this API, developers can retrieve information about administrators, such as their roles, permissions, and contact details, to effectively manage and organize user access levels and responsibilities.</p>\n","_postman_id":"72287b82-be14-439b-9335-7f24a45b0709"},{"name":"PUBLIC ROUTES","item":[{"name":"List all Category","id":"82e43029-ab04-478b-a389-abc5bf998e7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/categories","description":"<p>This section allows users to retrieve a comprehensive list of all available categories within the Foodbuddy platform. By accessing this information, users can easily browse and explore the various categories offered, gaining insights into the diverse range of options available for selection. This functionality enhances the user experience by providing a clear overview of the available categories for seamless navigation and selection.</p>\n","urlObject":{"path":["api","v1","public","categories"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"1e52ab06-7a82-4be4-beba-57cd381bfc18","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/categories"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 10:51:31 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"456"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"categorylist\": [\n            {\n                \"id\": 1,\n                \"name\": \"Icecream\",\n                \"description\": \"Really good and Fresh Icecreams made from original ingredients and Fruits\",\n                \"image_url\": \"https://example.com/image.png\",\n                \"offer_percentage\": 0\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Burgers\",\n                \"description\": \"Really good and Fresh Burgers made from original ingredients and Vegetables\",\n                \"image_url\": \"https://example.com/image.png\",\n                \"offer_percentage\": 0\n            }\n        ]\n    },\n    \"message\": \"category list is fetched successfully\",\n    \"status\": true\n}"}],"_postman_id":"82e43029-ab04-478b-a389-abc5bf998e7c"},{"name":"List the Category along with Products","id":"8a9faaca-f385-41c0-ae79-c9276c00d3c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/categories/products","description":"<p>This section allows users to view all products within a specific category in the Foodbuddy project. By listing the category along with its associated products, users can easily navigate and explore the available items within each category for a seamless browsing experience.</p>\n","urlObject":{"path":["api","v1","public","categories","products"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"22b30692-28e8-4349-bd8e-b94ac7d84fc9","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/categories/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 10:52:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"498"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"categorylist\": [\n            {\n                \"description\": \"Really good and Fresh Icecreams made from original ingredients and Fruits\",\n                \"id\": 1,\n                \"image_url\": \"https://example.com/image.png\",\n                \"name\": \"Icecream\",\n                \"offer_percentage\": 0,\n                \"products\": []\n            },\n            {\n                \"description\": \"Really good and Fresh Burgers made from original ingredients and Vegetables\",\n                \"id\": 2,\n                \"image_url\": \"https://example.com/image.png\",\n                \"name\": \"Burgers\",\n                \"offer_percentage\": 0,\n                \"products\": []\n            }\n        ]\n    },\n    \"message\": \"category list with products is fetched successfully\",\n    \"status\": true\n}"}],"_postman_id":"8a9faaca-f385-41c0-ae79-c9276c00d3c3"},{"name":"List all Products","id":"8fe1f9e3-d3fa-48ad-8398-896830f47ea2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/products","description":"<p>This section allows users to retrieve a comprehensive list of all available products within the Foodbuddy system. Users can access various details such as product names, descriptions, prices, and availability, enabling them to easily browse and select items for purchase or further analysis.</p>\n","urlObject":{"path":["api","v1","public","products"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"362362ac-aff7-43ee-afe6-c8ac822cecdb","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Thu, 11 Jul 2024 03:39:37 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"products\": [\n            {\n                \"CreatedAt\": \"2024-07-10T12:39:16.909Z\",\n                \"UpdatedAt\": \"2024-07-10T14:20:45.81Z\",\n                \"DeletedAt\": null,\n                \"ID\": 1,\n                \"restaurant_id\": 1,\n                \"category_id\": 1,\n                \"name\": \"Vanilla Icrecream\",\n                \"description\": \"This is a sample edited product description.This is a sample edited product description\",\n                \"image_url\": \"https://example.com/sample-image.jpg\",\n                \"price\": 40,\n                \"preparation_time\": 0,\n                \"max_stock\": 100,\n                \"offer_amount\": 10,\n                \"stock_left\": 50,\n                \"average_rating\": 0,\n                \"veg\": \"YES\"\n            },\n            {\n                \"CreatedAt\": \"2024-07-10T12:42:25.131Z\",\n                \"UpdatedAt\": \"2024-07-10T16:02:12.308Z\",\n                \"DeletedAt\": null,\n                \"ID\": 2,\n                \"restaurant_id\": 1,\n                \"category_id\": 1,\n                \"name\": \"Strawberry Icrecream\",\n                \"description\": \"This is a sample product description.This is a sample product description\",\n                \"image_url\": \"https://example.com/sample-image.jpg\",\n                \"price\": 50,\n                \"preparation_time\": 0,\n                \"max_stock\": 100,\n                \"offer_amount\": 0,\n                \"stock_left\": 44,\n                \"average_rating\": 0,\n                \"veg\": \"\"\n            },\n            {\n                \"CreatedAt\": \"2024-07-10T12:50:35.207Z\",\n                \"UpdatedAt\": \"2024-07-10T16:02:12.319Z\",\n                \"DeletedAt\": null,\n                \"ID\": 4,\n                \"restaurant_id\": 1,\n                \"category_id\": 1,\n                \"name\": \"Premium Icecream with Nuts\",\n                \"description\": \"This is a sample product description.This is a sample product description\",\n                \"image_url\": \"https://example.com/sample-image.jpg\",\n                \"price\": 500,\n                \"preparation_time\": 0,\n                \"max_stock\": 100,\n                \"offer_amount\": 0,\n                \"stock_left\": 46,\n                \"average_rating\": 0,\n                \"veg\": \"\"\n            },\n            {\n                \"CreatedAt\": \"2024-07-10T12:51:42.628Z\",\n                \"UpdatedAt\": \"2024-07-10T13:52:29.707Z\",\n                \"DeletedAt\": null,\n                \"ID\": 5,\n                \"restaurant_id\": 1,\n                \"category_id\": 1,\n                \"name\": \"Butterscotch 1L Icecream\",\n                \"description\": \"This is a sample product description.This is a sample product description\",\n                \"image_url\": \"https://example.com/sample-image.jpg\",\n                \"price\": 1200,\n                \"preparation_time\": 0,\n                \"max_stock\": 100,\n                \"offer_amount\": 0,\n                \"stock_left\": 47,\n                \"average_rating\": 0,\n                \"veg\": \"\"\n            },\n            {\n                \"CreatedAt\": \"2024-07-10T12:58:56.316Z\",\n                \"UpdatedAt\": \"2024-07-10T12:58:56.316Z\",\n                \"DeletedAt\": null,\n                \"ID\": 6,\n                \"restaurant_id\": 1,\n                \"category_id\": 1,\n                \"name\": \"Chocolate 1L Icecream\",\n                \"description\": \"This is a sample product description.This is a sample product description\",\n                \"image_url\": \"https://example.com/sample-image.jpg\",\n                \"price\": 1300,\n                \"preparation_time\": 0,\n                \"max_stock\": 100,\n                \"offer_amount\": 0,\n                \"stock_left\": 50,\n                \"average_rating\": 0,\n                \"veg\": \"YES\"\n            }\n        ]\n    },\n    \"message\": \"successfully retrieved products\",\n    \"status\": true\n}"}],"_postman_id":"8fe1f9e3-d3fa-48ad-8398-896830f47ea2"},{"name":"List all Restaurants","id":"b0b07c85-cfe6-4421-aa82-db5af281650d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/restaurants","description":"<p>The \"List all Restaurants\" section allows users to retrieve a comprehensive list of all available restaurants. With this functionality, users can easily browse through the various restaurants and their associated details, such as address, description, contact information, and verification status. This section provides a convenient way for users to explore and discover the range of dining options offered within the platform.</p>\n","urlObject":{"path":["api","v1","public","restaurants"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"0ee9995f-76c3-485f-9159-04a25f20c9cd","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/restaurants"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 10:55:31 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"493"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"restaurantslist\": [\n            {\n                \"address\": \"123 Culinary Street, Food City, FC 12345\",\n                \"certificate_url\": \"https://example.com/certificates/restaurant_cert.pdf\",\n                \"description\": \"A fine dining restaurant offering a blend of modern and classic cuisine.\",\n                \"email\": \"foodbuddycode@gmail.com\",\n                \"image_url\": \"https://example.com/images/restaurant.jpg\",\n                \"name\": \"Blue Moon\",\n                \"phone_number\": 1234567890,\n                \"restaurant_id\": 1,\n                \"verification_status\": \"pending\"\n            }\n        ]\n    },\n    \"message\": \"restaurants retrieved successfully\",\n    \"status\": true\n}"}],"_postman_id":"b0b07c85-cfe6-4421-aa82-db5af281650d"},{"name":"List Restauarant along with Products","id":"ecb62c52-ee5f-4792-a0f5-e6f99f26f803","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/restaurants/products?restaurantid=1","description":"<p>This section allows users to retrieve a list of products associated with a specific restaurant. By providing the restaurant ID, users can access details such as product names, descriptions, prices, availability, and ratings. This information enables users to view and manage the products offered by a particular restaurant within the Foodbuddy platform.</p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>restaurantid(number) - The unique identifier of the restaurant for which to fetch products.</li>\n</ul>\n","urlObject":{"path":["api","v1","public","restaurants","products"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"restaurantid","value":"1"}],"variable":[]}},"response":[{"id":"992129d0-34c7-43b0-b1fb-f7fddc1a03c8","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/public/restaurants/products?restaurantid=1","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","public","restaurants","products"],"query":[{"key":"restaurantid","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 14:28:53 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"products\": [\n            {\n                \"CreatedAt\": \"2024-07-10T12:39:16.909Z\",\n                \"UpdatedAt\": \"2024-07-10T14:20:45.81Z\",\n                \"DeletedAt\": null,\n                \"ID\": 1,\n                \"restaurant_id\": 1,\n                \"category_id\": 1,\n                \"name\": \"Vanilla Icrecream\",\n                \"description\": \"This is a sample edited product description.This is a sample edited product description\",\n                \"image_url\": \"https://example.com/sample-image.jpg\",\n                \"price\": 40,\n                \"preparation_time\": 0,\n                \"max_stock\": 100,\n                \"offer_amount\": 10,\n                \"stock_left\": 50,\n                \"average_rating\": 0,\n                \"veg\": \"YES\"\n            },\n            {\n                \"CreatedAt\": \"2024-07-10T12:42:25.131Z\",\n                \"UpdatedAt\": \"2024-07-10T13:52:29.696Z\",\n                \"DeletedAt\": null,\n                \"ID\": 2,\n                \"restaurant_id\": 1,\n                \"category_id\": 1,\n                \"name\": \"Strawberry Icrecream\",\n                \"description\": \"This is a sample product description.This is a sample product description\",\n                \"image_url\": \"https://example.com/sample-image.jpg\",\n                \"price\": 50,\n                \"preparation_time\": 0,\n                \"max_stock\": 100,\n                \"offer_amount\": 0,\n                \"stock_left\": 47,\n                \"average_rating\": 0,\n                \"veg\": \"\"\n            },\n            {\n                \"CreatedAt\": \"2024-07-10T12:50:35.207Z\",\n                \"UpdatedAt\": \"2024-07-10T13:52:29.716Z\",\n                \"DeletedAt\": null,\n                \"ID\": 4,\n                \"restaurant_id\": 1,\n                \"category_id\": 1,\n                \"name\": \"Premium Icecream with Nuts\",\n                \"description\": \"This is a sample product description.This is a sample product description\",\n                \"image_url\": \"https://example.com/sample-image.jpg\",\n                \"price\": 500,\n                \"preparation_time\": 0,\n                \"max_stock\": 100,\n                \"offer_amount\": 0,\n                \"stock_left\": 47,\n                \"average_rating\": 0,\n                \"veg\": \"\"\n            },\n            {\n                \"CreatedAt\": \"2024-07-10T12:51:42.628Z\",\n                \"UpdatedAt\": \"2024-07-10T13:52:29.707Z\",\n                \"DeletedAt\": null,\n                \"ID\": 5,\n                \"restaurant_id\": 1,\n                \"category_id\": 1,\n                \"name\": \"Butterscotch 1L Icecream\",\n                \"description\": \"This is a sample product description.This is a sample product description\",\n                \"image_url\": \"https://example.com/sample-image.jpg\",\n                \"price\": 1200,\n                \"preparation_time\": 0,\n                \"max_stock\": 100,\n                \"offer_amount\": 0,\n                \"stock_left\": 47,\n                \"average_rating\": 0,\n                \"veg\": \"\"\n            },\n            {\n                \"CreatedAt\": \"2024-07-10T12:58:56.316Z\",\n                \"UpdatedAt\": \"2024-07-10T12:58:56.316Z\",\n                \"DeletedAt\": null,\n                \"ID\": 6,\n                \"restaurant_id\": 1,\n                \"category_id\": 1,\n                \"name\": \"Chocolate 1L Icecream\",\n                \"description\": \"This is a sample product description.This is a sample product description\",\n                \"image_url\": \"https://example.com/sample-image.jpg\",\n                \"price\": 1300,\n                \"preparation_time\": 0,\n                \"max_stock\": 100,\n                \"offer_amount\": 0,\n                \"stock_left\": 50,\n                \"average_rating\": 0,\n                \"veg\": \"YES\"\n            }\n        ]\n    },\n    \"message\": \"successfully retrieved products\",\n    \"status\": true\n}"}],"_postman_id":"ecb62c52-ee5f-4792-a0f5-e6f99f26f803"},{"name":"List all the Vegetarian Options","id":"9373a615-75b5-489e-b1eb-b26975e7280b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/products/onlyveg","description":"<p>This section allows users to retrieve a list of all vegetarian options available within the Foodbuddy platform. By accessing this API section, users can easily browse and explore the variety of plant-based products offered by different restaurants and categories.</p>\n","urlObject":{"path":["api","v1","public","products","onlyveg"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"1ce4a55b-561a-43e1-92d0-42c6ec1bc86b","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/products/onlyveg"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 14:28:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"660"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"product_id\": 1,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Vanilla Icrecream\",\n            \"description\": \"This is a sample edited product description.This is a sample edited product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 40,\n            \"stock_left\": 50,\n            \"average_rating\": 0,\n            \"veg\": \"YES\"\n        },\n        {\n            \"product_id\": 6,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Chocolate 1L Icecream\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 1300,\n            \"stock_left\": 50,\n            \"average_rating\": 0,\n            \"veg\": \"YES\"\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"9373a615-75b5-489e-b1eb-b26975e7280b"},{"name":"List all  Newly Arrived FoodProducts","id":"314372f6-7d9b-458d-bf21-15600b176b50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/products/newarrivals","description":"<p>This section allows users to retrieve a list of all newly arrived food products in the system. Users can easily stay updated on the latest additions to the inventory and make informed decisions based on the available products.</p>\n","urlObject":{"path":["api","v1","public","products","newarrivals"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"a3ed2261-4b80-4844-911b-aa0fb08aabf1","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/products/newarrivals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 14:27:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1597"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"product_id\": 1,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Vanilla Icrecream\",\n            \"description\": \"This is a sample edited product description.This is a sample edited product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 40,\n            \"stock_left\": 50,\n            \"average_rating\": 0,\n            \"veg\": \"YES\"\n        },\n        {\n            \"product_id\": 2,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Strawberry Icrecream\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 50,\n            \"stock_left\": 47,\n            \"average_rating\": 0,\n            \"veg\": \"\"\n        },\n        {\n            \"product_id\": 4,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Premium Icecream with Nuts\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 500,\n            \"stock_left\": 47,\n            \"average_rating\": 0,\n            \"veg\": \"\"\n        },\n        {\n            \"product_id\": 5,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Butterscotch 1L Icecream\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 1200,\n            \"stock_left\": 47,\n            \"average_rating\": 0,\n            \"veg\": \"\"\n        },\n        {\n            \"product_id\": 6,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Chocolate 1L Icecream\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 1300,\n            \"stock_left\": 50,\n            \"average_rating\": 0,\n            \"veg\": \"YES\"\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"314372f6-7d9b-458d-bf21-15600b176b50"},{"name":"List all FoodItems based on Price High to Low","id":"6c5505dc-6e0b-47b8-b450-f2c7dd480acc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/products/hightolow","description":"<p>This section allows users to retrieve a list of all food items available in the Foodbuddy system, sorted by price from high to low. Users can easily browse through the selection of food items based on their pricing preferences, helping them make informed choices when ordering meals.</p>\n","urlObject":{"path":["api","v1","public","products","hightolow"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"03ce19c3-78a8-4b09-8130-9e321ec49273","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/products/hightolow"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 14:27:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1597"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"product_id\": 6,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Chocolate 1L Icecream\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 1300,\n            \"stock_left\": 50,\n            \"average_rating\": 0,\n            \"veg\": \"YES\"\n        },\n        {\n            \"product_id\": 5,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Butterscotch 1L Icecream\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 1200,\n            \"stock_left\": 47,\n            \"average_rating\": 0,\n            \"veg\": \"\"\n        },\n        {\n            \"product_id\": 4,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Premium Icecream with Nuts\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 500,\n            \"stock_left\": 47,\n            \"average_rating\": 0,\n            \"veg\": \"\"\n        },\n        {\n            \"product_id\": 2,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Strawberry Icrecream\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 50,\n            \"stock_left\": 47,\n            \"average_rating\": 0,\n            \"veg\": \"\"\n        },\n        {\n            \"product_id\": 1,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Vanilla Icrecream\",\n            \"description\": \"This is a sample edited product description.This is a sample edited product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 40,\n            \"stock_left\": 50,\n            \"average_rating\": 0,\n            \"veg\": \"YES\"\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"6c5505dc-6e0b-47b8-b450-f2c7dd480acc"},{"name":"List all FoodItems based on Price Low to High","id":"2a1ea34c-e0ee-4d99-aa16-1468bf4d287d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/products/lowtohigh","description":"<p>This section allows users to retrieve a list of Food Items sorted by price from low to high. By utilizing this functionality, users can easily browse through products based on their pricing, making it convenient to find affordable options within the Foodbuddy platform.</p>\n","urlObject":{"path":["api","v1","public","products","lowtohigh"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"21bdb866-824e-47ee-aec1-fa10f73c2bd2","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/products/lowtohigh"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 14:26:31 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1597"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"product_id\": 1,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Vanilla Icrecream\",\n            \"description\": \"This is a sample edited product description.This is a sample edited product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 40,\n            \"stock_left\": 50,\n            \"average_rating\": 0,\n            \"veg\": \"YES\"\n        },\n        {\n            \"product_id\": 2,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Strawberry Icrecream\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 50,\n            \"stock_left\": 47,\n            \"average_rating\": 0,\n            \"veg\": \"\"\n        },\n        {\n            \"product_id\": 4,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Premium Icecream with Nuts\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 500,\n            \"stock_left\": 47,\n            \"average_rating\": 0,\n            \"veg\": \"\"\n        },\n        {\n            \"product_id\": 5,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Butterscotch 1L Icecream\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 1200,\n            \"stock_left\": 47,\n            \"average_rating\": 0,\n            \"veg\": \"\"\n        },\n        {\n            \"product_id\": 6,\n            \"restaurant_name\": \"Blue Moon\",\n            \"category_name\": \"Icecream\",\n            \"product_name\": \"Chocolate 1L Icecream\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 1300,\n            \"stock_left\": 50,\n            \"average_rating\": 0,\n            \"veg\": \"YES\"\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"2a1ea34c-e0ee-4d99-aa16-1468bf4d287d"},{"name":"List all Food Products on Offer","id":"5616328c-0e4c-4521-8c54-19db88b8142b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/products/offerproducts","description":"<blockquote>\n<p>Lists all products on offer.</p>\n</blockquote>\n","urlObject":{"path":["api","v1","public","products","offerproducts"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"52a428df-e30a-4f07-8976-1d9114a4272e","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/products/offerproducts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 14:20:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"456"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"CreatedAt\": \"2024-07-10T12:39:16.909Z\",\n            \"UpdatedAt\": \"2024-07-10T14:20:45.81Z\",\n            \"DeletedAt\": null,\n            \"ID\": 1,\n            \"restaurant_id\": 1,\n            \"category_id\": 1,\n            \"name\": \"Vanilla Icrecream\",\n            \"description\": \"This is a sample edited product description.This is a sample edited product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 40,\n            \"preparation_time\": 0,\n            \"max_stock\": 100,\n            \"offer_amount\": 10,\n            \"stock_left\": 50,\n            \"average_rating\": 0,\n            \"veg\": \"YES\"\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"5616328c-0e4c-4521-8c54-19db88b8142b"},{"name":"Individual Product Report","id":"75eb2bb1-2366-4390-b82c-ffd2b5f65022","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/report/products?productid=4","description":"<p>The Individual Product Report section provides detailed insights into a specific product's performance within the Foodbuddy platform. Users can access key metrics such as total sales amount, number of orders, average rating, and quantity sold for a particular product. This data helps users make informed decisions about the performance and popularity of their individual products.</p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>productid(number) - The unique identifier of the product for which the report is generated.</li>\n</ul>\n","urlObject":{"path":["api","v1","public","report","products"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"productid","value":"4"}],"variable":[]}},"response":[{"id":"2e33c9da-14d8-4eff-8290-6bcb3c0422e5","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/public/report/products?productid=1","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","public","report","products"],"query":[{"key":"productid","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 16 Jul 2024 06:34:37 GMT"},{"key":"Content-Length","value":"92"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"total_product_sales_amount\": 1500,\n        \"total_orders\": 3,\n        \"avg_rating\": 2.03,\n        \"quantity\": 3\n    }\n}"}],"_postman_id":"75eb2bb1-2366-4390-b82c-ffd2b5f65022"},{"name":"List Best Products","id":"c3a1ce66-9cbc-4b49-b389-423f31cb8d1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/report/products/best?index=3","description":"<p>This section allows users to retrieve a list of the best products available in the Foodbuddy platform. By accessing this API section, users can quickly identify the top-rated products based on various criteria such as sales, ratings, and categories. This information can help users make informed decisions and enhance their overall shopping experience on Foodbuddy.</p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>The index value used for querying the best products.</li>\n</ul>\n","urlObject":{"path":["api","v1","public","report","products","best"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"index","value":"3"}],"variable":[]}},"response":[{"id":"96bcb94b-274c-40ca-b5cb-636b4e646cf2","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/public/report/products/best?index=3","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","public","report","products","best"],"query":[{"key":"index","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 14:21:28 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"793"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"product_id\": 2,\n            \"name\": \"Strawberry Icrecream\",\n            \"category_name\": \"Icecream\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 50,\n            \"rating\": 0,\n            \"TotalSales\": 1\n        },\n        {\n            \"product_id\": 5,\n            \"name\": \"Butterscotch 1L Icecream\",\n            \"category_name\": \"Icecream\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 1200,\n            \"rating\": 0,\n            \"TotalSales\": 1\n        },\n        {\n            \"product_id\": 4,\n            \"name\": \"Premium Icecream with Nuts\",\n            \"category_name\": \"Icecream\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 500,\n            \"rating\": 0,\n            \"TotalSales\": 1\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"c3a1ce66-9cbc-4b49-b389-423f31cb8d1c"},{"name":"List the Platforms overall Order Report","id":"c1978fba-87b3-4602-8e81-3e2d3bd56003","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    // \"start_date\":\"2023-01-01\",\n    // \"end_date\":\"2024-12-01\",\n    \"limit\":\"month\",\n    \"payment_status\":\"ONLINE_CONFIRMED\"\n    }","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/report/overallreport/all","description":"<blockquote>\n<p>Lists the platform's overall order report. </p>\n</blockquote>\n<p>This endpoint can dynamically handle two ways of setting a limit on the time period, we can explicitly mention the date as start_date and end_date, if this is not explicit mentioned limit will be used. The limit is of the following day,week,month,year. Along with also specify the payment_status if needed.</p>\n<p>Provide start_date,end_date for detailed filtering or use day,week,month,year.<br />Also specify the payment_status you would like to target</p>\n","urlObject":{"path":["api","v1","public","report","overallreport","all"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"71e9cf13-0562-4cff-9c07-46a1dbb94512","name":"Success","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"start_date\":\"2023-01-01\",\n    \"end_date\":\"2024-12-01\",\n    \"limit\":\"week\",\n    \"payment_status\":\"ONLINE_CONFIRMED\"\n    }","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/report/overallreport/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 14:25:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"359"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"amount\": {\n        \"total_coupon_deduction\": 1050,\n        \"total_product_offer_deduction\": 0,\n        \"total_amount_before_deduction\": 5250,\n        \"total_amount_after_deduction\": 4200\n    },\n    \"message\": \"successfully created sales report\",\n    \"result\": {\n        \"total_order\": 3,\n        \"total_processing\": 0,\n        \"total_in_preparation\": 0,\n        \"total_prepared\": 0,\n        \"total_onthway\": 0,\n        \"total_delivered\": 0,\n        \"total_cancelled\": 3\n    },\n    \"status\": true\n}"}],"_postman_id":"c1978fba-87b3-4602-8e81-3e2d3bd56003"},{"name":"List all the Coupons","id":"f2e0dadb-fce4-40de-9304-9add132698e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/coupon/all","description":"<p>This section allows users to retrieve a comprehensive list of all available coupons within the Foodbuddy platform. By accessing this endpoint, users can easily view details such as coupon codes, expiry dates, discount percentages, and usage limits for each coupon, enabling them to make informed decisions when applying discounts to their orders.</p>\n","urlObject":{"path":["api","v1","public","coupon","all"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"38a38687-41e5-41db-8ee1-61d8137e8cf1","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/coupon/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:32:23 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"127"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"coupon_code\": \"SAVE20OFF\",\n            \"expiry\": 1972444800,\n            \"percentage\": 20,\n            \"maximum_usage\": 2,\n            \"minimum_amount\": 500\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"f2e0dadb-fce4-40de-9304-9add132698e5"},{"name":"Restuarant Profile","id":"5a34e680-823e-4dbe-838a-7c9949e667ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/restaurant/profile?id=1","description":"<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<ul>\n<li>id(number) - The unique identifier of the restaurant profile being requested.</li>\n</ul>\n","urlObject":{"path":["api","v1","public","restaurant","profile"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[{"id":"e0d1b181-d81f-4712-a2f9-738ddc7ff6c1","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/public/restaurant/profile?id=1","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","public","restaurant","profile"],"query":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Tue, 16 Jul 2024 17:37:22 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"376"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"address\": \"123 Culinary Street, Food City, FC 12345\",\n        \"blocked\": false,\n        \"certificate_url\": \"https://example.com/certificates/restaurant_cert.pdf\",\n        \"description\": \"A fine dining restaurant offering a blend of modern and classic cuisine.\",\n        \"image_url\": \"https://example.com/images/restaurant.jpg\",\n        \"name\": \"Blue Moon\",\n        \"phone_number\": 1234567890,\n        \"restaurant_id\": \"1\"\n    },\n    \"status\": true\n}"}],"_postman_id":"5a34e680-823e-4dbe-838a-7c9949e667ef"},{"name":"ListReviewandRating","id":"53e9e773-fd1e-4df0-bee5-9b70e1699860","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/public/product/reviewandrating?product_id=6","urlObject":{"path":["api","v1","public","product","reviewandrating"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"product_id","value":"6"}],"variable":[]}},"response":[{"id":"475077d8-7593-41eb-95d1-68fe00429284","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/public/product/reviewandrating?product_id=6","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","public","product","reviewandrating"],"query":[{"key":"product_id","value":"6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 17 Jul 2024 06:21:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"66"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"rating\": 3.4,\n            \"review\": \"good\",\n            \"userid\": 1\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"53e9e773-fd1e-4df0-bee5-9b70e1699860"}],"id":"9b991580-89fa-4fdc-98f7-88848d84a675","description":"<p>The PUBLIC ROUTES section of the Foodbuddy API allows users to access public information and resources without authentication. With these endpoints, users can retrieve general data such as menu items, restaurant locations, and opening hours. This section is designed to provide easy access to essential public information for users browsing or searching for food options.</p>\n","_postman_id":"9b991580-89fa-4fdc-98f7-88848d84a675"},{"name":"RESTAURANT MANAGEMENT","item":[{"name":"List OrderItems Excel","id":"5439f6e5-4564-49ef-a7e0-cbc5c957112d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/orderitems/excel/all","description":"<blockquote>\n<p>Lists all order information with items for restaurants.</p>\n</blockquote>\n","urlObject":{"path":["api","v1","restaurants","orderitems","excel","all"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"1c0cc054-24c4-4ed0-85a6-15ad48efe550","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/orderitems/excel/all"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Accept-Ranges","value":"bytes"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Disposition","value":"attachment; filename=orders.csv"},{"key":"Content-Length","value":"981"},{"key":"Content-Type","value":"text/csv"},{"key":"Last-Modified","value":"Sun, 14 Jul 2024 11:50:23 GMT"},{"key":"Date","value":"Sun, 14 Jul 2024 11:50:23 GMT"}],"cookie":[],"responseTime":null,"body":"OrderID,UserID,RestaurantID,ProductID,Quantity,Amount,ProductOfferAmount,AfterDeduction,CookingRequest,OrderStatus,OrderReview,OrderRating\nlijuthomas_mpkvqW5fLB,3,2,3,1,250,30,211.66666666666669,add  more spice,DELIVERED,,1.2\nlijuthomas_d9oy4g1Zqb,2,2,3,1,250,30,211.66666666666669,add  more spice,CANCELLED,,0\nnew_user_tZ6ojLI30c,1,2,3,1,250,30,211.66666666666669,add  more spice,CANCELLED,,0\nnew_user_kVHm3qKPP2,1,2,3,1,250,30,211.66666666666669,add  more spice,CANCELLED,,0\nlijuthomas_TeKNs7D0x6,2,2,3,1,250,30,211.66666666666669,add  more spice,PROCESSING,,0\nlijuthomas_CkwVUfhuQO,2,2,3,1,250,30,211.66666666666669,add  more spice,CANCELLED,,0\nlijuthomas_3a5QJQXSPr,2,2,3,1,250,30,211.66666666666669,add  more spice,DELIVERED,,4\nnewuser_u1vren7aT3,1,2,6,1,50,0,41.75,add  more spice,PROCESSING,,0\nlijuthomas_yUtZSS2p62,2,2,3,3,750,0,712.5,,PROCESSING,,0\nlijuthomas_c7RC1HHJSb,2,2,3,3,750,0,725,,PROCESSING,,0\nlijuthomas_VkQrl1RqxX,2,2,6,1,50,0,50,add  more spice,PROCESSING,,0\n"}],"_postman_id":"5439f6e5-4564-49ef-a7e0-cbc5c957112d"},{"name":"Restaurant Wallet Balance and History","id":"d2817c83-ac40-4b1b-bd63-6979deabd0f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/wallet/all","description":"<p>This section allows users to access information on the wallet balance and transaction history of a restaurant within the Foodbuddy platform. Users can view the current balance, transaction details, and historical data related to the restaurant's financial activities. This data provides valuable insights into the financial health and transaction history of the restaurant.</p>\n","urlObject":{"path":["api","v1","restaurants","wallet","all"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"d3797cc4-97da-48f5-aaec-4d9ca66dc93e","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/wallet/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 16:07:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1133"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"wallet_amount\": 0,\n        \"history\": [\n            {\n                \"transaction_time\": \"2024-07-10T13:52:29.726Z\",\n                \"type\": \"INCOMING\",\n                \"order_id\": \"LijuThomas__A82K8qcK7V\",\n                \"restaurant_id\": 1,\n                \"amount\": -200,\n                \"current_balance\": -200,\n                \"reason\": \"Order Payment\"\n            },\n            {\n                \"transaction_time\": \"2024-07-10T13:52:29.748Z\",\n                \"type\": \"INCOMING\",\n                \"order_id\": \"LijuThomas__A82K8qcK7V\",\n                \"restaurant_id\": 1,\n                \"amount\": 3250,\n                \"current_balance\": 3050,\n                \"reason\": \"Order Payment\"\n            },\n            {\n                \"TransactionTime\": \"2024-07-10T13:52:29.78Z\",\n                \"type\": \"INCOMING\",\n                \"order_id\": \"LijuThomas__A82K8qcK7V\",\n                \"restaurant_id\": 1,\n                \"amount\": 1150,\n                \"current_balance\": 4200,\n                \"reason\": \"Order Payment\"\n            },\n            {\n                \"transaction_time\": \"2024-07-10T14:04:10.146Z\",\n                \"type\": \"OUTGOING\",\n                \"order_id\": \"LijuThomas__A82K8qcK7V\",\n                \"restaurant_id\": 1,\n                \"amount\": -200,\n                \"current_balance\": 4400,\n                \"reason\": \"Order Refund\"\n            },\n            {\n                \"transaction_time\": \"2024-07-10T14:04:10.169Z\",\n                \"type\": \"OUTGOING\",\n                \"order_id\": \"LijuThomas__A82K8qcK7V\",\n                \"restaurant_id\": 1,\n                \"amount\": 3250,\n                \"current_balance\": 1150,\n                \"reason\": \"Order Refund\"\n            },\n            {\n                \"transaction_time\": \"2024-07-10T14:04:10.186Z\",\n                \"type\": \"OUTGOING\",\n                \"order_id\": \"LijuThomas__A82K8qcK7V\",\n                \"restaurant_id\": 1,\n                \"amount\": 1150,\n                \"current_balance\": 0,\n                \"reason\": \"Order Refund\"\n            }\n        ]\n    },\n    \"status\": true\n}"}],"_postman_id":"d2817c83-ac40-4b1b-bd63-6979deabd0f4"},{"name":"OrderHistory","id":"b823957b-bdf5-44fd-a466-34b3d1a731b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/order/history?order_status=PROCESSING","description":"<p>The OrderHistory section allows users to retrieve a comprehensive list of past orders made at the restaurant. Users can view details such as order ID, user ID, product details, quantity, amount, order status, and more. This information helps users track and review their order history for better management and analysis.</p>\n<h4 id=\"query-parameters\">QUERY PARAMETERS</h4>\n<p>Provide the order_status as one of the following PROCESSING,PREPARATION,PREPARED,ONTHEWAY,DELIVERED,CANCELLED in Query</p>\n","urlObject":{"path":["api","v1","restaurants","order","history"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"order_status","value":"PROCESSING"}],"variable":[]}},"response":[{"id":"4c68a097-da5b-4fbf-95f8-d8384ce9adc1","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/order/history?order_status=PROCESSING","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","restaurants","order","history"],"query":[{"key":"order_status","value":"PROCESSING"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 16:16:26 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"519"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"orderhistory\": [\n            {\n                \"OrderID\": \"LijuThomas__VmCCIprtei\",\n                \"user_id\": 1,\n                \"restaurant_id\": 1,\n                \"product_id\": 2,\n                \"quantity\": 3,\n                \"amount\": 150,\n                \"product_offer_amount\": 0,\n                \"after_deduction\": 52.5,\n                \"CookingRequest\": \"\",\n                \"order_status\": \"PROCESSING\",\n                \"OrderReview\": \"\",\n                \"OrderRating\": 0\n            },\n            {\n                \"OrderID\": \"LijuThomas__VmCCIprtei\",\n                \"user_id\": 1,\n                \"restaurant_id\": 1,\n                \"product_id\": 4,\n                \"quantity\": 1,\n                \"amount\": 500,\n                \"product_offer_amount\": 0,\n                \"after_deduction\": 467.5,\n                \"CookingRequest\": \"\",\n                \"order_status\": \"PROCESSING\",\n                \"OrderReview\": \"\",\n                \"OrderRating\": 0\n            }\n        ]\n    },\n    \"status\": true\n}"}],"_postman_id":"b823957b-bdf5-44fd-a466-34b3d1a731b3"},{"name":"Update Order Status","id":"64a9caf2-ab2d-4edf-8657-49d8e88f6916","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"2f8f0d57-ad2f-4a42-ab92-0d1bc2c240b8\",\n    \"product_id\":2\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/order/nextstatus","description":"<p>The Update Order Status section allows users to modify the status of an existing order within the Foodbuddy platform. By providing the order ID and product ID in the request, users can seamlessly update the status of the order to reflect its current progress or any changes made. This functionality enables users to efficiently manage and track the status of orders in real-time, ensuring a seamless experience for both customers and restaurant staff.</p>\n<p>Provide the order_id and product_id in the request as JSON</p>\n","urlObject":{"path":["api","v1","restaurants","order","nextstatus"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"f8a855b9-acb4-47cf-9155-2c54fbcb1623","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order_id\":\"LijuThomas__A82K8qcK7V\",\n    \"product_id\":4\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/order/nextstatus"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 16:06:46 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"330"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"orderdetails\": {\n            \"OrderID\": \"LijuThomas__A82K8qcK7V\",\n            \"user_id\": 1,\n            \"restaurant_id\": 1,\n            \"product_id\": 4,\n            \"quantity\": 3,\n            \"amount\": 1500,\n            \"product_offer_amount\": 0,\n            \"after_deduction\": 1150,\n            \"CookingRequest\": \"\",\n            \"order_status\": \"DELIVERED\",\n            \"OrderReview\": \"\",\n            \"OrderRating\": 0\n        }\n    },\n    \"message\": \"Successfully changed to next order status\",\n    \"status\": true\n}"}],"_postman_id":"64a9caf2-ab2d-4edf-8657-49d8e88f6916"},{"name":"Edit Profile","id":"6632e73c-8f1d-4a20-a443-de4bda043868","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Blue Moon\",\n    \"description\": \"A fine dining restaurant offering a blend of modern and classic cuisine.\",\n    \"address\": \"123 Culinary Street, Food City, FC 12345\",\n    \"phone_number\": 1234567890,\n    \"image_url\": \"https://example.com/images/restaurant.jpg\",\n    \"certificate_url\": \"https://example.com/certificates/restaurant_cert.pdf\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/edit","description":"<p>Retrieves the edit profile form for restaurants.</p>\n<p>Provide name,description,address,phone_number,image_url,certificate_url you would like to update in the request as JSON</p>\n","urlObject":{"path":["api","v1","restaurants","edit"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"43e02ddb-a8ae-4074-8aef-bdeb32192c4c","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Blue Moon\",\n    \"description\": \"A fine dining restaurant offering a blend of modern and classic cuisine.\",\n    \"address\": \"123 Culinary Street, Food City, FC 12345\",\n    \"phone_number\": 1234567890,\n    \"image_url\": \"https://example.com/images/restaurant.jpg\",\n    \"certificate_url\": \"https://example.com/certificates/restaurant_cert.pdf\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 16:21:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"314"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"name\": \"Blue Moon\",\n        \"description\": \"A fine dining restaurant offering a blend of modern and classic cuisine.\",\n        \"address\": \"123 Culinary Street, Food City, FC 12345\",\n        \"phone_number\": 1234567890,\n        \"image_url\": \"https://example.com/images/restaurant.jpg\"\n    },\n    \"message\": \"successfully edited the restaurant\",\n    \"status\": true\n}"}],"_postman_id":"6632e73c-8f1d-4a20-a443-de4bda043868"},{"name":"Confirm COD Payment","id":"8f3342b4-c674-413d-bfc6-f1546316abde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"98f7f757-5a6e-47d3-b23e-b994f88f235a\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/order/confirmcod","description":"<p>This endpoint allows the restaurant to receive and verify the COD payment</p>\n","urlObject":{"path":["api","v1","restaurants","order","confirmcod"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"8a5aae45-db1a-4886-a6bf-eab144d3238d","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"lijuthomas_bbGKYKd6iP\",\n  \"delivery_otp\": 154301\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/order/confirmcod"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 15 Jul 2024 08:14:01 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"order COD payment confirmed\",\n    \"status\": true\n}"}],"_postman_id":"8f3342b4-c674-413d-bfc6-f1546316abde"},{"name":"Confirm Delivery","id":"fb9e2e16-4190-4b2a-ab45-e4622048c544","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"98f7f757-5a6e-47d3-b23e-b994f88f235a\",\n  \"delivery_otp\": 403184\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/order/confirmdelivery","description":"<p>This rndpoint allows the restaurant to complete the order delivery, submit the order_id and the delivery_otp from the user to complete the delivery.</p>\n","urlObject":{"path":["api","v1","restaurants","order","confirmdelivery"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"f6f2d98d-ed39-42f6-8e1b-ec80080c2d3c","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"lijuthomas_bbGKYKd6iP\",\n  \"delivery_otp\": 154301\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/order/confirmdelivery"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 15 Jul 2024 08:19:48 GMT"},{"key":"Content-Length","value":"61"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"order status updated to delivered\",\n    \"status\": true\n}"}],"_postman_id":"fb9e2e16-4190-4b2a-ab45-e4622048c544"},{"name":"List OrderItems JSON","id":"f5e5bd89-4293-4528-a582-c7b315d30d66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/orderitems/json/all","description":"<p>This endpoint allows the restaurant to retreive all the orderitems that are placed on the restaurant</p>\n","urlObject":{"path":["api","v1","restaurants","orderitems","json","all"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"550deebc-fe86-4af6-9770-145f732f5fac","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/orderitems/json/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 15 Jul 2024 13:16:05 GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"order_id\": \"lijuthomas_mpkvqW5fLB\",\n            \"user_id\": 3,\n            \"restaurant_id\": 2,\n            \"product_id\": 3,\n            \"quantity\": 1,\n            \"amount\": 250,\n            \"product_offer_amount\": 30,\n            \"after_deduction\": 211.67,\n            \"cooking_request\": \"add  more spice\",\n            \"order_status\": \"DELIVERED\",\n            \"order_review\": \"\",\n            \"order_rating\": 1.2\n        },\n        {\n            \"order_id\": \"lijuthomas_d9oy4g1Zqb\",\n            \"user_id\": 2,\n            \"restaurant_id\": 2,\n            \"product_id\": 3,\n            \"quantity\": 1,\n            \"amount\": 250,\n            \"product_offer_amount\": 30,\n            \"after_deduction\": 211.67,\n            \"cooking_request\": \"add  more spice\",\n            \"order_status\": \"CANCELLED\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"new_user_tZ6ojLI30c\",\n            \"user_id\": 1,\n            \"restaurant_id\": 2,\n            \"product_id\": 3,\n            \"quantity\": 1,\n            \"amount\": 250,\n            \"product_offer_amount\": 30,\n            \"after_deduction\": 211.67,\n            \"cooking_request\": \"add  more spice\",\n            \"order_status\": \"CANCELLED\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"new_user_kVHm3qKPP2\",\n            \"user_id\": 1,\n            \"restaurant_id\": 2,\n            \"product_id\": 3,\n            \"quantity\": 1,\n            \"amount\": 250,\n            \"product_offer_amount\": 30,\n            \"after_deduction\": 211.67,\n            \"cooking_request\": \"add  more spice\",\n            \"order_status\": \"CANCELLED\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"lijuthomas_TeKNs7D0x6\",\n            \"user_id\": 2,\n            \"restaurant_id\": 2,\n            \"product_id\": 3,\n            \"quantity\": 1,\n            \"amount\": 250,\n            \"product_offer_amount\": 30,\n            \"after_deduction\": 211.67,\n            \"cooking_request\": \"add  more spice\",\n            \"order_status\": \"INITIATED\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"lijuthomas_CkwVUfhuQO\",\n            \"user_id\": 2,\n            \"restaurant_id\": 2,\n            \"product_id\": 3,\n            \"quantity\": 1,\n            \"amount\": 250,\n            \"product_offer_amount\": 30,\n            \"after_deduction\": 211.67,\n            \"cooking_request\": \"add  more spice\",\n            \"order_status\": \"CANCELLED\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"lijuthomas_3a5QJQXSPr\",\n            \"user_id\": 2,\n            \"restaurant_id\": 2,\n            \"product_id\": 3,\n            \"quantity\": 1,\n            \"amount\": 250,\n            \"product_offer_amount\": 30,\n            \"after_deduction\": 211.67,\n            \"cooking_request\": \"add  more spice\",\n            \"order_status\": \"DELIVERED\",\n            \"order_review\": \"\",\n            \"order_rating\": 4\n        },\n        {\n            \"order_id\": \"newuser_u1vren7aT3\",\n            \"user_id\": 1,\n            \"restaurant_id\": 2,\n            \"product_id\": 6,\n            \"quantity\": 1,\n            \"amount\": 50,\n            \"product_offer_amount\": 0,\n            \"after_deduction\": 41.75,\n            \"cooking_request\": \"add  more spice\",\n            \"order_status\": \"INITIATED\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"lijuthomas_yUtZSS2p62\",\n            \"user_id\": 2,\n            \"restaurant_id\": 2,\n            \"product_id\": 3,\n            \"quantity\": 3,\n            \"amount\": 750,\n            \"product_offer_amount\": 0,\n            \"after_deduction\": 712.5,\n            \"cooking_request\": \"\",\n            \"order_status\": \"INITIATED\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"lijuthomas_c7RC1HHJSb\",\n            \"user_id\": 2,\n            \"restaurant_id\": 2,\n            \"product_id\": 3,\n            \"quantity\": 3,\n            \"amount\": 750,\n            \"product_offer_amount\": 0,\n            \"after_deduction\": 725,\n            \"cooking_request\": \"\",\n            \"order_status\": \"INITIATED\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"lijuthomas_VkQrl1RqxX\",\n            \"user_id\": 2,\n            \"restaurant_id\": 2,\n            \"product_id\": 6,\n            \"quantity\": 1,\n            \"amount\": 50,\n            \"product_offer_amount\": 0,\n            \"after_deduction\": 50,\n            \"cooking_request\": \"add  more spice\",\n            \"order_status\": \"INITIATED\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"lijuthomas_1FiHyLRgf6\",\n            \"user_id\": 2,\n            \"restaurant_id\": 2,\n            \"product_id\": 3,\n            \"quantity\": 1,\n            \"amount\": 250,\n            \"product_offer_amount\": 0,\n            \"after_deduction\": 250,\n            \"cooking_request\": \"\",\n            \"order_status\": \"INITIATED\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"lijuthomas_1FiHyLRgf6\",\n            \"user_id\": 2,\n            \"restaurant_id\": 2,\n            \"product_id\": 4,\n            \"quantity\": 1,\n            \"amount\": 50,\n            \"product_offer_amount\": 0,\n            \"after_deduction\": 50,\n            \"cooking_request\": \"\",\n            \"order_status\": \"INITIATED\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"lijuthomas_1FiHyLRgf6\",\n            \"user_id\": 2,\n            \"restaurant_id\": 2,\n            \"product_id\": 5,\n            \"quantity\": 1,\n            \"amount\": 50,\n            \"product_offer_amount\": 0,\n            \"after_deduction\": 50,\n            \"cooking_request\": \"\",\n            \"order_status\": \"INITIATED\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"lijuthomas_bbGKYKd6iP\",\n            \"user_id\": 2,\n            \"restaurant_id\": 2,\n            \"product_id\": 5,\n            \"quantity\": 1,\n            \"amount\": 50,\n            \"product_offer_amount\": 0,\n            \"after_deduction\": 50,\n            \"cooking_request\": \"\",\n            \"order_status\": \"DELIVERED\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"lijuthomas_r31iGaLsUR\",\n            \"user_id\": 2,\n            \"restaurant_id\": 2,\n            \"product_id\": 4,\n            \"quantity\": 1,\n            \"amount\": 50,\n            \"product_offer_amount\": 0,\n            \"after_deduction\": 50,\n            \"cooking_request\": \"\",\n            \"order_status\": \"OUTFORDELIVERY\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"lijuthomas_r31iGaLsUR\",\n            \"user_id\": 2,\n            \"restaurant_id\": 2,\n            \"product_id\": 3,\n            \"quantity\": 1,\n            \"amount\": 250,\n            \"product_offer_amount\": 0,\n            \"after_deduction\": 250,\n            \"cooking_request\": \"\",\n            \"order_status\": \"OUTFORDELIVERY\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        },\n        {\n            \"order_id\": \"lijuthomas_eDnjcDIpTa\",\n            \"user_id\": 2,\n            \"restaurant_id\": 2,\n            \"product_id\": 3,\n            \"quantity\": 1,\n            \"amount\": 250,\n            \"product_offer_amount\": 0,\n            \"after_deduction\": 250,\n            \"cooking_request\": \"\",\n            \"order_status\": \"INITIATED\",\n            \"order_review\": \"\",\n            \"order_rating\": 0\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"f5e5bd89-4293-4528-a582-c7b315d30d66"}],"id":"40aa9369-0b06-4407-9112-a503acee230e","description":"<p>The RESTAURANT MANAGEMENT section of the Foodbuddy API allows users to access and manage restaurant-related data and functionalities. With this section, users can view, update, and organize information related to menus, orders, reservations, and more, providing them with the tools they need to efficiently manage their restaurant operations.</p>\n","_postman_id":"40aa9369-0b06-4407-9112-a503acee230e"},{"name":"COUPON MANAGEMENT","item":[{"name":"Create Coupon","id":"08193f84-04df-4d36-9946-c3bf7d32f729","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"coupon_code\": \"SAVE25OFF\",\n    \"expiry\": 1972444800,\n    \"percentage\": 25,\n    \"maximum_usage\": 10,\n    \"minimum_amount\": 500\n}\n","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/coupon/create","description":"<p>The Create Coupon section in the Foodbuddy API allows users to generate new discount coupons. By providing essential information such as the coupon code, expiry date, percentage discount, maximum usage limit, and minimum purchase amount, users can easily create customized coupons for their customers. This functionality streamlines the process of implementing promotional offers and managing discounts within the Foodbuddy platform.  </p>\n<p>Provide coupon_code,expiry,percentage,maximum_usage,minimum_amount in the JSON request body.</p>\n","urlObject":{"path":["api","v1","admin","coupon","create"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"61765f01-4944-4a30-9550-a99db9f629f7","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"coupon_code\": \"SAVE20OFF\",\n    \"expiry\": 1972444800,\n    \"percentage\": 20,\n    \"maximum_usage\": 5,\n    \"minimum_amount\": 500\n}\n","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/coupon/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 11:58:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"successfully created coupon\",\n    \"status\": true\n}"}],"_postman_id":"08193f84-04df-4d36-9946-c3bf7d32f729"},{"name":"Update Coupon","id":"2bb75e75-fc22-4296-a1ce-30fd3bc1283d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"coupon_code\": \"SAVE20OFF\",\n    \"expiry\": 1972444800,\n    \"percentage\": 20,\n    \"maximum_usage\": 2,\n    \"minimum_amount\": 50\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/coupon/update","description":"<p>Update Coupon allows users to modify the details of an existing coupon in the Foodbuddy system</p>\n<p>Provide coupon_code,expiry,percentage,maximum_usage,minimum_amount in request as json</p>\n","urlObject":{"path":["api","v1","admin","coupon","update"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"60a26f1a-56c6-45dd-a3e8-c791b964fddd","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"coupon_code\": \"SAVE20OFF\",\n    \"expiry\": 1972444800,\n    \"percentage\": 20,\n    \"maximum_usage\": 2,\n    \"minimum_amount\": 500\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/admin/coupon/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 11:59:14 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"successfully updated coupon\",\n    \"status\": true\n}"}],"_postman_id":"2bb75e75-fc22-4296-a1ce-30fd3bc1283d"}],"id":"3fd3bb8f-ec54-4de6-abd3-9e0ead587bc3","_postman_id":"3fd3bb8f-ec54-4de6-abd3-9e0ead587bc3","description":""},{"name":"RESTAURANT PRODUCT MANAGEMENT","item":[{"name":"Add Product","id":"3a7f2f85-a1d9-4779-b3eb-64f3da121821","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"category_id\": 4,\n  \"name\": \"Pizza Special\",\n  \"description\": \"This is a sample product description.This is a sample product description\",\n  \"image_url\": \"https://example.com/sample-image.jpg\",\n  \"price\": 450,\n  \"offer_amount\": 50,\n  \"max_stock\": 100,\n  \"stock_left\": 50,\n  \"veg\": \"NO\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/products/add","description":"<blockquote>\n<p>Adds a new product. </p>\n</blockquote>\n<p>Provide category_id,name,description,image_url,price,offer_amount,max_stock,max_stock,veg in request as JSON</p>\n","urlObject":{"path":["api","v1","restaurants","products","add"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"a151b4fa-85cc-4616-acab-91a7f670050b","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"category_id\": 1,\n  \"name\": \"Strawberry Icrecream\",\n  \"description\": \"This is a sample product description.This is a sample product description\",\n  \"image_url\": \"https://example.com/sample-image.jpg\",\n  \"price\": 50,\n  \"offer_amount\": 5,\n  \"max_stock\": 100,\n  \"stock_left\": 50,\n  \"veg\": \"YES\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/products/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:42:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"345"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 2,\n        \"product\": {\n            \"category_id\": 1,\n            \"name\": \"Strawberry Icrecream\",\n            \"description\": \"This is a sample product description.This is a sample product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 50,\n            \"offer_amount\": 5,\n            \"max_stock\": 100,\n            \"stock_left\": 50,\n            \"veg\": \"YES\"\n        }\n    },\n    \"message\": \"successfully added new product\",\n    \"status\": true\n}"}],"_postman_id":"3a7f2f85-a1d9-4779-b3eb-64f3da121821"},{"name":"Edit Product","id":"7d584170-5469-4fc2-ab5d-6571f108585e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"product_id\": 7,\n  \"category_id\": 3,\n  \"name\": \"Burger Special\",\n  \"description\": \"This is a sample product description.This is a sample product description\",\n  \"image_url\": \"https://example.com/sample-image.jpg\",\n  \"price\": 130,\n  \"offer_amount\": 10,\n  \"max_stock\": 100,\n  \"stock_left\": 50,\n  \"veg\": \"NO\"\n\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/products/edit","description":"<blockquote>\n<p>Edits an existing product. </p>\n</blockquote>\n<p>Provide category_id,name,description,image_url,price,offer_amount,max_stock,max_stock,veg in request as JSON</p>\n","urlObject":{"path":["api","v1","restaurants","products","edit"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"a642bfb4-ea95-4128-8bf1-61a4dab6c2a4","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"product_id\": 1,\n  \"name\": \"Vanilla Icrecream\",\n  \"description\": \"This is a sample edited product description.This is a sample edited product description\",\n  \"image_url\": \"https://example.com/sample-image.jpg\",\n  \"price\": 40,\n  \"offer_amount\": 5,\n  \"max_stock\": 100,\n  \"stock_left\": 50,\n  \"veg\": \"YES\"\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/products/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:44:42 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"358"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"product\": {\n            \"product_id\": 1,\n            \"name\": \"Vanilla Icrecream\",\n            \"description\": \"This is a sample edited product description.This is a sample edited product description\",\n            \"image_url\": \"https://example.com/sample-image.jpg\",\n            \"price\": 40,\n            \"offer_amount\": 5,\n            \"max_stock\": 100,\n            \"stock_left\": 50,\n            \"veg\": \"YES\"\n        }\n    },\n    \"message\": \"successfully updated product information\",\n    \"status\": true\n}"}],"_postman_id":"7d584170-5469-4fc2-ab5d-6571f108585e"},{"name":"Delete Products","id":"8cab2789-1d38-473d-882a-7295c49ec53f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/products?productid=3","description":"<blockquote>\n<p>Deletes a product.</p>\n</blockquote>\n","urlObject":{"path":["api","v1","restaurants","products"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"productid","value":"3"}],"variable":[]}},"response":[{"id":"91d172ed-79dc-4574-ab25-367555f683f8","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/products?productid=3","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","restaurants","products"],"query":[{"key":"productid","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:46:14 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"60"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"successfully deleted the product\",\n    \"status\": true\n}"}],"_postman_id":"8cab2789-1d38-473d-882a-7295c49ec53f"},{"name":"Add Product Offer","id":"eb44bb70-5d0b-4418-b719-5a0daee53250","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\":8,\n    \"offer_amount\":50\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/product/offer/add","description":"<blockquote>\n<p>Adds an offer to a product. </p>\n</blockquote>\n<p>Provide the product_id and offer_amount in the request as JSON</p>\n","urlObject":{"path":["api","v1","restaurants","product","offer","add"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[{"id":"b84c06cf-ab0e-4137-b37a-41373c08e2ed","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\":1,\n    \"offer_amount\":10\n}","options":{"raw":{"language":"json"}}},"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/product/offer/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:46:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"503"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"CreatedAt\": \"2024-07-10T12:39:16.909Z\",\n        \"UpdatedAt\": \"2024-07-10T12:46:50.232Z\",\n        \"DeletedAt\": null,\n        \"ID\": 1,\n        \"restaurant_id\": 1,\n        \"category_id\": 1,\n        \"name\": \"Vanilla Icrecream\",\n        \"description\": \"This is a sample edited product description.This is a sample edited product description\",\n        \"image_url\": \"https://example.com/sample-image.jpg\",\n        \"price\": 40,\n        \"preparation_time\": 0,\n        \"max_stock\": 100,\n        \"offer_amount\": 10,\n        \"stock_left\": 50,\n        \"average_rating\": 0,\n        \"veg\": \"YES\"\n    },\n    \"message\": \"successfully added the offer amount\",\n    \"status\": true\n}"}],"_postman_id":"eb44bb70-5d0b-4418-b719-5a0daee53250"},{"name":"Remove Product Offer","id":"9d396564-db2f-42e0-b9f5-c96cda58c6fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/product/offer/remove?productid=2","description":"<blockquote>\n<p>Removes an offer from a product. </p>\n</blockquote>\n<p>Provide the product_id in the Query.</p>\n","urlObject":{"path":["api","v1","restaurants","product","offer","remove"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[{"key":"productid","value":"2"}],"variable":[]}},"response":[{"id":"887471e1-a8b7-45c3-ac0e-03f9f5e92c7d","name":"Success","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurants/product/offer/remove?productid=1","host":["https://foodbuddy.lijuthomas.xyz"],"path":["api","v1","restaurants","product","offer","remove"],"query":[{"key":"productid","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Wed, 10 Jul 2024 12:48:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"504"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"CreatedAt\": \"2024-07-10T12:39:16.909Z\",\n        \"UpdatedAt\": \"2024-07-10T12:48:41.701Z\",\n        \"DeletedAt\": null,\n        \"ID\": 1,\n        \"restaurant_id\": 1,\n        \"category_id\": 1,\n        \"name\": \"Vanilla Icrecream\",\n        \"description\": \"This is a sample edited product description.This is a sample edited product description\",\n        \"image_url\": \"https://example.com/sample-image.jpg\",\n        \"price\": 40,\n        \"preparation_time\": 0,\n        \"max_stock\": 100,\n        \"offer_amount\": 0,\n        \"stock_left\": 50,\n        \"average_rating\": 0,\n        \"veg\": \"YES\"\n    },\n    \"message\": \"successfully removed the offer amount\",\n    \"status\": true\n}"}],"_postman_id":"9d396564-db2f-42e0-b9f5-c96cda58c6fe"}],"id":"82fca664-61f1-487d-b0bd-8bce91f8b1a8","_postman_id":"82fca664-61f1-487d-b0bd-8bce91f8b1a8","description":""},{"name":"IMAGE UPLOAD","item":[{"name":"User Profile Image","id":"b1430c33-ded8-48db-b4bb-8c31bc127475","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/user/profileimage","description":"<p>Update the user's profile image.</p>\n","urlObject":{"path":["api","v1","user","profileimage"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1430c33-ded8-48db-b4bb-8c31bc127475"},{"name":"Restaurant Profile Image","id":"ed761af6-c965-4584-a1bb-1029bfa1cd0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/restaurant/profileimage","description":"<p>Updates the restaurant's profile image.</p>\n","urlObject":{"path":["api","v1","restaurant","profileimage"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed761af6-c965-4584-a1bb-1029bfa1cd0b"}],"id":"25811b9d-3920-45ea-8ae4-c058919308ef","_postman_id":"25811b9d-3920-45ea-8ae4-c058919308ef","description":""},{"name":"MISCELLANEOUS","item":[{"name":"Logout","id":"71bcbd33-c901-4f3d-89aa-304b725083c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://foodbuddy.lijuthomas.xyz/api/v1/logout","description":"<p>Logs out the user/admin/restaurant.</p>\n","urlObject":{"path":["api","v1","logout"],"host":["https://foodbuddy.lijuthomas.xyz"],"query":[],"variable":[]}},"response":[],"_postman_id":"71bcbd33-c901-4f3d-89aa-304b725083c8"}],"id":"3cd53bde-272e-46b0-a394-ea8cca6f9d3d","_postman_id":"3cd53bde-272e-46b0-a394-ea8cca6f9d3d","description":""}],"event":[{"listen":"prerequest","script":{"id":"e7b7a860-270f-475b-9a28-7e3f69143f98","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"e36cc110-bcd5-456a-bfe8-973c1721bd8a","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"Foodbuddy URL","value":"https://foodbuddy.lijuthomas.xyz"}]}