{"info":{"_postman_id":"5f2a768b-4df6-4a55-97f3-5c3fbd455c29","name":"Disappear - Green Environment","description":"<html><head></head><body><p>Disappear is an innovative application aimed at reducing the negative environmental impact caused by the use of plastic in daily activities, particularly in product sales. The app provides a platform that enables consumers and product producers to participate in an eco-friendly movement in the following ways:</p>\n<p>Selection of Sustainable Products: Disappear grants users access to various products manufactured through diverse sustainable initiatives. Users can easily find eco-friendly products that support sustainable practices.</p>\n<p>Reduce Plastic Waste: The application offers practical solutions to minimize the use of single-use plastics. Users can explore more environmentally friendly alternatives such as reusable shopping bags, refillable water bottles, and other products that aid in reducing plastic waste.</p>\n<p>Sustainability Information: Disappear also provides information about the environmental impact of each product, empowering users to make more conscious decisions about their purchases.</p>\n<p>Eco-Friendly Community: Disappear allows users to connect with an eco-friendly community and collectively contribute to reducing their environmental footprint.</p>\n<p>With this application, we can work together to create a cleaner and more sustainable world by reducing plastic waste and supporting eco-friendly products.</p>\n<h3 id=\"authorization\">Authorization:</h3>\n<p>This API employs JWT (JSON Web Token)-based authorization for authentication. You need to include a valid JWT token in every request.</p>\n<h3 id=\"obtaining-the-token\">Obtaining the Token:</h3>\n<p>Before using this API, you need to acquire a JWT token by following the correct authentication steps. This JWT token must be included in the request header as follows:<br>Authorization: Bearer [JWT_TOKEN]</p>\n<h3 id=\"errors\">Errors:</h3>\n<p>This API can generate various types of errors with corresponding status codes. Here are some examples:</p>\n<ul>\n<li><p>400 Bad Request: Invalid request.</p>\n</li>\n<li><p>401 Unauthorized: Invalid or missing JWT token in the request.</p>\n</li>\n<li><p>403 Forbidden: Denotes that the server understood the request, but it refuses to authorize it. The client does not have permission to access the requested resource.</p>\n</li>\n<li><p>404 Not Found: Requested resource not found.</p>\n</li>\n<li><p>500 Internal Server Error: Internal server error occurred.</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"29878742","collectionId":"5f2a768b-4df6-4a55-97f3-5c3fbd455c29","publishedId":"2s9YXceQx7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-11-02T07:35:07.000Z"},"item":[{"name":"Customers","item":[{"name":"Auth","item":[{"name":"Login","id":"e0469270-36fd-4389-8c4d-99ac2bfeaebc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"customer@gmail.com\",\r\n    \"password\": \"admin123\",\r\n    \"device_token\": \"ey2fy2N-SsSVxaPUPQdizL:APA91bETQIP2HdSC0e0qN9hR4VMkrkWvdpftFHaFds_W03Daa-FwUDoj1fIAU4K5oTEEnV1jbOlaGdv-RU0V2iYlutmHRvYW_9e3TPjGPs1uOKsYN\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.disappear-organization.my.id/api/v1/auth/login","description":"<h3 id=\"auth-login\">Auth Login</h3>\n<p>This endpoint is used to authenticate and login a user.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p>email (string, required): The email of the user.</p>\n</li>\n<li><p>password (string, required): The password of the user.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p>message (string): A welcome message for the user upon successful login.</p>\n</li>\n<li><p>data (object): An object containing the user's email and access token upon successful login.</p>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Selamat datang!, Anda telah berhasil masuk.\",\n    \"data\": {\n        \"email\": \"anan@mail.com\",\n        \"phone\": \"08122312344412\",\n        \"role\": 1,\n        \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTY0NzQ3MTYsImlhdCI6MTY5NjQwMjcxNiwiaWQiOiIxIn0.6ZJYggKo5pyMboEt7MNkAJ6UDa4DhvALYuIjGZEyvDE\"\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","auth","login"],"host":["https://api.disappear-organization.my.id"],"query":[],"variable":[]}},"response":[{"id":"cc1b4f68-d177-4134-883c-bf0122c34069","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan@mail.com\",\r\n    \"password\": \"admin123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Selamat datang!, Anda telah berhasil masuk.\", \n    \"data\": {\n        \"email\": \"anan@mail.com\",\n        \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTY0NzQ3MTYsImlhdCI6MTY5NjQwMjcxNiwiaWQiOiIxIn0.6ZJYggKo5pyMboEt7MNkAJ6UDa4DhvALYuIjGZEyvDE\"\n    }\n}"},{"id":"7e4a479b-5011-48d2-8005-c4055e2b5312","name":"Login Using JSON","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test1@mail.com\",\r\n    \"password\": \"12313\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 02:39:49 GMT"},{"key":"Content-Length","value":"243"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Selamat datang!, Anda telah berhasil masuk.\",\n    \"data\": {\n        \"email\": \"test1@mail.com\",\n        \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTk0MTExODksImlhdCI6MTY5OTMyNDc4OSwicm9sZSI6ImN1c3RvbWVyIiwidXNlcl9pZCI6Nn0.SnsX-AJ5TP6ZJleBAFIVaZGiVE08Pr7l1yTv7j85Luo\"\n    }\n}"},{"id":"0ac8f338-1fb3-4d90-92a3-63a2300a245a","name":"Login Using form-data","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"test1@mail.com","type":"text"},{"key":"password","value":"admin123","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 02:39:49 GMT"},{"key":"Content-Length","value":"243"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Selamat datang!, Anda telah berhasil masuk.\",\n    \"data\": {\n        \"email\": \"test1@mail.com\",\n        \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTk0MTExODksImlhdCI6MTY5OTMyNDc4OSwicm9sZSI6ImN1c3RvbWVyIiwidXNlcl9pZCI6Nn0.SnsX-AJ5TP6ZJleBAFIVaZGiVE08Pr7l1yTv7j85Luo\"\n    }\n}"},{"id":"6a71092b-77cf-48a7-9ec0-3a38eea35029","name":"Failed Case Error Validating","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test2@mail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 02:27:49 GMT"},{"key":"Content-Length","value":"126"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validasi gagal: Key: 'LoginRequest.Password' Error:Field validation for 'Password' failed on the 'required' tag\"\n}"},{"id":"8da861fc-bbeb-40e3-a27e-c77c5ef070e2","name":"Failed Case User Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test2@mail.com\",\r\n    \"password\": \"admin123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 02:33:18 GMT"},{"key":"Content-Length","value":"39"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Pengguna tidak ditemukan\"\n}"},{"id":"b23753c1-18ab-4714-a49f-822b8fd04db2","name":"Failed Case Error Binding","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test2@mail.com\",\r\n    \"password\": 12313\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 02:34:20 GMT"},{"key":"Content-Length","value":"69"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format input yang Anda masukkan tidak sesuai.\"\n}"},{"id":"dedc213a-2a37-42b5-a4fa-4205fd14f548","name":"Failed Case Invalid Credential","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test1@mail.com\",\r\n    \"password\": \"12313\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 02:38:23 GMT"},{"key":"Content-Length","value":"42"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Email atau kata sandi salah\"\n}"},{"id":"ab6847c3-157b-43d9-8336-b65e07a88719","name":"Failed Case Account Not Verifed","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan.widi1@gmail.com\",\r\n    \"password\": \"admin123\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 07:06:12 GMT"},{"key":"Content-Length","value":"43"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"akun anda belum diverifikasi\"\n}"}],"_postman_id":"e0469270-36fd-4389-8c4d-99ac2bfeaebc"},{"name":"Register","id":"a109e389-c569-4d1d-b5d0-bf7b03893346","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan@gmail.com\",\r\n    \"password\": \"useruser\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/register","description":"<p>This endpoint allows users to register for an account. Upon successful registration, the API returns a message confirming the successful registration.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>email</code>: (string) The email address of the user registering for the account.</li>\n<li><code>password</code>: (string) The password for the user's account.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><code>message</code>: (string) A message confirming the success of the registration process.</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Registrasi berhasil! Silakan masuk untuk memulai.\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","auth","register"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"6d345f70-0d61-4205-9dea-07b846753330","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Joni\",\r\n    \"email\": \"joni@mail.com\",\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Registrasi berhasil! Silakan masuk untuk memulai.\"\n}"},{"id":"48e87a48-db77-4b39-bb2e-7851186c1976","name":"Register Using JSON","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test4@mail.com\",\r\n    \"password\": \"admin123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/register"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 03:15:56 GMT"},{"key":"Content-Length","value":"36"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Registrasi berhasil! Silakan masuk untuk memulai.\"\n}"},{"id":"ddc4c454-8b9f-46d9-af75-28f95460c814","name":"Register Using form-data","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"test1@mail.com","description":"email pengguna","type":"text"},{"key":"password","value":"admin123","description":"kata sandi pengguna","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 03:15:56 GMT"},{"key":"Content-Length","value":"36"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Registrasi berhasil! Silakan masuk untuk memulai.\"\n}"},{"id":"dad367d4-cb88-44d3-a558-de05550cd702","name":"Failed Case Error Validating","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test4@mail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 03:01:36 GMT"},{"key":"Content-Length","value":"129"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validasi gagal: Key: 'RegisterRequest.Password' Error:Field validation for 'Password' failed on the 'required' tag\"\n}"},{"id":"c162a5ee-a9fb-472d-8584-70e7ee2763f4","name":"Failed Case Error Binding Data","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test4@mail.com\",\r\n    \"password\": 123123\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 03:14:22 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format input yang Anda masukkan tidak sesuai.\"\n}"},{"id":"0e324544-0fc8-40d0-b3ed-e133e16521ab","name":"Failed Case: Email Already Registered","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan.widi1@gmail.com\",\r\n    \"password\": \"admin123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/register"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 06:57:52 GMT"},{"key":"Content-Length","value":"61"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendaftarkan akun: email sudah terdaftar\"\n}"}],"_postman_id":"a109e389-c569-4d1d-b5d0-bf7b03893346"},{"name":"Verify Email","id":"657ac3f5-7c7d-404c-b913-257c8cfe5c8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan@gmail.com\",\r\n    \"otp\": \"382887\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/verify","description":"<p>This endpoint is used to verify the email and OTP (One Time Password) for authentication. The HTTP POST request should be sent to localhost:8000/api/v1/auth/verify with a raw request body containing the email and OTP parameters.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li>email (string, required): The email to be verified.</li>\n<li>otp (string, required): The One Time Password for verification.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li>message (string): A message indicating the result of the verification process.</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"message\": \"Email berhasil diverifikasi!, Silahkan login.\"\n}\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","auth","verify"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"a0beab2b-205f-4318-a458-5a8489317a8a","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan@gmail.com\",\r\n    \"otp\": \"382887\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 06:57:48 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Email berhasil diverifikasi!, Silahkan login.\"\n}"},{"id":"b001fa22-2526-47ac-89a6-e86c60d4839f","name":"Verify Email Using Form Data","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"anan@gmail.com","description":"email pengguna","type":"text"},{"key":"otp","value":"123456","description":"masukan 6 digit otp","type":"text"}]},"url":"localhost:8000/api/v1/auth/verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 06:57:48 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Email berhasil diverifikasi!, Silahkan login.\"\n}"},{"id":"e85e49ef-1cca-434d-8599-8e1ec81262f9","name":"Failed Case: OTP Invalid or Expired","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan@gmail.com\",\r\n    \"otp\": \"382887\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/verify"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 07:00:13 GMT"},{"key":"Content-Length","value":"75"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal memverifikasi email: Invalid atau OTP telah kadaluarsa\"\n}"},{"id":"6be0cfb6-5779-49e3-a4ac-2598b3560ce7","name":"Failed Case: Email Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan@gmail.com\",\r\n    \"otp\": \"382887\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/verify"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 07:01:34 GMT"},{"key":"Content-Length","value":"66"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal memverifikasi email: pengguna tidak ditemukan\"\n}"}],"_postman_id":"657ac3f5-7c7d-404c-b913-257c8cfe5c8c"},{"name":"Resend OTP","id":"e6c1b3c2-1c3e-45ee-9868-944254d3646d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/resend-otp","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","auth","resend-otp"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"b8239f82-aa5f-4f38-a61c-1712172f1c97","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan.widi1@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/resend-otp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 07:02:56 GMT"},{"key":"Content-Length","value":"69"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"OTP berhasil dikirim kembali!, Silahkan cek email anda\"\n}"},{"id":"493e78ac-1f98-4e91-8a07-ae1bb24a56d9","name":"Resend OTP Using form-data","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"anan@gmail.com","description":"email pengguna","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/resend-otp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 07:02:56 GMT"},{"key":"Content-Length","value":"69"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"OTP berhasil dikirim kembali!, Silahkan cek email anda\"\n}"},{"id":"16130c61-e6e8-41e1-8897-1635276b9032","name":"Failed Case: User Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"anan@gmail.com","description":"email pengguna","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/resend-otp"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 07:02:22 GMT"},{"key":"Content-Length","value":"65"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mengirim ulang OTP: pengguna tidak ditemukan\"\n}"}],"_postman_id":"e6c1b3c2-1c3e-45ee-9868-944254d3646d"},{"name":"Forgot Password","id":"093d26cd-979a-48f9-99f0-70a89dfc759a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"anan@gmail.com","description":"<p>The email address associated with the user account requesting a password reset</p>\n","type":"text"}]},"url":"localhost:8000/api/v1/auth/forgot-password","description":"<p>This endpoint is used to initiate the process of resetting the password associated with a user account. The HTTP POST request should be sent to localhost:8000/api/v1/auth/forgot-password with the email address of the user as a form-data parameter.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li>email (text): The email address associated with the user account requesting a password reset.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li>Status: 200</li>\n<li>message (string): A message indicating the status of the password reset request.</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Permintaan OTP berhasil dikirim\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","auth","forgot-password"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"33c45188-ae18-48a0-8df5-c44fe4327fd9","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"tes82@mail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/forgot-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 11 Nov 2023 02:18:47 GMT"},{"key":"Content-Length","value":"46"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Permintaan OTP berhasil dikirim\"\n}"},{"id":"f4cecefa-b992-4333-9596-943b155e3fc9","name":"Forgot Password Using form-data","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"anan@mail.com","description":"email pengguna","type":"text"}]},"url":"localhost:8000/api/v1/auth/forgot-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Permintaan OTP berhasil dikirim\"\n}"},{"id":"ae9ccde9-f588-4ad1-80f7-d3411937f05e","name":"Failed Case Error Binding","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": 123123\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/forgot-password"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 11 Nov 2023 02:19:35 GMT"},{"key":"Content-Length","value":"69"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format input yang Anda masukkan tidak sesuai.\"\n}"},{"id":"5f0a8282-8f34-453f-9900-1e6a03869496","name":"Failed Case Error Validation","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"emai\": \"anan@mail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/forgot-password"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 11 Nov 2023 02:21:26 GMT"},{"key":"Content-Length","value":"129"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validasi gagal: Key: 'ForgotPasswordRequest.Email' Error:Field validation for 'Email' failed on the 'required' tag\"\n}"}],"_postman_id":"093d26cd-979a-48f9-99f0-70a89dfc759a"},{"name":"Verify OTP","id":"d724113e-040a-4d10-8bfb-4d8dee9c1a47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan@gmail.com\",\r\n    \"otp\": \"011471\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/forgot-password/verify","description":"<h3 id=\"verify-forgot-password\">Verify Forgot Password</h3>\n<p>This endpoint is used to verify the OTP (One Time Password) for the forgot password process.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>email</code> (string, required): The email address for which the OTP was sent.</li>\n<li><code>otp</code> (string, required): The OTP received by the user.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><code>message</code> (string): A message indicating the status of the OTP verification process.</li>\n<li><code>data</code> (object): An object containing the access token if the OTP verification is successful.<ul>\n<li><code>access_token</code> (string): The access token for further authentication.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Verifikasi OTP berhasil\",\n    \"data\": {\n        \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImN1c3RvbWVyIiwiZXhwIjoxNjk5OTcyMjY0LCJpYXQiOjE2OTk4ODU4NjQsInJvbGUiOiJhbmFuLndpZGkxQGdtYWlsLmNvbSIsInVzZXJfaWQiOjh9.GG1-o5fj8rsnNrrJqb3jTNfF30uWY2xGGx7Brygdwfw\"\n    }\n}\n\n</code></pre>\n<p>In case of an error, the endpoint returns an appropriate HTTP status code along with an error message.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","auth","forgot-password","verify"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"1a9306ad-d1ef-4926-9b14-b67cb9e24146","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan@gmail.com\",\r\n    \"otp\": \"632390\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/forgot-password/verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 13 Nov 2023 14:31:04 GMT"},{"key":"Content-Length","value":"274"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Verifikasi OTP berhasil\",\n    \"data\": {\n        \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImN1c3RvbWVyIiwiZXhwIjoxNjk5OTcyMjY0LCJpYXQiOjE2OTk4ODU4NjQsInJvbGUiOiJhbmFuLndpZGkxQGdtYWlsLmNvbSIsInVzZXJfaWQiOjh9.GG1-o5fj8rsnNrrJqb3jTNfF30uWY2xGGx7Brygdwfw\"\n    }\n}"},{"id":"0154c843-098d-4ddc-88dc-6dde5f9c6630","name":"Failed Case: Invalid OTP","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan.widi1@gmail.com\",\r\n    \"otp\": \"408543\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/forgot-password/verify"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 13 Nov 2023 14:22:50 GMT"},{"key":"Content-Length","value":"70"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal verifikasi OTP: Invalid atau OTP telah kadaluarsa\"\n}"}],"_postman_id":"d724113e-040a-4d10-8bfb-4d8dee9c1a47"},{"name":"Reset Pass","id":"3666a093-5383-404e-9460-63f902075bf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"new_password\": \"admin123\",\r\n\t\"confirm_password\": \"admin123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/forgot-password/reset","description":"<p>This endpoint allows the user to reset their password. The HTTP POST request should be sent to localhost:8000/api/v1/auth/forgot-password/reset. The request should include a raw body with the following parameters:</p>\n<ul>\n<li>new_password (string): The new password for the user</li>\n<li>confirm_password (string): The confirmation of the new password</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li>Status: 401</li>\n<li>message (string): A message indicating the result of the password reset operation.</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Reset kata sandi berhasil\"\n}\n\n</code></pre>\n","urlObject":{"path":["api","v1","auth","forgot-password","reset"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"4a606158-c0f6-4d29-b602-4ab04a6112f0","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"new_password\": \"newpassword1234\",\r\n\t\"confirm_password\": \"newpassword1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/forgot-password/reset"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 13 Nov 2023 14:33:05 GMT"},{"key":"Content-Length","value":"40"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Reset kata sandi berhasil\"\n}"},{"id":"c586f03d-ee82-4d8b-b439-77eb7b715609","name":"Failed Case: Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"new_password\": \"newpassword123\",\r\n\t\"confirm_password\": \"newpassword123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/forgot-password/reset"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 13 Nov 2023 14:31:58 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"3666a093-5383-404e-9460-63f902075bf5"},{"name":"Register Social","id":"c80b4168-021a-4836-b46a-0bf06b20802f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"social_id\": \"106797352431967167541237\",\r\n    \"provider\": \"Google\",\r\n    \"email\": \"anan1@gmail.com\",\r\n    \"name\": \"Anan Widianto\",\r\n    \"photo_profile\": \"https://lh3.googleusercontent.com/a/ACg8ocJ14Fj0BKfIh1Lo9QPUjs=s96-c\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/register-social","description":"<p>This endpoint allows users to register using social media credentials. The HTTP POST request to localhost:8000/api/v1/auth/register-social should include the following payload in the raw request body:</p>\n<ul>\n<li>social_id (string): The social media ID of the user.</li>\n<li>provider (string): The social media provider (e.g., Google, Facebook).</li>\n<li>email (string): The email address of the user.</li>\n<li>name (string): The name of the user.</li>\n<li>photo_profile (string): The URL of the user's profile photo.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon a successful registration, the API returns a message indicating successful registration along with user data, including:</p>\n<ul>\n<li>id (integer): The unique identifier of the user.</li>\n<li>email (string): The email address of the user.</li>\n<li>role (string): The role of the user (e.g., customer).</li>\n<li>name (string): The name of the user.</li>\n<li>phone (string): The phone number of the user.</li>\n<li>photo_profile (string): The URL of the user's profile photo.</li>\n<li>total_gram (integer): The total gram value.</li>\n<li>total_challenge (integer): The total challenge count.</li>\n<li>is_verified (boolean): Indicates whether the user is verified.</li>\n<li>level (string): The user's level (e.g., bronze).</li>\n<li>exp (integer): The experience points of the user.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","auth","register-social"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"32e4e96d-ae43-4765-bb7a-7be6fff5f355","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"social_id\": \"106797352437\",\r\n    \"provider\": \"Google\",\r\n    \"email\": \"anan@gmail.com\",\r\n    \"name\": \"Anan Widianto\",\r\n    \"photo_profile\": \"https://lh3.googleusercontent.com/a/ACg8ocJ1noOUZiGqxuf1Lo9QPUjs=s96-c\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/register-social"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 09 Dec 2023 08:00:38 GMT"},{"key":"Content-Length","value":"326"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Registrasi berhasil!\",\n    \"data\": {\n        \"id\": 14,\n        \"email\": \"anan@gmail.com\",\n        \"role\": \"customer\",\n        \"name\": \"Anan Widianto\",\n        \"phone\": \"\",\n        \"photo_profile\": \"https://lh3.googleusercontent.com/a/ACg8ocJ14Fj0BKfIhpV0s1GLnSMtF6wnoO=s96-c\",\n        \"total_gram\": 0,\n        \"total_challenge\": 0,\n        \"is_verified\": false,\n        \"level\": \"bronze\",\n        \"exp\": 0\n    }\n}"},{"id":"042a9b95-4f14-4b89-8d1d-ba26beb61750","name":"Failed Case: Social ID Exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"social_id\": \"10679735267\",\r\n    \"provider\": \"Google\",\r\n    \"email\": \"anan@gmail.com\",\r\n    \"name\": \"Anan Widianto\",\r\n    \"photo_profile\": \"https://lh3.googleusercontent.com/a/ACg8ocJ14Fj0BKfIhpV0s1GLnSMjs=s96-c\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/register-social"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 09 Dec 2023 07:58:53 GMT"},{"key":"Content-Length","value":"65"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendaftarkan akun: Social ID sudah terdaftar\"\n}"},{"id":"98e51bb6-87e5-469b-a0f5-872350beca16","name":"Failed Case: Email Exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"social_id\": \"106797352431967167541237\",\r\n    \"provider\": \"Google\",\r\n    \"email\": \"anan.widi@gmail.com\",\r\n    \"name\": \"Anan Widianto\",\r\n    \"photo_profile\": \"https://lh3.googleusercontent.com/a/ACg8ocJ14Fj0BKfIhpV0s1GLnSMtF6wnoOUZiGqxuf1Lo9QPUjs=s96-c\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/register-social"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 09 Dec 2023 08:08:19 GMT"},{"key":"Content-Length","value":"61"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendaftarkan akun: email sudah terdaftar\"\n}"}],"_postman_id":"c80b4168-021a-4836-b46a-0bf06b20802f"},{"name":"Login Social","id":"8d8b346f-4e06-460e-b16a-a08dec08a467","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"social_id\": \"1067973524319671675412371\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login-social","description":"<h3 id=\"auth-social-login\">Auth Social Login</h3>\n<p>This endpoint allows users to log in using social media credentials.</p>\n<ul>\n<li>The HTTP POST request should be made to <code>localhost:8000/api/v1/auth/login-social</code>.</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li>The request should include a JSON payload in the raw request body type with the following parameter:<ul>\n<li><code>social_id</code> (string): The social media ID of the user.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>Upon a successful request, the response will include:</p>\n<ul>\n<li><code>message</code> (string): A welcome message indicating successful login.</li>\n<li><code>data</code> (object): An object containing the user's email and access token.</li>\n</ul>\n<p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Selamat datang!, Anda telah berhasil masuk.\",\n    \"data\": {\n        \"email\": \"anan@gmail.com\",\n        \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFuYW4ud2lkaUBnbWFpbC5jb20iLCJleHAiOjE3MDIxOTU3ODMsImlhdCI6MTcwMjEwOTM4Mywicm9sZSI6ImN1c3RvbWVyIiwidXNlcl9pZCI6MTR9.xSjLEquHDVzUDQmnoRD3-uLVErIijMdgLTYbE-jXAwM\"\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","auth","login-social"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"2eeefde3-0566-4ee6-b1bc-ea6cda37ee52","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"social_id\": \"106797352431947\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login-social"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 09 Dec 2023 08:09:43 GMT"},{"key":"Content-Length","value":"324"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Selamat datang!, Anda telah berhasil masuk.\",\n    \"data\": {\n        \"email\": \"anan@gmail.com\",\n        \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFuYW4ud2lkaUBnbWFpbC5jb20iLCJleHAiOjE3MDIxOTU3ODMsImlhdCI6MTcwMjEwOTM4Mywicm9sZSI6ImN1c3RvbWVyIiwidXNlcl9pZCI6MTR9.xSjLEquHDVzUDQmnoRD3-uLVErIijMdgLTYbE-jXAwM\"\n    }\n}"},{"id":"350c163c-3d2d-477c-8177-20b69c61170d","name":"Failed Case: Invalid Credential","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"social_id\": \"1067973524319671677\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login-social"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 09 Dec 2023 08:10:12 GMT"},{"key":"Content-Length","value":"42"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Email atau kata sandi salah\"\n}"}],"_postman_id":"8d8b346f-4e06-460e-b16a-a08dec08a467"}],"id":"0e51ee1d-666f-4d01-9d65-af237af8d4d0","description":"<h4 id=\"the-system-facilitates-various-account-related-actions\">The system facilitates various account-related actions:</h4>\n<p>Users can register by providing necessary details like name, email, and password. Successful registration grants access for subsequent logins using these credentials. The login process authenticates users via provided usernames and passwords, generating an access token for secure access to protected resources.</p>\n<p>In cases of forgotten passwords, users can request a reset by providing their registered email address. An OTP is then sent to aid in creating a new password.</p>\n<p>The platform also includes an email verification feature post-registration and allows for OTP resend requests if needed. OTPs sent during password resets undergo verification before enabling users to update their passwords.</p>\n<p>Moreover, for user convenience, there's integration available with social media accounts, providing registration and login options through these platforms.</p>\n","_postman_id":"0e51ee1d-666f-4d01-9d65-af237af8d4d0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}}},{"name":"Profile","item":[{"name":"Change Password","id":"9b4e8e9d-60af-4a63-a714-7ed37fa2b170","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"old_password\": \"admin12\",\r\n    \"new_password\": \"admin123\",\r\n    \"confirm_password\": \"admin123\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/users/change-password","description":"<p>This endpoint allows users to change their password by sending a POST request to the specified URL. The request should include the user's old password, new password, and confirmation of the new password in the request body.</p>\n<p>The response will have a status code of 409, indicating a conflict, and will include a message indicating the outcome of the password change operation.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>old_password</code> (string): The user's current password.</li>\n<li><code>new_password</code> (string): The new password the user wants to set.</li>\n<li><code>confirm_password</code> (string): Confirmation of the new password.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><code>message</code> (string): A message indicating the outcome of the password change operation.</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil memperbarui kata sandi\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","users","change-password"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"bfe04784-b1bb-46f6-972d-816ed9088134","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"old_password\": \"admin123\",\r\n    \"new_password\": \"admin1234\",\r\n    \"confirm_password\": \"admin1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/users/change-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 09 Nov 2023 08:29:43 GMT"},{"key":"Content-Length","value":"46"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil memperbarui kata sandi\"\n}"},{"id":"4a393379-a93f-4569-a5ea-bedf023f0237","name":"Failed Case Wrong Password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"old_password\": \"admin\",\r\n    \"new_password\": \"passsssssss\",\r\n    \"confirm_password\": \"passsssssss\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/users/change-password"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 09 Nov 2023 08:26:51 GMT"},{"key":"Content-Length","value":"64"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal memperbarui kata sandi: Password lama salah\"\n}"},{"id":"5a68c876-07f6-4452-99bf-ed4b4bc2f099","name":"Failed Case Password Not Match","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"old_password\": \"admin123\",\r\n    \"new_password\": \"passsssssss\",\r\n    \"confirm_password\": \"passsssssssasda\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/users/change-password"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 09 Nov 2023 08:28:27 GMT"},{"key":"Content-Length","value":"94"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal memperbarui kata sandi: Password baru dan konfirmasi password tidak cocok\"\n}"},{"id":"bf8e8832-1587-4df2-a956-c4e7a4e3e6fe","name":"Failed Case Error Validating","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"old_password\": \"admin123\",\r\n    \"new_password\": \"123\",\r\n    \"confirm_password\": \"123\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/users/change-password"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 09 Nov 2023 08:29:20 GMT"},{"key":"Content-Length","value":"251"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validasi gagal: Key: 'UpdatePasswordRequest.NewPassword' Error:Field validation for 'NewPassword' failed on the 'min' tag\\nKey: 'UpdatePasswordRequest.ConfirmPassword' Error:Field validation for 'ConfirmPassword' failed on the 'min' tag\"\n}"}],"_postman_id":"9b4e8e9d-60af-4a63-a714-7ed37fa2b170"},{"name":"Edit Profile","id":"93195977-aab8-4f9d-b360-9cd2922812d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Ini Anan","description":"<p>The name of the user or individual associated with the data.</p>\n","type":"text"},{"key":"phone","value":"08123412423","description":"<p>The phone number of the user or individual. Input the phone number in the specified format.</p>\n","type":"text"},{"key":"photo","description":"<p>Upload an image file (JPEG, PNG) </p>\n","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","value":null}]},"url":"localhost:8000/api/v1/users/edit-profile","description":"<h3 id=\"edit-user-profile\">Edit User Profile</h3>\n<p>This endpoint allows you to edit the profile of a user.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<ul>\n<li><code>name</code> (text): The name of the user or individual associated with the data.</li>\n<li><code>phone</code> (text): The phone number of the user or individual. Input the phone number in the specified format.</li>\n<li><code>photo</code> (file): Upload an image file (JPEG, PNG).</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p><code>message</code>: A message indicating the status of the profile update.</p>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Profil berhasil diperbarui\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","users","edit-profile"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"c0319fee-98e2-417a-a18d-cea8b7934d0d","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Ini Anan","type":"text"},{"key":"phone","value":"081237288232","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/ASUS/Downloads/unsplash_BJUoZu0mpt0.png"}],"options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/users/edit-profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 16 Nov 2023 16:05:25 GMT"},{"key":"Content-Length","value":"41"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Profil berhasil diperbarui\"\n}"},{"id":"5b6a5b2f-4bf8-4536-95a3-72f330653b4b","name":"Edit Profile Using form-data","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Ini Anan","description":"nama pengguna","type":"text"},{"key":"phone","value":"081237288232","description":"nomor telepon","type":"text"},{"key":"photo","description":"foto profil","type":"file","value":null}],"options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/users/edit-profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 16 Nov 2023 16:05:25 GMT"},{"key":"Content-Length","value":"41"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Profil berhasil diperbarui\"\n}"},{"id":"d2952625-528f-4f0e-a75d-8a9147090f8b","name":"Failed Case: Error Binding Data","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": 123232,\r\n    \"phone\": \"0123123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/users/edit-profile"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 16 Nov 2023 16:08:54 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format input yang Anda masukkan tidak sesuai.\"\n}"}],"_postman_id":"93195977-aab8-4f9d-b360-9cd2922812d3"},{"name":"Get Leaderboard","id":"3484afbf-4ad6-46a5-a63b-4a37f07b7e22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://test.disappear-organization.my.id/api/v1/users/leaderboard","urlObject":{"path":["api","v1","users","leaderboard"],"host":["https://test.disappear-organization.my.id"],"query":[],"variable":[]}},"response":[{"id":"050487ac-3775-4d5f-929a-7b095499fc2d","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/users/leaderboard"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sun, 03 Dec 2023 15:51:42 GMT"},{"key":"Content-Length","value":"659"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan leaderboard\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Ini Anan\",\n            \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\",\n            \"total_gram\": 480,\n            \"total_challenge\": 0,\n            \"level\": \"Silver\",\n            \"exp\": 624\n        },\n        {\n            \"id\": 4,\n            \"name\": \"User 3\",\n            \"photo_profile\": \"\",\n            \"total_gram\": 0,\n            \"total_challenge\": 0,\n            \"level\": \"\",\n            \"exp\": 200\n        },\n        {\n            \"id\": 7,\n            \"name\": \"User 6\",\n            \"photo_profile\": \"\",\n            \"total_gram\": 0,\n            \"total_challenge\": 0,\n            \"level\": \"\",\n            \"exp\": 50\n        },\n        {\n            \"id\": 3,\n            \"name\": \"User 2\",\n            \"photo_profile\": \"\",\n            \"total_gram\": 0,\n            \"total_challenge\": 0,\n            \"level\": \"\",\n            \"exp\": 10\n        },\n        {\n            \"id\": 5,\n            \"name\": \"User 4\",\n            \"photo_profile\": \"\",\n            \"total_gram\": 0,\n            \"total_challenge\": 0,\n            \"level\": \"\",\n            \"exp\": 10\n        }\n    ]\n}"},{"id":"2d02094d-c722-4ccd-bccd-9a1e27d7cba4","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/users/leaderboard"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sun, 03 Dec 2023 15:52:00 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"3484afbf-4ad6-46a5-a63b-4a37f07b7e22"},{"name":"Get Profile","id":"b568af6b-8aa4-47b5-8da8-048faaa0d2e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/users/get-profile","description":"<h3 id=\"get-user-profile\">Get User Profile</h3>\n<p>This endpoint retrieves the profile details of a user.</p>\n<p><strong>Request:</strong></p>\n<ul>\n<li>Method: GET</li>\n<li>URL: <code>localhost:8000/api/v1/users/get-profile</code></li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">  {\n      \"message\": \"Berhasil mendapat detail pengguna\",\n      \"data\": {\n          \"id\": 1,\n          \"email\": \"user@gmail.com\",\n          \"name\": \"Ini Anan\",\n          \"phone\": \"\",\n          \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\",\n          \"total_gram\": 480,\n          \"total_challenge\": 0,\n          \"level\": \"Silver\"\n      }\n  }\n\n</code></pre>\n</li>\n</ul>\n<p>The <code>GET</code> request to this endpoint with no request body returns the profile details of the user including their email, name, phone, photo profile, total grams, total challenges, and level.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","users","get-profile"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"d49a3ec0-3d85-4e54-86c7-d0c64142163d","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/users/get-profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sun, 03 Dec 2023 15:46:00 GMT"},{"key":"Content-Length","value":"287"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapat detail pengguna\",\n    \"data\": {\n        \"id\": 1,\n        \"email\": \"user@gmail.com\",\n        \"name\": \"Ini Anan\",\n        \"phone\": \"\",\n        \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\",\n        \"total_gram\": 480,\n        \"total_challenge\": 0,\n        \"level\": \"Silver\"\n    }\n}"},{"id":"3eb8c9cb-3cf5-4f30-b8ca-f25d05f78ef5","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/users/get-profile"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sun, 03 Dec 2023 15:50:24 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"b568af6b-8aa4-47b5-8da8-048faaa0d2e4"},{"name":"Get Environment Issues","id":"b513fc52-ef39-449f-91b6-ff92aa364e89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/users/environment-issues","description":"<p>This endpoint makes an HTTP GET request to retrieve a list of environment issues related to users. The request does not contain a request body. The response will have a status code of 200, along with a message and an array of objects containing the ID, name, and photo of each environment issue.</p>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil mendapatkan personalisasi isu lingkungan\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Sampah Lingkungan\",\n            \"photo\": \"photo.jpg\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Limbah Pabrik\",\n            \"photo\": \"photo.jpg\\r\\n\"\n        }\n    ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","users","environment-issues"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"f60284b8-38e9-4ef2-9b6e-0d6dfc8edc31","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/users/environment-issues"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 06 Dec 2023 05:59:53 GMT"},{"key":"Content-Length","value":"185"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan personalisasi isu lingkungan\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Sampah Lingkungan\",\n            \"photo\": \"photo.jpg\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Limbah Pabrik\",\n            \"photo\": \"photo.jpg\\r\\n\"\n        }\n    ]\n}"},{"id":"9e3eba3c-4a0c-4ad4-b04c-606153aa89d4","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/users/environment-issues"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 06 Dec 2023 06:00:49 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"b513fc52-ef39-449f-91b6-ff92aa364e89"},{"name":"Add User Preferences","id":"15e7c9f5-c9d5-4320-87f0-94200e2df864","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"preferred_topics\": [\r\n        \"Sampah\",\r\n        \"Alat Makanan\",\r\n        \"Tas\"\r\n    ]\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/users/preferences","description":"<h3 id=\"add-user-preferences\">Add User Preferences</h3>\n<p>This endpoint allows the client to update the preferred topics for a user.</p>\n<ul>\n<li>The request should be sent to <code>localhost:8000/api/v1/users/preferences</code> using the HTTP POST method.</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li>The request body should be in raw format and include the following parameter:<ul>\n<li><code>preferred_topics</code>: An array of preferred topics for the user.</li>\n</ul>\n</li>\n</ul>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"preferred_topics\": [\"Sampah\", \"Alat Makanan\", \"Tas\"]\n}\n\n</code></pre>\n<h4 id=\"response\">Response</h4>\n<p>Upon a successful request, the server will respond with a status code of 201 and a JSON object containing the following fields:</p>\n<ul>\n<li><code>message</code>: A message indicating the success of the operation.</li>\n<li><code>data</code>:<ul>\n<li><code>id</code>: The user's ID.</li>\n<li><code>email</code>: The user's email address.</li>\n<li><code>name</code>: The user's name.</li>\n<li><code>phone</code>: The user's phone number.</li>\n<li><code>photo_profile</code>: The URL of the user's profile photo.</li>\n<li><code>total_gram</code>: The total gram value.</li>\n<li><code>total_challenge</code>: The total challenge count.</li>\n<li><code>level</code>: The user's level.</li>\n<li><code>preference</code>: An array of preferred topics after the update.</li>\n</ul>\n</li>\n</ul>\n<p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil mendapat detail pengguna\",\n    \"data\": {\n        \"id\": 1,\n        \"email\": \"user@gmail.com\",\n        \"name\": \"Ini Anan\",\n        \"phone\": \"\",\n        \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\",\n        \"total_gram\": 480,\n        \"total_challenge\": 0,\n        \"level\": \"Silver\",\n        \"preference\": [\n            \"Sampah\",\n            \"Alat Makanan\",\n            \"Tas\"\n        ]\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","users","preferences"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"1ef533ec-04ac-436e-937d-d6f108daa556","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"preferred_topics\": [\r\n        \"Sampah\",\r\n        \"Alat Makanan\",\r\n        \"Tas\"\r\n    ]\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/users/preferences"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 06 Dec 2023 03:27:16 GMT"},{"key":"Content-Length","value":"332"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapat detail pengguna\",\n    \"data\": {\n        \"id\": 1,\n        \"email\": \"user@gmail.com\",\n        \"name\": \"Ini Anan\",\n        \"phone\": \"\",\n        \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\",\n        \"total_gram\": 480,\n        \"total_challenge\": 0,\n        \"level\": \"Silver\",\n        \"preference\": [\n            \"Sampah\",\n            \"Alat Makanan\",\n            \"Tas\"\n        ]\n    }\n}"}],"_postman_id":"15e7c9f5-c9d5-4320-87f0-94200e2df864"}],"id":"43a5b0c0-99cb-46c3-b380-38289ddf5cea","description":"<h4 id=\"the-profile-section-encompasses-various-user-centric-features\">The \"Profile\" section encompasses various user-centric features:</h4>\n<p>Users can change their password to bolster security, update their profile details such as name and contact information, and access the leaderboard to monitor their performance and rankings in community challenges. Additionally, they can retrieve their profile information and stay informed about environmental issues. Furthermore, users have the ability to customize their experience by setting preferences tailored to their interests and concerns.</p>\n<p>This section aims to empower users by providing tools to manage their account, engage with community challenges, and stay informed about environmental issues while personalizing their platform experience based on individual preferences.</p>\n","_postman_id":"43a5b0c0-99cb-46c3-b380-38289ddf5cea","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}}},{"name":"Category","item":[{"name":"Get All Category","id":"65beafce-4fd1-42bb-9848-2dee6bb65aef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/categories?page=1&search=tas","description":"<p>This endpoint makes an HTTP GET request to retrieve a list of categories based on the provided page number and search query. The request should be sent to localhost:8000/api/v1/categories with the \"page\" query parameter to specify the page number and the \"search\" query parameter to filter the categories.</p>\n<p>The response to this request will include a status code of 200, along with a JSON object containing a \"message\" field, a \"data\" array with category information including id, name, and total number of products, and a \"meta\" object providing pagination details such as the current page, total page count, and total items.</p>\n<p>Here is an example response for this request:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil. \",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Category A\",\n            \"total_product\": 25\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Category B\",\n            \"total_product\": 18\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Category C\",\n            \"total_product\": 32\n        }\n    ],\n     \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 1,\n        \"total_items\": 1,\n        \"next_page\": 1,\n        \"prev_page\": 1\n    }\n}\n\n</code></pre>\n<p>This example response includes a \"message\" field, a \"data\" array with category details, and a \"pagination\" object providing page-related information.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","categories"],"host":["localhost:8000"],"query":[{"description":{"content":"<p>Enter a numeric value to navigate through different pages of results.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Input the keyword or phrase to search within the specified endpoint for relevant information or items.</p>\n","type":"text/plain"},"key":"search","value":"tas"}],"variable":[]}},"response":[{"id":"b6bb61e9-1f6b-4b5e-b7be-4f8cbde47c94","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/categories?page=1&pageSIze=10","host":["localhost:8000"],"path":["api","v1","categories"],"query":[{"key":"page","value":"1"},{"key":"pageSIze","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Berhasil. \",\r\n    \"data\": [\r\n        {\r\n            \"id\": 1,\r\n            \"name\": \"Category A\",\r\n            \"total_product\": 25\r\n        },\r\n        {\r\n            \"id\": 2,\r\n            \"name\": \"Category B\",\r\n            \"total_product\": 18\r\n        },\r\n        {\r\n            \"id\": 3,\r\n            \"name\": \"Category C\",\r\n            \"total_product\": 32\r\n        }\r\n    ],\r\n    \"pagination\": {\r\n        \"page\": 1,\r\n        \"pageSize\": 20,\r\n        \"totalItems\": 1\r\n    }\r\n}\r\n"},{"id":"630ec899-8564-481b-8c23-a0b8041dcb9f","name":"Failed Case Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/categories?page=1&pageSIze=10","host":["localhost:8000"],"path":["api","v1","categories"],"query":[{"key":"page","value":"1"},{"key":"pageSIze","value":"10"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Anda tidak memiliki izin untuk mengakses sumber daya ini.\"\n}"}],"_postman_id":"65beafce-4fd1-42bb-9848-2dee6bb65aef"}],"id":"65b331ae-c4de-4169-8e37-bc2c7f9ce345","description":"<p>The \"Get All Product Categories\" feature enables users to access a comprehensive list of available categories specifically designed for products within this platform. This endpoint provides access to a diverse range of product categories that users can explore or utilize while navigating the application. It serves as a reference point for accessing and comprehending the variety of product categories offered by the platform, facilitating efficient product categorization and exploration</p>\n","_postman_id":"65b331ae-c4de-4169-8e37-bc2c7f9ce345","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}}},{"name":"Voucher","item":[{"name":"Claims Voucher","id":"733fad24-1f67-4b58-9a11-1de122763faf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"voucher_id\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/vouchers/claims","description":"<h3 id=\"claim-voucher\">Claim Voucher</h3>\n<p>This endpoint allows the user to claim a voucher by making an HTTP POST request to the specified URL.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>voucher_id</code> (number, required): The ID of the voucher to be claimed.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><code>message</code> (string): A message indicating the result of the claim operation.</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil klaim kupon\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","vouchers","claims"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"fb927024-b2d2-4833-b8e1-e4f9b71a9e3b","name":"Claims With form-data","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"voucher_id","value":"6","description":"masukan id kupon","type":"text"}]},"url":"localhost:8000/api/v1/vouchers/claims"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 03:43:13 GMT"},{"key":"Content-Length","value":"35"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil klaim kupon\"\n}"},{"id":"d41639d7-69a1-4238-9acc-697660221769","name":"Claims Using JSON","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"voucher_id\": 7\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/vouchers/claims"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 03:44:01 GMT"},{"key":"Content-Length","value":"35"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil klaim kupon\"\n}"},{"id":"7fff4477-3d54-46af-a471-b08b2587fd82","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"voucher_id\": 6\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/vouchers/claims"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sun, 26 Nov 2023 13:51:32 GMT"},{"key":"Content-Length","value":"35"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil klaim kupon\"\n}"},{"id":"3bcfb7f2-01a6-4504-8b9b-db3203283388","name":"Failed Case: Voucher Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"voucher_id\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/vouchers/claims"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sun, 26 Nov 2023 13:54:06 GMT"},{"key":"Content-Length","value":"55"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal klaim kupon: kupon tidak ditemukan\"\n}"},{"id":"dfa0807b-312d-4d44-bd64-a0f4248030be","name":"Failed Case: Level Is Not Enough","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"voucher_id\": 4\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/vouchers/claims"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sun, 26 Nov 2023 13:57:12 GMT"},{"key":"Content-Length","value":"66"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal klaim kupon: level anda masih belum mencukupi\"\n}"},{"id":"6843176c-4fd8-4e24-b126-2dae69ce8028","name":"Failed Case: Unathorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"voucher_id\": 6\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/vouchers/claims"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 03:38:42 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"733fad24-1f67-4b58-9a11-1de122763faf"},{"name":"Get Voucher User","id":"8457f9ac-ecda-4216-82f7-ad5feb7998d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/vouchers/users","description":"<h1 id=\"get-vouchers-for-users\">Get Vouchers for Users</h1>\n<p>This endpoint retrieves a list of vouchers available for users.</p>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Example Response Body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil mendapatkan detail pesanan\",\n    \"data\": []\n}\n\n</code></pre>\n</li>\n</ul>\n<p>The response contains a message and an array of data, where each element represents a voucher with its details.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","vouchers","users"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"5e2fdc25-891f-4859-b9dc-ea22a0f258a1","name":"Success Case: Null Data","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/vouchers/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sun, 26 Nov 2023 15:09:57 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan detail pesanan\",\n    \"data\": []\n}"},{"id":"649cec03-6cde-4fa4-94bc-7a3a9084ad86","name":"Failed Case: Unathorized","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/vouchers/users"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 03:44:37 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"8457f9ac-ecda-4216-82f7-ad5feb7998d7"},{"name":"Get Voucher To Claims","id":"52d84f2e-06ce-4624-9842-aef3a291ba93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/vouchers/to-claims","description":"<p>This endpoint makes an HTTP GET request to retrieve a list of vouchers available for claims. The response will include a message and an array of voucher objects, each containing an ID, name, code, category, description, discount amount, start date, end date, minimum purchase amount, and available stock.</p>\n<p>The response will have a status code of 200 upon successful execution. Below is an example of the response body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil mendapatkan daftar kupon\",\n    \"data\": [\n        {\n            \"id\": 5,\n            \"name\": \"Voucher Baru\",\n            \"code\": \"CODE123ASD33\",\n            \"category\": \"All Customer\",\n            \"description\": \"Diskon untuk semua produk\",\n            \"discount\": 1000,\n            \"start_date\": \"2023-11-15T07:00:00+07:00\",\n            \"end-date\": \"2023-12-30T07:00:00+07:00\",\n            \"min_purchase\": 1000,\n            \"stock\": 100\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Diskon AKhir Bulan\",\n            \"code\": \"KUPON12SAsS1\",\n            \"category\": \"All Customer\",\n            \"description\": \"Diskon untuk semua produk\",\n            \"discount\": 10000,\n            \"start_date\": \"2023-11-15T07:00:00+07:00\",\n            \"end-date\": \"2023-12-30T07:00:00+07:00\",\n            \"min_purchase\": 15000,\n            \"stock\": 10\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Diskon AKhir Bulan\",\n            \"code\": \"KUPON12SAS1\",\n            \"category\": \"Silver\",\n            \"description\": \"Diskon untuk semua produk\",\n            \"discount\": 10000,\n            \"start_date\": \"2023-11-15T07:00:00+07:00\",\n            \"end-date\": \"2023-12-30T07:00:00+07:00\",\n            \"min_purchase\": 15000,\n            \"stock\": 10\n        }\n    ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","vouchers","to-claims"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"9bad4685-9c1f-4466-9894-6200923d3547","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/vouchers/to-claims"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 07 Dec 2023 03:57:36 GMT"},{"key":"Content-Length","value":"811"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan daftar kupon\",\n    \"data\": [\n        {\n            \"id\": 5,\n            \"name\": \"Voucher Baru\",\n            \"code\": \"CODE123ASD33\",\n            \"category\": \"All Customer\",\n            \"description\": \"Diskon untuk semua produk\",\n            \"discount\": 1000,\n            \"start_date\": \"2023-11-15T07:00:00+07:00\",\n            \"end-date\": \"2023-12-30T07:00:00+07:00\",\n            \"min_purchase\": 1000,\n            \"stock\": 100\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Diskon AKhir Bulan\",\n            \"code\": \"KUPON12SAsS1\",\n            \"category\": \"All Customer\",\n            \"description\": \"Diskon untuk semua produk\",\n            \"discount\": 10000,\n            \"start_date\": \"2023-11-15T07:00:00+07:00\",\n            \"end-date\": \"2023-12-30T07:00:00+07:00\",\n            \"min_purchase\": 15000,\n            \"stock\": 10\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Diskon AKhir Bulan\",\n            \"code\": \"KUPON12SAS1\",\n            \"category\": \"Silver\",\n            \"description\": \"Diskon untuk semua produk\",\n            \"discount\": 10000,\n            \"start_date\": \"2023-11-15T07:00:00+07:00\",\n            \"end-date\": \"2023-12-30T07:00:00+07:00\",\n            \"min_purchase\": 15000,\n            \"stock\": 10\n        }\n    ]\n}"},{"id":"129ccf1a-3897-42a8-b97c-dc5b576067d3","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/vouchers/to-claims"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 07 Dec 2023 03:58:26 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"52d84f2e-06ce-4624-9842-aef3a291ba93"}],"id":"bcf50aa8-4466-43ff-9434-3b4d914f9a2f","description":"<h4 id=\"in-the-voucher-section-users-can-manage-and-access-voucher-related-functionalities\">In the \"Voucher\" section, users can manage and access voucher-related functionalities:</h4>\n<p>Users have the capability to view available vouchers open for claiming and explore eligible options. Additionally, they can access their own voucher information to review details regarding acquired or redeemed vouchers. Furthermore, users can claim or redeem available vouchers, applying them to their accounts for discounts, rewards, or specific benefits offered by the platform.</p>\n","_postman_id":"bcf50aa8-4466-43ff-9434-3b4d914f9a2f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}}},{"name":"Address","item":[{"name":"Get All Address","id":"3f09b6e5-d436-45ad-a30d-7b215311d7a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/address?page=1","description":"<p>This endpoint makes an HTTP GET request to retrieve a paginated list of addresses. The request should include the page number as a query parameter. The response will include a message, an array of address data, and metadata about the pagination.</p>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li>Status: 200</li>\n<li>Message: A message indicating the success of the request.</li>\n<li>Data: An array of address objects, each containing an ID, user ID, accepted name, phone number, address, and a boolean flag indicating if it is the primary address.</li>\n<li>Meta: Pagination metadata including the current page, total pages, total items, next page, and previous page.</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil mendapatkan daftar alamat\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"user_id\": 1,\n            \"accepted_name\": \"Taryo\",\n            \"phone\": \"0812376231\",\n            \"address\": \"Jalan merdeka\",\n            \"is_primary\": true\n        },\n        {\n            \"id\": 2,\n            \"user_id\": 1,\n            \"accepted_name\": \"Maryo\",\n            \"phone\": \"0812376231\",\n            \"address\": \"Jalan merdek\",\n            \"is_primary\": false\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 1,\n        \"total_items\": 2,\n        \"next_page\": 1,\n        \"prev_page\": 1\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","address"],"host":["localhost:8000"],"query":[{"description":{"content":"<p>Enter a numeric value to navigate through different pages of results.</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"8567c0f3-b5f2-4d55-ab52-87896e1cc7ad","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/address?page=1","host":["localhost:8000"],"path":["api","v1","address"],"query":[{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 03:41:21 GMT"},{"key":"Content-Length","value":"363"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan daftar alamat\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"user_id\": 1,\n            \"accepted_name\": \"Taryo\",\n            \"phone\": \"0812376231\",\n            \"address\": \"Jalan merdeka\",\n            \"is_primary\": true\n        },\n        {\n            \"id\": 2,\n            \"user_id\": 1,\n            \"accepted_name\": \"Maryo\",\n            \"phone\": \"0812376231\",\n            \"address\": \"Jalan merdek\",\n            \"is_primary\": false\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 1,\n        \"total_items\": 2,\n        \"next_page\": 1,\n        \"prev_page\": 1\n    }\n}"},{"id":"b91e9cf4-a9f0-4baa-879e-9d4076df295c","name":"Failed Case: Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/address?page=1","host":["localhost:8000"],"path":["api","v1","address"],"query":[{"key":"page","value":"1"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 03:41:50 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"b2717c62-0c86-479e-b2e4-8134287c3db8","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/address?page=1","host":["localhost:8000"],"path":["api","v1","address"],"query":[{"key":"page","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 03:42:15 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"3f09b6e5-d436-45ad-a30d-7b215311d7a3"},{"name":"Create Address","id":"bf622f1f-21e0-4243-97bb-0290cfe48a25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"accepted_name\": \"Taryo\",\r\n    \"phone\": \"0812376231\",\r\n    \"address\": \"Jalan merdeka\",\r\n    \"is_primary\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/address","description":"<h3 id=\"add-address\">Add Address</h3>\n<p>This endpoint makes an HTTP POST request to add a new address for a user.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li>accepted_name (text, required): The name of the recipient.</li>\n<li>phone (text, required): The phone number of the recipient.</li>\n<li>address (text, required): The complete address.</li>\n<li>is_primary (text, required): Indicates if the address is the primary address for the user. Set to true for primary, false otherwise.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li>Status: 201 Created</li>\n<li>message (string): A message indicating the status of the address addition.</li>\n<li>data (object): The details of the added address.<ul>\n<li>id (number): The ID of the added address.</li>\n<li>user_id (number): The ID of the user.</li>\n<li>accepted_name (string): The name of the recipient.</li>\n<li>phone (string): The phone number of the recipient.</li>\n<li>address (string): The complete address.</li>\n<li>is_primary (boolean): Indicates if the address is the primary address for the user.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil menambahkan alamat\",\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 1,\n        \"accepted_name\": \"Taryo\",\n        \"phone\": \"0812376231\",\n        \"address\": \"Jalan merdeka\",\n        \"is_primary\": true\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","address"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"3bf1b225-a90f-4a77-b225-ecd2c68af6f4","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"accepted_name\": \"Taryo\",\r\n    \"phone\": \"0812376231\",\r\n    \"address\": \"Jalan merdeka\",\r\n    \"is_primary\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/address"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 03:33:26 GMT"},{"key":"Content-Length","value":"159"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menambahkan alamat\",\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 1,\n        \"accepted_name\": \"Taryo\",\n        \"phone\": \"0812376231\",\n        \"address\": \"Jalan merdeka\",\n        \"is_primary\": true\n    }\n}"},{"id":"40868326-590a-41f6-823e-09e1c6c92b9b","name":"Create Address Using form-data","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"accepted_name","value":"Maryo","type":"text","description":"nama penerima"},{"key":"phone","value":"0812376231","type":"text","description":"nomor handphone"},{"key":"address","value":"Jalan merdek","type":"text","description":"alamat lengkap"},{"key":"is_primary","value":"false","type":"text","description":"alamat utama, jika iya true, jika tidak false"}]},"url":"localhost:8000/api/v1/address"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 03:33:26 GMT"},{"key":"Content-Length","value":"159"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menambahkan alamat\",\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 1,\n        \"accepted_name\": \"Taryo\",\n        \"phone\": \"0812376231\",\n        \"address\": \"Jalan merdeka\",\n        \"is_primary\": true\n    }\n}"},{"id":"15c60e4f-5ab9-4445-ba3d-79f036b4c2a6","name":"Failed Case: Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"accepted_name","value":"Taryo","type":"text","description":"nama penerima"},{"key":"phone","value":"0812376231","type":"text","description":"nomor handphone"},{"key":"address","value":"Jalan merdek","type":"text","description":"alamat lengkap"},{"key":"is_primary","value":"true","type":"text","description":"alamat utama, jika iya true, jika tidak false"}]},"url":"localhost:8000/api/v1/address"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 03:40:38 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"73935383-9911-4db6-a8f1-f17ac2246aaa","name":"Failed Case: Error Validation","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"accepted_name","value":"Taryo","type":"text","description":"nama penerima","disabled":true},{"key":"phone","value":"0812376231","type":"text","description":"nomor handphone"},{"key":"address","value":"Jalan merdek","type":"text","description":"alamat lengkap"},{"key":"is_primary","value":"true","type":"text","description":"alamat utama, jika iya true, jika tidak false"}]},"url":"localhost:8000/api/v1/address"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 03:40:59 GMT"},{"key":"Content-Length","value":"142"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validasi gagal: Key: 'CreateAddressRequest.AcceptedName' Error:Field validation for 'AcceptedName' failed on the 'required' tag\"\n}"}],"_postman_id":"bf622f1f-21e0-4243-97bb-0290cfe48a25"},{"name":"Update Address","id":"4cbf8531-09bb-481c-9255-a535376e869b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"accepted_name\": \"Bima\",\r\n    \"phone\": \"08123762311233\",\r\n    \"address\": \"Jalan suparman\",\r\n    \"is_primary\": true\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/address/:id","description":"<p>This endpoint allows you to update an address by sending an HTTP PUT request to localhost:8000/api/v1/address/:id.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li>accepted_name (string, optional): The accepted name for the address.</li>\n<li>phone (string, optional): The phone number associated with the address.</li>\n<li>address (string, optional): The address details.</li>\n<li>is_primary (boolean, required): Indicates if the address is the primary address.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon a successful update, the response will include:</p>\n<ul>\n<li>message (string): A success message indicating that the address update was successful.</li>\n</ul>\n<h3 id=\"example\">Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil memperbarui alamat\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","address",":id"],"host":["localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>id address</p>\n","type":"text/plain"},"type":"any","value":"2","key":"id"}]}},"response":[{"id":"05b5c45c-4b4a-4300-be87-9893edbc10fe","name":"Success Case","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    // \"accepted_name\": \"Bima\",\r\n    \"is_primary\": true\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/v1/address/:id","host":["localhost:8000"],"path":["api","v1","address",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 03:43:41 GMT"},{"key":"Content-Length","value":"42"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil memperbarui alamat\"\n}"},{"id":"7af1c36a-3b74-4be1-8e3a-8273f7759042","name":"Failed Case: Address Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    // \"accepted_name\": \"Bima\",\r\n    \"is_primary\": true\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/v1/address/:id","host":["localhost:8000"],"path":["api","v1","address",":id"],"variable":[{"key":"id","value":"3"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 03:43:22 GMT"},{"key":"Content-Length","value":"63"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal memperbarui alamat: alamat tidak ditemukan\"\n}"},{"id":"0ad5583c-1298-4100-a30d-6e4c19fb34f1","name":"Failed Case: Forbidden","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    // \"accepted_name\": \"Bima\",\r\n    \"is_primary\": true\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/v1/address/:id","host":["localhost:8000"],"path":["api","v1","address",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 03:44:14 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"4cbf8531-09bb-481c-9255-a535376e869b"},{"name":"Delete Address","id":"44d35017-1d95-418b-84b6-4b094c8782e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:8000/api/v1/address/:id","description":"<p>This endpoint sends an HTTP DELETE request to the specified address to delete the address with the given ID.</p>\n<p>The request does not include a request body.</p>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li>message: A message indicating whether the address deletion was successful.</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Alamat berhasil dihapus\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","address",":id"],"host":["localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>Enter the unique identifier or code associated with the specific address record</p>\n","type":"text/plain"},"type":"any","value":"21","key":"id"}]}},"response":[{"id":"dd41ce96-4aef-4335-8008-8eb1554472db","name":"Success Case","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/address/:id","host":["localhost:8000"],"path":["api","v1","address",":id"],"variable":[{"key":"id","value":"20"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 20 Nov 2023 15:02:46 GMT"},{"key":"Content-Length","value":"38"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Alamat berhasil dihapus\"\n}"},{"id":"b9a133a8-8714-44f4-b218-f82c496007d1","name":"Failed Case: Cant Delete Main Address","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/address/:id","host":["localhost:8000"],"path":["api","v1","address",":id"],"variable":[{"key":"id","value":"17"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 20 Nov 2023 14:59:32 GMT"},{"key":"Content-Length","value":"71"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menghapus alamat: Alamat utama tidak dapat dihapus\"\n}"},{"id":"786bfa4e-ba74-4046-bbd5-b73861ce410f","name":"Failed Case: Address Not Found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/address/:id","host":["localhost:8000"],"path":["api","v1","address",":id"],"variable":[{"key":"id","value":"19"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 20 Nov 2023 15:02:20 GMT"},{"key":"Content-Length","value":"61"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menghapus alamat: Alamat tidak ditemukan\"\n}"}],"_postman_id":"44d35017-1d95-418b-84b6-4b094c8782e1"}],"id":"49385f43-f138-48ba-9098-ab474c126145","description":"<h4 id=\"in-the-address-section\">In the \"Address\" section:</h4>\n<p>Users can access all existing addresses available within the system. Additionally, they have the functionality to create new addresses as needed. Users can also update their existing addresses to ensure accuracy and relevance. Moreover, there's the option to delete addresses that are no longer required or outdated.</p>\n","_postman_id":"49385f43-f138-48ba-9098-ab474c126145","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}}},{"name":"Review","item":[{"name":"Create","id":"08f4a308-7a72-48b4-ae5b-98bb5ebd15f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"product_id\": 1,\r\n    \"rating\": 2,\r\n    \"description\": \"jelek sekali\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/reviews","description":"<h2 id=\"add-review\">Add Review</h2>\n<p>This endpoint allows the client to add a review for a product.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>product_id</code> (number): The ID of the product for which the review is being added.</li>\n<li><code>rating</code> (number): The rating given to the product.</li>\n<li><code>description</code> (string): The description or feedback for the product.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li>Status: 201 Created</li>\n<li><code>message</code> (string): A message indicating the result of the review addition.</li>\n<li><code>data</code><ul>\n<li><code>id</code> (number): The ID of the added review.</li>\n<li><code>user_id</code> (number): The ID of the user who added the review.</li>\n<li><code>product_id</code> (number): The ID of the product being reviewed.</li>\n<li><code>rating</code> (number): The rating given to the product.</li>\n<li><code>description</code> (string): The description or feedback for the product.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"sample-response\">Sample Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil menambahkan ulasan\",\n    \"data\": {\n        \"id\": 4,\n        \"user_id\": 1,\n        \"product_id\": 1,\n        \"rating\": 4,\n        \"description\": \"Bagus sekali\"\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","reviews"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"8a385d4a-9c8f-4031-994f-f8a10aa93420","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"product_id\": 1,\r\n    \"rating\": 4,\r\n    \"description\": \"Bagus sekali\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/reviews"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 13:28:36 GMT"},{"key":"Content-Length","value":"125"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menambahkan ulasan\",\n    \"data\": {\n        \"id\": 4,\n        \"user_id\": 1,\n        \"product_id\": 1,\n        \"rating\": 4,\n        \"description\": \"Bagus sekali\"\n    }\n}"},{"id":"14647c0c-1272-4617-885d-8a687211c523","name":"Failed Case: Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"product_id\": 1,\r\n    \"rating\": 4,\r\n    \"description\": \"Bagus sekali\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/reviews"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 14:31:35 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"3dd58fca-d75a-40f9-ad9c-d0db3b5b8de4","name":"Failed Case: Error Validation","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    // \"product_id\": 1,\r\n    \"rating\": 4,\r\n    \"description\": \"Bagus sekali\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/reviews"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 14:36:38 GMT"},{"key":"Content-Length","value":"135"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validasi gagal: Key: 'CreateReviewRequest.ProductID' Error:Field validation for 'ProductID' failed on the 'required' tag\"\n}"}],"_postman_id":"08f4a308-7a72-48b4-ae5b-98bb5ebd15f4"},{"name":"Create Review Photos","id":"868823ea-4456-42d4-aaf4-2a0e3547f469","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"review_id","value":"1","description":"<p>Enter the unique identifier or code associated with the specific review.</p>\n","type":"text"},{"key":"photo","description":"<p>Upload an image file (JPEG, PNG) to associate with the review.</p>\n","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","src":"/C:/Users/ASUS/Downloads/unsplash_BJUoZu0mpt0.png"}]},"url":"localhost:8000/api/v1/reviews/photos","description":"<p>This API endpoint allows you to add photos to reviews. You can make an HTTP POST request to the specified URL with a form-data request body containing the review_id and the photo to be uploaded.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>review_id</code> (text): Enter the unique identifier or code associated with the specific review.</li>\n<li><code>photo</code> (file): Upload an image file (JPEG, PNG) to associate with the review.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon a successful request, the response will include:</p>\n<ul>\n<li><code>message</code>: A confirmation message indicating the successful addition of the review photo.</li>\n<li><code>data.id</code>: The ID of the added photo.</li>\n<li><code>data.url</code>: The URL of the uploaded photo.</li>\n</ul>\n<p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil menambahkan foto ulasan\",\n    \"data\": {\n        \"id\": 1,\n        \"url\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701177758/disappear/q37t8yme8klhc7k25gxv.png\"\n    }\n}\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","reviews","photos"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"8adbe436-06e8-41da-bca8-d1f1ef022319","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"review_id","value":"1","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/ASUS/Downloads/unsplash_BJUoZu0mpt0.png"}]},"url":"localhost:8000/api/v1/reviews/photos"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 13:22:39 GMT"},{"key":"Content-Length","value":"168"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menambahkan foto ulasan\",\n    \"data\": {\n        \"id\": 1,\n        \"url\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701177758/disappear/q37t8yme8klhc7k25gxv.png\"\n    }\n}"},{"id":"8e4314cb-6d4b-4e61-af08-de209b62ead2","name":"Failed Case: Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"review_id","value":"1","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/ASUS/Downloads/unsplash_BJUoZu0mpt0.png"}]},"url":"localhost:8000/api/v1/reviews/photos"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 14:37:18 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"868823ea-4456-42d4-aaf4-2a0e3547f469"}],"id":"2b20f6ea-38d2-4e05-b11a-5e21a7f2efd1","description":"<h4 id=\"in-the-review-section\">In the \"Review\" section:</h4>\n<p>Users have the ability to create reviews, expressing their opinions and experiences about products, services, or experiences offered by the platform. Additionally, users can attach photos to their reviews to provide visual content supporting their feedback or testimonials.</p>\n","_postman_id":"2b20f6ea-38d2-4e05-b11a-5e21a7f2efd1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}}},{"name":"Product","item":[{"name":"Get Product Preferences","id":"cfee845b-9be6-4523-b034-33df9c56a73d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/products/preferences","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","products","preferences"],"host":["localhost:8000"],"query":[{"disabled":true,"description":{"content":"<p>Input the keyword or phrase to search within the specified endpoint for relevant information or items.</p>\n","type":"text/plain"},"key":"search","value":"botol"},{"disabled":true,"description":{"content":"<p>filter by abjad, terbaru, termurah, promo</p>\n","type":"text/plain"},"key":"filter","value":"as"}],"variable":[]}},"response":[{"id":"f2c0413e-4fb0-45d1-8e20-146f589d89d2","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/products/preferences?search=&filter=","host":["localhost:8000"],"path":["api","v1","products","preferences"],"query":[{"key":"search","value":"","description":"pencairan"},{"key":"filter","value":"","description":"filter dari abjad, terbaru, termurah, promo"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 06 Dec 2023 12:00:35 GMT"},{"key":"Content-Length","value":"655"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan daftar produk\",\n    \"data\": [\n        {\n            \"id\": 2,\n            \"name\": \"Alat Makan\",\n            \"gram_plastic\": 20,\n            \"stock\": 267,\n            \"discount\": 10000,\n            \"product_exp\": 23,\n            \"price\": 80000,\n            \"rating\": 0,\n            \"total_review\": 0,\n            \"categories\": null,\n            \"image_url\": null\n        },\n        {\n            \"id\": 1,\n            \"name\": \"Botol Minum\",\n            \"gram_plastic\": 20,\n            \"stock\": 280,\n            \"discount\": 50000,\n            \"product_exp\": 35,\n            \"price\": 250000,\n            \"rating\": 4.3,\n            \"total_review\": 4,\n            \"categories\": null,\n            \"image_url\": null\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Alat Minum\",\n            \"gram_plastic\": 20,\n            \"stock\": 221,\n            \"discount\": 100,\n            \"product_exp\": 23,\n            \"price\": 10000,\n            \"rating\": 0,\n            \"total_review\": 0,\n            \"categories\": null,\n            \"image_url\": null\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 1,\n        \"total_items\": 3,\n        \"next_page\": 1,\n        \"prev_page\": 1\n    }\n}"},{"id":"452366cf-aaff-4dc5-b2ca-17ffb3a29b21","name":"Get Product Preferences","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/products/preferences?search=&filter=","host":["localhost:8000"],"path":["api","v1","products","preferences"],"query":[{"key":"search","value":"","description":"pencairan"},{"key":"filter","value":"","description":"filter dari abjad, terbaru, termurah, promo"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 06 Dec 2023 12:01:37 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"cfee845b-9be6-4523-b034-33df9c56a73d"},{"name":"Get Other Product","id":"42656bfb-f5d0-4c1f-81ca-cde2aa1f56ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/products/other-products","description":"<h2 id=\"get-other-products\">Get Other Products</h2>\n<p>This endpoint makes an HTTP GET request to retrieve a list of other products.</p>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li>Status: 200 OK</li>\n<li>Message: A message indicating the success of getting other products.</li>\n<li>Data: An array containing objects with the following properties:<ul>\n<li>id (number): The unique identifier of the product.</li>\n<li>name (string): The name of the product.</li>\n<li>price (number): The price of the product.</li>\n<li>rating (number): The rating of the product.</li>\n<li>image_url (string): The URL of the product's image.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil mendapatkan produk lainnya\",\n    \"data\": [\n        {\n            \"id\": 2,\n            \"name\": \"Alat Makan\",\n            \"price\": 80000,\n            \"rating\": 5,\n            \"image_url\": null\n        },\n        {\n            \"id\": 1,\n            \"name\": \"Botol Minum\",\n            \"price\": 250000,\n            \"rating\": 3.5,\n            \"image_url\": null\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Alat Minum\",\n            \"price\": 10000,\n            \"rating\": 0,\n            \"image_url\": null\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Tas\",\n            \"price\": 1000,\n            \"rating\": 0,\n            \"image_url\": null\n        }\n    ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","products","other-products"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"4ba4936b-d219-4052-9c17-e70decd9ebbc","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/products/other-products"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 06 Dec 2023 12:26:30 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"8ad813ee-ff18-4c7c-b311-fe6a39dc9f56","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/products/other-products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 12 Dec 2023 04:13:56 GMT"},{"key":"Content-Length","value":"339"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan produk lainnya\",\n    \"data\": [\n        {\n            \"id\": 2,\n            \"name\": \"Alat Makan\",\n            \"price\": 80000,\n            \"rating\": 5,\n            \"image_url\": null\n        },\n        {\n            \"id\": 1,\n            \"name\": \"Botol Minum\",\n            \"price\": 250000,\n            \"rating\": 3.5,\n            \"image_url\": null\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Alat Minum\",\n            \"price\": 10000,\n            \"rating\": 0,\n            \"image_url\": null\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Tas\",\n            \"price\": 1000,\n            \"rating\": 0,\n            \"image_url\": null\n        }\n    ]\n}"}],"_postman_id":"42656bfb-f5d0-4c1f-81ca-cde2aa1f56ad"},{"name":"Get By ID","id":"8599df38-a662-4208-a0bd-b1902acd677d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/products/:id","description":"<p>This endpoint makes an HTTP GET request to retrieve details of a specific product by its ID. The response will include information such as the product's name, description, stock, price, discount, expiration date, rating, total reviews, total sold, categories, image URLs, and reviews associated with the product. </p>\n<p>An example response for this request would be:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil mendapatkan detail produk\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Botol minum\",\n        \"description\": \"Botol minuman terbuat dari bahan ramah lingkungan\",\n        \"gram_plastic\": 20,\n        \"stock\": 200,\n        \"discount\": 50000,\n        \"exp\": 35,\n        \"price\": 250000,\n        \"rating\": 0,\n        \"total_review\": 0,\n        \"categories\": [\n            {\n                \"id\": 4,\n                \"name\": \"Alat Minum\"\n            }\n        ],\n        \"image_url\": null,\n        \"reviews\": null\n    }\n}\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","products",":id"],"host":["localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>Enter the unique identifier or code associated with the specific product</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"f196aaff-b484-4bc5-bf67-a14e5f9b8c37","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:01:11 GMT"},{"key":"Content-Length","value":"327"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan detail produk\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Botol minum\",\n        \"description\": \"Botol minuman terbuat dari bahan ramah lingkungan\",\n        \"gram_plastic\": 20,\n        \"stock\": 200,\n        \"discount\": 50000,\n        \"exp\": 35,\n        \"price\": 250000,\n        \"rating\": 0,\n        \"total_review\": 0,\n        \"categories\": [\n            {\n                \"id\": 4,\n                \"name\": \"Alat Minum\"\n            }\n        ],\n        \"image_url\": null,\n        \"reviews\": null\n    }\n}"},{"id":"aefa74e4-c076-49ea-8e4d-852617cd1471","name":"Failed Case: Unathorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:03:19 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"a3fefce1-8941-4e93-8d72-69a0576fb338","name":"Failed Case: Error Binding Data","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"a"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:03:44 GMT"},{"key":"Content-Length","value":"57"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format ID yang Anda masukkan tidak sesuai\"\n}"},{"id":"4c29e332-4756-4494-912c-fadc73251ef6","name":"Failed Case: Product Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"4"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:05:26 GMT"},{"key":"Content-Length","value":"70"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan detail produk: produk tidak ditemukan\"\n}"}],"_postman_id":"8599df38-a662-4208-a0bd-b1902acd677d"}],"id":"62953ddb-080f-468f-8ac0-a20385f8eb74","description":"<h4 id=\"in-the-product-section\">In the \"Product\" section:</h4>\n<p>Users can access their product preferences, allowing them to view customized or recommended product lists based on their preferences or browsing history. Additionally, users have the option to retrieve detailed information about a specific product by its unique identifier. Moreover, users can explore and access other available products within the platform's catalog or inventory.</p>\n","_postman_id":"62953ddb-080f-468f-8ac0-a20385f8eb74","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}}},{"name":"Cart","item":[{"name":"Add Product To Carts","id":"3979590f-0833-432d-acf7-5349325d8895","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"product_id","value":"3","description":"<p>masukan product id</p>\n","type":"text"},{"key":"quantity","value":"1","description":"<p>masukan kuantitas</p>\n","type":"text"}]},"url":"localhost:8000/api/v1/carts","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","carts"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"23d65974-4155-4e8c-9583-10123eb32ed0","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"product_id","value":"1","description":"masukan product id","type":"text"},{"key":"quantity","value":"5","description":"masukan kuantitas","type":"text"}]},"url":"localhost:8000/api/v1/carts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 12:09:30 GMT"},{"key":"Content-Length","value":"148"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menambahkan produk ke keranjang\",\n    \"data\": {\n        \"id\": 1,\n        \"cart_id\": 1,\n        \"product_id\": 1,\n        \"quantity\": 5,\n        \"price\": 250000,\n        \"total_price\": 1250000\n    }\n}"},{"id":"26c9b8cb-5d2a-4bbe-aa65-08a53a70c0d6","name":"Add Product Using form-data","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"product_id","value":"1","description":"masukan product id","type":"text"},{"key":"quantity","value":"2","description":"masukan kuantitas","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/carts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:38:12 GMT"},{"key":"Content-Length","value":"146"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menambahkan produk ke keranjang\",\n    \"data\": {\n        \"id\": 23,\n        \"cart_id\": 10,\n        \"product_id\": 1,\n        \"quantity\": 4,\n        \"price\": 5000,\n        \"total_price\": 20000\n    }\n}"},{"id":"82e71d1b-df02-407e-a35d-9d7cb4105bcf","name":"Failed Case: Product Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"product_id\": 10,\r\n    \"quantity\": 3\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/carts"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:22:43 GMT"},{"key":"Content-Length","value":"69"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menambahkan ke keranjang: produk tidak ditemukan\"\n}"},{"id":"514c6a7a-b1c4-4b85-9892-ba01e1517f81","name":"Failed Case: Error Validation","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"productID\": 10,\r\n    \"quantity\": 3\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/carts"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:30:02 GMT"},{"key":"Content-Length","value":"135"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validasi gagal: Key: 'AddCartItemsRequest.ProductID' Error:Field validation for 'ProductID' failed on the 'required' tag\"\n}"},{"id":"a5b35eeb-9a69-4161-a2ab-5eb4c4155958","name":"Failed Case: Error Binding Data","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"product_id\": a,\r\n    \"quantity\": 3\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/carts"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:30:32 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format input yang Anda masukkan tidak sesuai.\"\n}"},{"id":"7f881fbf-1990-4977-a154-dd8b07ea5935","name":"Failed Case: Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"product_id\": 10,\r\n    \"quantity\": 3\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/carts"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:24:42 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"3979590f-0833-432d-acf7-5349325d8895"},{"name":"Detail Carts","id":"f1dab20b-5a5a-40af-b79f-7c3f955c0338","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/carts","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","carts"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"2a48537e-7cce-4668-b881-3e25f7c90fe2","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/carts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 12:15:30 GMT"},{"key":"Content-Length","value":"436"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan detail keranjang\",\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 1,\n        \"grant_total\": 1250000,\n        \"cart_items\": [\n            {\n                \"cart_item_id\": 1,\n                \"product_name\": \"Botol Minum\",\n                \"gram_plastic\": 20,\n                \"price\": 250000,\n                \"quantity\": 5,\n                \"total_price\": 1250000,\n                \"product\": {\n                    \"id\": 1,\n                    \"name\": \"Botol Minum\",\n                    \"price\": 250000,\n                    \"product_photos\": [\n                        {\n                            \"id\": 1,\n                            \"product_id\": 1,\n                            \"url\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701162429/disappear/alky9wemgaqgetgmr2pw.png\"\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}"},{"id":"41592f34-4443-49bd-a5d3-1434c730b5a1","name":"Success Case: Null Data","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/carts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 21 Nov 2023 15:41:25 GMT"},{"key":"Content-Length","value":"100"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Daftar detail keranjang\",\n    \"data\": {\n        \"id\": 0,\n        \"user_id\": 0,\n        \"grant_total\": 0,\n        \"cart_items\": null\n    }\n}"},{"id":"0823984a-cea7-4d8d-82b3-81c5063f59ab","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/carts"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 05:56:39 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"a2c70b23-0609-43ac-a555-5548059e8c07","name":"Failed Case: Forbidden","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/carts"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 21 Nov 2023 15:39:05 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"f1dab20b-5a5a-40af-b79f-7c3f955c0338"},{"name":"Reduce Quantity","id":"f561ecbf-123c-494b-b974-7dc94b6e4057","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"cart_item_id","value":"1","description":"<p>masukan id cart item </p>\n","type":"text"},{"key":"quantity","value":"1","description":"<p>masukan jumlah kuantitas yang ingin dikurangi</p>\n","type":"text"}]},"url":"localhost:8000/api/v1/carts/reduce/quantity","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","carts","reduce","quantity"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"43b234a0-24f1-4ca0-94f4-bfcdcd9031c7","name":"Success Case","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"cart_item_id\": 23,\r\n    \"quantity\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/carts/reduce/quantity"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:35:33 GMT"},{"key":"Content-Length","value":"43"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mengurangi quantity\"\n}"},{"id":"844fa04f-6d1f-4730-8b4c-41a50ad9cc46","name":"Reduce Quantity Using form-data","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"cart_item_id","value":"23","description":"masukan id cart item ","type":"text"},{"key":"quantity","value":"1","description":"masukan jumlah kuantitas yang ingin dikurangi","type":"text"}]},"url":"localhost:8000/api/v1/carts/reduce/quantity"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:39:34 GMT"},{"key":"Content-Length","value":"43"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mengurangi quantity\"\n}"},{"id":"bf77365b-c108-49a9-ae95-e480280e472e","name":"Failed Case: Cart Items Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"cart_item_id\": 22,\r\n    \"quantity\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/carts/reduce/quantity"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:31:32 GMT"},{"key":"Content-Length","value":"74"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mengurangi quantity: item dikeranjang tidak ditemukan\"\n}"},{"id":"100513f5-1940-4cc7-8677-7babb91c636f","name":"Failed Case: Error Validation","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"cart_item\": 22,\r\n    \"quantity\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/carts/reduce/quantity"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:32:44 GMT"},{"key":"Content-Length","value":"140"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validasi gagal: Key: 'ReduceCartItemsRequest.CartItemID' Error:Field validation for 'CartItemID' failed on the 'required' tag\"\n}"},{"id":"c360401d-fa74-446b-b35f-927c2812b774","name":"Failed Case: Error Binding Data","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"cart_item_id\": a,\r\n    \"quantity\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/carts/reduce/quantity"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:33:08 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format input yang Anda masukkan tidak sesuai.\"\n}"},{"id":"1fc15062-1a2e-4e16-b7ef-fdf5a21164f5","name":"Failed Case: Exceeded Available Quantity","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"cart_item_id\": 23,\r\n    \"quantity\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/carts/reduce/quantity"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:33:40 GMT"},{"key":"Content-Length","value":"119"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mengurangi quantity: jumlah kuantitas yang diminta melebihi jumlah kuantitas yang ada di keranjang\"\n}"},{"id":"734ebdc3-0323-4105-b35e-67ce1b880124","name":"Failed Case: Forbidden","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"cart_item_id","value":"23","description":"masukan id cart item ","type":"text"},{"key":"quantity","value":"1","description":"masukan jumlah kuantitas yang ingin dikurangi","type":"text"}]},"url":"localhost:8000/api/v1/carts/reduce/quantity"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:42:40 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"f561ecbf-123c-494b-b974-7dc94b6e4057"},{"name":"Delete Cart Items","id":"03797fcb-5d60-4530-8f40-4c185177a9b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:8000/api/v1/carts/cart-items/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","carts","cart-items",":id"],"host":["localhost:8000"],"query":[],"variable":[{"type":"any","value":"2","key":"id"}]}},"response":[{"id":"3f626c49-e668-424d-ac0b-e014c48a51f3","name":"Success Case","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/carts/cart-items/:id","host":["localhost:8000"],"path":["api","v1","carts","cart-items",":id"],"variable":[{"key":"id","value":"24"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:44:50 GMT"},{"key":"Content-Length","value":"52"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menghapus produk dikeranjang\"\n}"},{"id":"e2f2441f-0ecb-456f-92d3-067d500c4d84","name":"Failed Case: Cart Item Not Found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/carts/cart-items/:id","host":["localhost:8000"],"path":["api","v1","carts","cart-items",":id"],"variable":[{"key":"id","value":"19"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:41:06 GMT"},{"key":"Content-Length","value":"83"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menghapus produk dikeranjang: item dikeranjang tidak ditemukan\"\n}"},{"id":"27e58d6e-b6f7-4db5-9678-2ad7d3efebd0","name":"Failed Case: Forbidden","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/carts/cart-items/:id","host":["localhost:8000"],"path":["api","v1","carts","cart-items",":id"],"variable":[{"key":"id","value":"19"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:42:16 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"36e8412c-363e-473a-8981-993ee57a13a1","name":"Failed Case: Error Binding Data","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/carts/cart-items/:id","host":["localhost:8000"],"path":["api","v1","carts","cart-items",":id"],"variable":[{"key":"id","value":"a"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 22 Nov 2023 12:44:05 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format input yang Anda masukkan tidak sesuai.\"\n}"}],"_postman_id":"03797fcb-5d60-4530-8f40-4c185177a9b2"}],"id":"f1216e72-0097-4de2-9578-0700f400b1c5","_postman_id":"f1216e72-0097-4de2-9578-0700f400b1c5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}}},{"name":"Order","item":[{"name":"Get Details Order By Id","id":"36d6005f-f6a3-4f04-b306-a49058268d8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/order/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","order",":id"],"host":["localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>id order</p>\n","type":"text/plain"},"type":"any","value":"bc306df7-4681-4bee-9164-ecbe221e4c8a","key":"id"}]}},"response":[{"id":"4beb2db1-3e49-4721-ba69-2f3df7bd3ae2","name":"Failed Case: Order Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/order/:id","host":["localhost:8000"],"path":["api","v1","order",":id"],"variable":[{"key":"id","value":"d97ba9a9-81e3-4b5c-9892-2506fd5c7edbs","description":"id order"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 05:41:23 GMT"},{"key":"Content-Length","value":"74"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan detail pesanan: gagal mendapatkan pesanan\"\n}"},{"id":"a1c67fe1-2dec-4858-999c-27d06b2b3590","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/order/:id","host":["localhost:8000"],"path":["api","v1","order",":id"],"variable":[{"key":"id","value":"d97ba9a9-81e3-4b5c-9892-2506fd5c7edb","description":"id order"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 05:42:36 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"1ee6c017-3726-4986-b174-06d29f39d4d6","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/order/:id","host":["localhost:8000"],"path":["api","v1","order",":id"],"variable":[{"key":"id","value":"13950e9d-dd56-4186-b10b-4d02674385dd","description":"id order"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 09:14:44 GMT"},{"key":"Content-Length","value":"1425"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan detail pesanan\",\n    \"data\": {\n        \"id\": \"13950e9d-dd56-4186-b10b-4d02674385dd\",\n        \"id_order\": \"P00PRL002\",\n        \"address_id\": 1,\n        \"user_id\": 1,\n        \"voucher_id\": 1,\n        \"note\": \"Jangan sampai tumpah\",\n        \"grand_total_gram_plastic\": 20,\n        \"grand_total_exp\": 23,\n        \"grand_total_quantity\": 1,\n        \"grand_total_price\": 9000,\n        \"shipment_fee\": 24000,\n        \"admin_fees\": 2000,\n        \"grand_total_discount\": 1000,\n        \"total_amount_paid\": 35000,\n        \"order_status\": \"Menunggu Konfirmasi\",\n        \"payment_status\": \"Menunggu Konfirmasi\",\n        \"payment_method\": \"bank_transfer\",\n        \"extra_info\": \"\",\n        \"status_order_date\": \"2023-12-02T16:13:28+07:00\",\n        \"created_at\": \"2023-12-02T16:13:28+07:00\",\n        \"address\": {\n            \"id\": 1,\n            \"user_id\": 1,\n            \"accepted_name\": \"Taryo\",\n            \"phone\": \"0812376231\",\n            \"address\": \"Jalan merdeka\",\n            \"is_primary\": false\n        },\n        \"user\": {\n            \"id\": 1,\n            \"email\": \"user@gmail.com\",\n            \"phone\": \"08123412423\",\n            \"name\": \"Ini Anan\",\n            \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\"\n        },\n        \"voucher\": {\n            \"id\": 1,\n            \"name\": \"Hari Raya Disappear\",\n            \"code\": \"KUPON12SAS4312311\",\n            \"category\": \"All Customer\",\n            \"description\": \"Diskon RP10000 untuk semua produk\",\n            \"discount\": 10000,\n            \"min_purchase\": 100000\n        },\n        \"order_details\": [\n            {\n                \"id\": 14,\n                \"order_id\": \"13950e9d-dd56-4186-b10b-4d02674385dd\",\n                \"product_id\": 3,\n                \"quantity\": 1,\n                \"total_gram_plastic\": 20,\n                \"total_exp\": 23,\n                \"total_price\": 9000,\n                \"total_discount\": 1000,\n                \"product\": {\n                    \"id\": 3,\n                    \"name\": \"Alat Minum\",\n                    \"price\": 10000,\n                    \"discount\": 1000,\n                    \"gram_plastic\": 20,\n                    \"product_exp\": 23,\n                    \"product_photos\": null\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"36d6005f-f6a3-4f04-b306-a49058268d8d"},{"name":"Create Order","id":"2a744bfa-08ff-4956-ab57-e88817c4b84c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 1,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"product_id\": 2,\r\n    \"quantity\": 1,\r\n    \"payment_method\": \"bank_transfer\"\r\n     // payment method yang sudah di uji baru gopay, bank_transfer (permata va), qris, telegram, whatsapp\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","order"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"b59d589c-2f12-4e4f-ac41-f583d264cb65","name":"Failed Case: Stock Not Enough","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 1,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"product_id\": 1,\r\n    \"quantity\": 10000\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 05:47:43 GMT"},{"key":"Content-Length","value":"76"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal membuat pesanan: stok tidak mencukupi untuk pesanan ini\"\n}"},{"id":"54c18dd0-2db1-4cbd-8796-0fc766c924fd","name":"Failed Case: Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 1,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"product_id\": 1,\r\n    \"quantity\": 1\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 05:48:24 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"276b7b53-d3ef-408b-b008-a43b66fd3d68","name":"Failed Case: Product Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 1,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"product_id\": 5,\r\n    \"quantity\": 1\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 05:48:50 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal membuat pesanan: produk tidak ditemukan\"\n}"},{"id":"5916962e-066b-4571-b48b-69a1c37e3e2d","name":"Success Case: Gopay","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 1,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"product_id\": 3,\r\n    \"quantity\": 1,\r\n    \"payment_method\": \"telegram\"\r\n     // payment method yang sudah di uji baru gopay, permata, qris, telegram, whatsapp\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 07:32:22 GMT"},{"key":"Content-Length","value":"1552"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil membuat pesanan dengan payment gateway\",\n    \"data\": {\n        \"transaction_id\": \"97e76051-acb2-4471-b3d4-6efcf83174a8\",\n        \"order_id\": \"85ad62d8-0955-430c-9924-0fc7cf03f23c\",\n        \"gross_amount\": \"35000.00\",\n        \"payment_type\": \"gopay\",\n        \"transaction_time\": \"2023-12-02 14:32:22\",\n        \"transaction_status\": \"pending\",\n        \"fraud_status\": \"accept\",\n        \"masked_card\": \"\",\n        \"status_code\": \"201\",\n        \"bank\": \"\",\n        \"status_message\": \"GoPay transaction is created\",\n        \"approval_code\": \"\",\n        \"channel_response_code\": \"\",\n        \"channel_response_message\": \"\",\n        \"currency\": \"IDR\",\n        \"card_type\": \"\",\n        \"redirect_url\": \"\",\n        \"id\": \"\",\n        \"validation_messages\": null,\n        \"installment_term\": \"\",\n        \"eci\": \"\",\n        \"saved_token_id\": \"\",\n        \"saved_token_id_expired_at\": \"\",\n        \"point_redeem_amount\": 0,\n        \"point_redeem_quantity\": 0,\n        \"point_balance_amount\": \"\",\n        \"permata_va_number\": \"\",\n        \"va_numbers\": null,\n        \"bill_key\": \"\",\n        \"biller_code\": \"\",\n        \"acquirer\": \"\",\n        \"actions\": [\n            {\n                \"name\": \"generate-qr-code\",\n                \"method\": \"GET\",\n                \"url\": \"https://api.sandbox.midtrans.com/v2/gopay/97e76051-acb2-4471-b3d4-6efcf83174a8/qr-code\",\n                \"fields\": null\n            },\n            {\n                \"name\": \"deeplink-redirect\",\n                \"method\": \"GET\",\n                \"url\": \"https://simulator.sandbox.midtrans.com/gopay/partner/app/payment-pin?id=b55b6f13-d6a6-4664-9b9c-be0695a347f2\",\n                \"fields\": null\n            },\n            {\n                \"name\": \"get-status\",\n                \"method\": \"GET\",\n                \"url\": \"https://api.sandbox.midtrans.com/v2/97e76051-acb2-4471-b3d4-6efcf83174a8/status\",\n                \"fields\": null\n            },\n            {\n                \"name\": \"cancel\",\n                \"method\": \"POST\",\n                \"url\": \"https://api.sandbox.midtrans.com/v2/97e76051-acb2-4471-b3d4-6efcf83174a8/cancel\",\n                \"fields\": null\n            }\n        ],\n        \"payment_code\": \"\",\n        \"store\": \"\",\n        \"qr_string\": \"\",\n        \"on_us\": false,\n        \"three_ds_version\": \"\",\n        \"expiry_time\": \"2023-12-02 14:47:22\"\n    }\n}"},{"id":"3a38889d-caca-4df8-baa7-6748a726fc41","name":"Success Case: Telegram","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 1,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"product_id\": 3,\r\n    \"quantity\": 1,\r\n    \"payment_method\": \"telegram\"\r\n     // payment method yang sudah di uji baru gopay, permata, qris, telegram, whatsapp\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 09:07:14 GMT"},{"key":"Content-Length","value":"754"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil membuat pesanan, silahkan melakukan konfirmasi pembayaran\",\n    \"data\": {\n        \"id\": \"644ca467-985e-4888-a9f4-44066463ab9d\",\n        \"id_order\": \"P00PRL001\",\n        \"address_id\": 1,\n        \"user_id\": 1,\n        \"voucher_id\": 1,\n        \"note\": \"Jangan sampai tumpah\",\n        \"grand_total_gram_plastic\": 20,\n        \"grand_total_exp\": 23,\n        \"grand_total_quantity\": 1,\n        \"grand_total_price\": 9000,\n        \"shipment_fee\": 24000,\n        \"admin_fees\": 2000,\n        \"grand_total_discount\": 1000,\n        \"total_amount_paid\": 35000,\n        \"order_status\": \"Menunggu Konfirmasi\",\n        \"payment_status\": \"Menunggu Konfirmasi\",\n        \"payment_method\": \"telegram\",\n        \"created_at\": \"2023-12-02T16:07:14+07:00\",\n        \"order_details\": [\n            {\n                \"id\": 10,\n                \"order_id\": \"644ca467-985e-4888-a9f4-44066463ab9d\",\n                \"product_id\": 3,\n                \"quantity\": 1,\n                \"total_gram_plastic\": 20,\n                \"total_exp\": 23,\n                \"total_price\": 9000,\n                \"total_discount\": 1000\n            }\n        ]\n    }\n}"},{"id":"ff73a1b9-80d6-48a9-85bf-45447ed303e1","name":"Success Case QRIS","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 1,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"product_id\": 3,\r\n    \"quantity\": 1,\r\n    \"payment_method\": \"qris\"\r\n     // payment method yang sudah di uji baru gopay, permata, qris, telegram, whatsapp\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 09:09:32 GMT"},{"key":"Content-Length","value":"1357"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil membuat pesanan dengan payment gateway\",\n    \"data\": {\n        \"transaction_id\": \"030acf9c-6921-4c03-a450-1fd407c4335f\",\n        \"order_id\": \"584b966e-bfac-4e2f-a672-34ef9532db9f\",\n        \"gross_amount\": \"35000.00\",\n        \"payment_type\": \"qris\",\n        \"transaction_time\": \"2023-12-02 16:09:32\",\n        \"transaction_status\": \"pending\",\n        \"fraud_status\": \"accept\",\n        \"masked_card\": \"\",\n        \"status_code\": \"201\",\n        \"bank\": \"\",\n        \"status_message\": \"QRIS transaction is created\",\n        \"approval_code\": \"\",\n        \"channel_response_code\": \"\",\n        \"channel_response_message\": \"\",\n        \"currency\": \"IDR\",\n        \"card_type\": \"\",\n        \"redirect_url\": \"\",\n        \"id\": \"\",\n        \"validation_messages\": null,\n        \"installment_term\": \"\",\n        \"eci\": \"\",\n        \"saved_token_id\": \"\",\n        \"saved_token_id_expired_at\": \"\",\n        \"point_redeem_amount\": 0,\n        \"point_redeem_quantity\": 0,\n        \"point_balance_amount\": \"\",\n        \"permata_va_number\": \"\",\n        \"va_numbers\": null,\n        \"bill_key\": \"\",\n        \"biller_code\": \"\",\n        \"acquirer\": \"gopay\",\n        \"actions\": [\n            {\n                \"name\": \"generate-qr-code\",\n                \"method\": \"GET\",\n                \"url\": \"https://api.sandbox.midtrans.com/v2/qris/030acf9c-6921-4c03-a450-1fd407c4335f/qr-code\",\n                \"fields\": null\n            }\n        ],\n        \"payment_code\": \"\",\n        \"store\": \"\",\n        \"qr_string\": \"00020101021226620014COM.GO-JEK.WWW011993600914310927322430210G1092732240303UKE51440014ID.CO.QRIS.WWW0215AID9748595938690303UKE5204328253033605802ID5904Anan6014KONAWE SELATAN610593892540835000.006247503651240f2e-1dec-4350-a75a-e978ac1e68e80703A0163048802\",\n        \"on_us\": false,\n        \"three_ds_version\": \"\",\n        \"expiry_time\": \"2023-12-02 16:24:32\"\n    }\n}"},{"id":"50759cae-4611-41fb-8624-659a482b6c07","name":"Success Case: Va Permata","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 1,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"product_id\": 3,\r\n    \"quantity\": 1,\r\n    \"payment_method\": \"bank_transfer\"\r\n     // payment method yang sudah di uji baru gopay, bank_transfer (permata va), qris, telegram, whatsapp\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 09:13:36 GMT"},{"key":"Content-Length","value":"994"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil membuat pesanan dengan payment gateway\",\n    \"data\": {\n        \"transaction_id\": \"50d6b2d0-9b66-4799-b49d-13ae9c493770\",\n        \"order_id\": \"13950e9d-dd56-4186-b10b-4d02674385dd\",\n        \"gross_amount\": \"35000.00\",\n        \"payment_type\": \"bank_transfer\",\n        \"transaction_time\": \"2023-12-02 16:13:28\",\n        \"transaction_status\": \"pending\",\n        \"fraud_status\": \"accept\",\n        \"masked_card\": \"\",\n        \"status_code\": \"201\",\n        \"bank\": \"\",\n        \"status_message\": \"Success, PERMATA VA transaction is successful\",\n        \"approval_code\": \"\",\n        \"channel_response_code\": \"\",\n        \"channel_response_message\": \"\",\n        \"currency\": \"IDR\",\n        \"card_type\": \"\",\n        \"redirect_url\": \"\",\n        \"id\": \"\",\n        \"validation_messages\": null,\n        \"installment_term\": \"\",\n        \"eci\": \"\",\n        \"saved_token_id\": \"\",\n        \"saved_token_id_expired_at\": \"\",\n        \"point_redeem_amount\": 0,\n        \"point_redeem_quantity\": 0,\n        \"point_balance_amount\": \"\",\n        \"permata_va_number\": \"7320023029364966\",\n        \"va_numbers\": null,\n        \"bill_key\": \"\",\n        \"biller_code\": \"\",\n        \"acquirer\": \"\",\n        \"actions\": null,\n        \"payment_code\": \"\",\n        \"store\": \"\",\n        \"qr_string\": \"\",\n        \"on_us\": false,\n        \"three_ds_version\": \"\",\n        \"expiry_time\": \"2023-12-03 16:13:28\"\n    }\n}"}],"_postman_id":"2a744bfa-08ff-4956-ab57-e88817c4b84c"},{"name":"Create Order From Cart","id":"8f4adcc5-0001-4a61-af0a-39865c3dd1ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 2,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"payment_method\": \"bank_transfer\",\r\n   // payment method yang sudah di uji baru gopay, bank_transfer (permata va), qris, telegram, whatsapp\r\n    \"cart_items\": [\r\n        {\r\n            // id carts items\r\n            \"id\": 28\r\n        }\r\n        // {\r\n        //     // id carts items\r\n        //     \"id\": 22\r\n        // }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order/carts","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","order","carts"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"da9ba282-96e0-406c-86ec-be42efbf5fb2","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 2,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"cart_items\": [\r\n        {\r\n            // id carts items\r\n            \"id\": 8\r\n        },\r\n        {\r\n            // id carts items\r\n            \"id\": 9\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order/carts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 05:46:24 GMT"},{"key":"Content-Length","value":"925"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil membuat pesanan dari keranjang, silahkan melakukan konfirmasi pembayaran\",\n    \"data\": {\n        \"id\": \"a8d5faa1-d0bb-41cf-9130-e672bb9732e1\",\n        \"address_id\": 2,\n        \"user_id\": 1,\n        \"voucher_id\": 1,\n        \"note\": \"Jangan sampai tumpah\",\n        \"grand_total_gram_plastic\": 100,\n        \"grand_total_exp\": 151,\n        \"grand_total_quantity\": 5,\n        \"grand_total_price\": 740000,\n        \"shipment_fee\": 24000,\n        \"admin_fees\": 2000,\n        \"grand_total_discount\": 170000,\n        \"total_amount_paid\": 756000,\n        \"order_status\": \"Menunggu Konfirmasi\",\n        \"payment_status\": \"Menunggu Konfirmasi\",\n        \"payment_url\": \"\",\n        \"created_at\": \"2023-11-30T12:46:24.8675746+07:00\",\n        \"order_details\": [\n            {\n                \"id\": 9,\n                \"order_id\": \"a8d5faa1-d0bb-41cf-9130-e672bb9732e1\",\n                \"product_id\": 1,\n                \"quantity\": 3,\n                \"total_gram_plastic\": 60,\n                \"total_exp\": 105,\n                \"total_price\": 600000,\n                \"total_discount\": 150000\n            },\n            {\n                \"id\": 10,\n                \"order_id\": \"a8d5faa1-d0bb-41cf-9130-e672bb9732e1\",\n                \"product_id\": 2,\n                \"quantity\": 2,\n                \"total_gram_plastic\": 40,\n                \"total_exp\": 46,\n                \"total_price\": 140000,\n                \"total_discount\": 20000\n            }\n        ]\n    }\n}"},{"id":"c1958781-f3a5-46c3-a11c-16e8eb29af9c","name":"Failed Case: Cart Items Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 2,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"cart_items\": [\r\n        {\r\n            // id carts items\r\n            \"id\": 7\r\n        },\r\n        {\r\n            // id carts items\r\n            \"id\": 4\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order/carts"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 05:35:02 GMT"},{"key":"Content-Length","value":"92"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal membuat pesanan dari keranjang: gagal mendapatkan detail item keranjang\"\n}"},{"id":"7a7e181f-d98a-45e1-a391-a0e8cc6707d9","name":"Failed Case: Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 2,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"cart_items\": [\r\n        {\r\n            // id carts items\r\n            \"id\": 7\r\n        },\r\n        {\r\n            // id carts items\r\n            \"id\": 4\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order/carts"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 05:36:38 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"d32d0e5f-6b39-4150-8780-1251a56a313f","name":"Success Case: Gopay","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 1,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"product_id\": 3,\r\n    \"quantity\": 1,\r\n    \"payment_method\": \"telegram\"\r\n     // payment method yang sudah di uji baru gopay, permata, qris, telegram, whatsapp\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 07:32:22 GMT"},{"key":"Content-Length","value":"1552"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil membuat pesanan dengan payment gateway\",\n    \"data\": {\n        \"transaction_id\": \"97e76051-acb2-4471-b3d4-6efcf83174a8\",\n        \"order_id\": \"85ad62d8-0955-430c-9924-0fc7cf03f23c\",\n        \"gross_amount\": \"35000.00\",\n        \"payment_type\": \"gopay\",\n        \"transaction_time\": \"2023-12-02 14:32:22\",\n        \"transaction_status\": \"pending\",\n        \"fraud_status\": \"accept\",\n        \"masked_card\": \"\",\n        \"status_code\": \"201\",\n        \"bank\": \"\",\n        \"status_message\": \"GoPay transaction is created\",\n        \"approval_code\": \"\",\n        \"channel_response_code\": \"\",\n        \"channel_response_message\": \"\",\n        \"currency\": \"IDR\",\n        \"card_type\": \"\",\n        \"redirect_url\": \"\",\n        \"id\": \"\",\n        \"validation_messages\": null,\n        \"installment_term\": \"\",\n        \"eci\": \"\",\n        \"saved_token_id\": \"\",\n        \"saved_token_id_expired_at\": \"\",\n        \"point_redeem_amount\": 0,\n        \"point_redeem_quantity\": 0,\n        \"point_balance_amount\": \"\",\n        \"permata_va_number\": \"\",\n        \"va_numbers\": null,\n        \"bill_key\": \"\",\n        \"biller_code\": \"\",\n        \"acquirer\": \"\",\n        \"actions\": [\n            {\n                \"name\": \"generate-qr-code\",\n                \"method\": \"GET\",\n                \"url\": \"https://api.sandbox.midtrans.com/v2/gopay/97e76051-acb2-4471-b3d4-6efcf83174a8/qr-code\",\n                \"fields\": null\n            },\n            {\n                \"name\": \"deeplink-redirect\",\n                \"method\": \"GET\",\n                \"url\": \"https://simulator.sandbox.midtrans.com/gopay/partner/app/payment-pin?id=b55b6f13-d6a6-4664-9b9c-be0695a347f2\",\n                \"fields\": null\n            },\n            {\n                \"name\": \"get-status\",\n                \"method\": \"GET\",\n                \"url\": \"https://api.sandbox.midtrans.com/v2/97e76051-acb2-4471-b3d4-6efcf83174a8/status\",\n                \"fields\": null\n            },\n            {\n                \"name\": \"cancel\",\n                \"method\": \"POST\",\n                \"url\": \"https://api.sandbox.midtrans.com/v2/97e76051-acb2-4471-b3d4-6efcf83174a8/cancel\",\n                \"fields\": null\n            }\n        ],\n        \"payment_code\": \"\",\n        \"store\": \"\",\n        \"qr_string\": \"\",\n        \"on_us\": false,\n        \"three_ds_version\": \"\",\n        \"expiry_time\": \"2023-12-02 14:47:22\"\n    }\n}"},{"id":"5b457dbf-9865-4d0d-ae8f-f7341129d32c","name":"Success Case: Telegram","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 1,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"product_id\": 3,\r\n    \"quantity\": 1,\r\n    \"payment_method\": \"telegram\"\r\n     // payment method yang sudah di uji baru gopay, permata, qris, telegram, whatsapp\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 09:07:14 GMT"},{"key":"Content-Length","value":"754"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil membuat pesanan, silahkan melakukan konfirmasi pembayaran\",\n    \"data\": {\n        \"id\": \"644ca467-985e-4888-a9f4-44066463ab9d\",\n        \"id_order\": \"P00PRL001\",\n        \"address_id\": 1,\n        \"user_id\": 1,\n        \"voucher_id\": 1,\n        \"note\": \"Jangan sampai tumpah\",\n        \"grand_total_gram_plastic\": 20,\n        \"grand_total_exp\": 23,\n        \"grand_total_quantity\": 1,\n        \"grand_total_price\": 9000,\n        \"shipment_fee\": 24000,\n        \"admin_fees\": 2000,\n        \"grand_total_discount\": 1000,\n        \"total_amount_paid\": 35000,\n        \"order_status\": \"Menunggu Konfirmasi\",\n        \"payment_status\": \"Menunggu Konfirmasi\",\n        \"payment_method\": \"telegram\",\n        \"created_at\": \"2023-12-02T16:07:14+07:00\",\n        \"order_details\": [\n            {\n                \"id\": 10,\n                \"order_id\": \"644ca467-985e-4888-a9f4-44066463ab9d\",\n                \"product_id\": 3,\n                \"quantity\": 1,\n                \"total_gram_plastic\": 20,\n                \"total_exp\": 23,\n                \"total_price\": 9000,\n                \"total_discount\": 1000\n            }\n        ]\n    }\n}"},{"id":"129b8655-db92-4b80-8dc2-7340485a1d64","name":"Success Case QRIS","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 1,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"product_id\": 3,\r\n    \"quantity\": 1,\r\n    \"payment_method\": \"qris\"\r\n     // payment method yang sudah di uji baru gopay, permata, qris, telegram, whatsapp\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 09:09:32 GMT"},{"key":"Content-Length","value":"1357"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil membuat pesanan dengan payment gateway\",\n    \"data\": {\n        \"transaction_id\": \"030acf9c-6921-4c03-a450-1fd407c4335f\",\n        \"order_id\": \"584b966e-bfac-4e2f-a672-34ef9532db9f\",\n        \"gross_amount\": \"35000.00\",\n        \"payment_type\": \"qris\",\n        \"transaction_time\": \"2023-12-02 16:09:32\",\n        \"transaction_status\": \"pending\",\n        \"fraud_status\": \"accept\",\n        \"masked_card\": \"\",\n        \"status_code\": \"201\",\n        \"bank\": \"\",\n        \"status_message\": \"QRIS transaction is created\",\n        \"approval_code\": \"\",\n        \"channel_response_code\": \"\",\n        \"channel_response_message\": \"\",\n        \"currency\": \"IDR\",\n        \"card_type\": \"\",\n        \"redirect_url\": \"\",\n        \"id\": \"\",\n        \"validation_messages\": null,\n        \"installment_term\": \"\",\n        \"eci\": \"\",\n        \"saved_token_id\": \"\",\n        \"saved_token_id_expired_at\": \"\",\n        \"point_redeem_amount\": 0,\n        \"point_redeem_quantity\": 0,\n        \"point_balance_amount\": \"\",\n        \"permata_va_number\": \"\",\n        \"va_numbers\": null,\n        \"bill_key\": \"\",\n        \"biller_code\": \"\",\n        \"acquirer\": \"gopay\",\n        \"actions\": [\n            {\n                \"name\": \"generate-qr-code\",\n                \"method\": \"GET\",\n                \"url\": \"https://api.sandbox.midtrans.com/v2/qris/030acf9c-6921-4c03-a450-1fd407c4335f/qr-code\",\n                \"fields\": null\n            }\n        ],\n        \"payment_code\": \"\",\n        \"store\": \"\",\n        \"qr_string\": \"00020101021226620014COM.GO-JEK.WWW011993600914310927322430210G1092732240303UKE51440014ID.CO.QRIS.WWW0215AID9748595938690303UKE5204328253033605802ID5904Anan6014KONAWE SELATAN610593892540835000.006247503651240f2e-1dec-4350-a75a-e978ac1e68e80703A0163048802\",\n        \"on_us\": false,\n        \"three_ds_version\": \"\",\n        \"expiry_time\": \"2023-12-02 16:24:32\"\n    }\n}"},{"id":"64689696-cd37-4bba-b7c0-d617ca4c078c","name":"Success Case: Va Permata","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"address_id\": 1,\r\n    \"voucher_id\": 1,\r\n    \"note\": \"Jangan sampai tumpah\",\r\n    \"product_id\": 3,\r\n    \"quantity\": 1,\r\n    \"payment_method\": \"bank_transfer\"\r\n     // payment method yang sudah di uji baru gopay, bank_transfer (permata va), qris, telegram, whatsapp\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 09:13:36 GMT"},{"key":"Content-Length","value":"994"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil membuat pesanan dengan payment gateway\",\n    \"data\": {\n        \"transaction_id\": \"50d6b2d0-9b66-4799-b49d-13ae9c493770\",\n        \"order_id\": \"13950e9d-dd56-4186-b10b-4d02674385dd\",\n        \"gross_amount\": \"35000.00\",\n        \"payment_type\": \"bank_transfer\",\n        \"transaction_time\": \"2023-12-02 16:13:28\",\n        \"transaction_status\": \"pending\",\n        \"fraud_status\": \"accept\",\n        \"masked_card\": \"\",\n        \"status_code\": \"201\",\n        \"bank\": \"\",\n        \"status_message\": \"Success, PERMATA VA transaction is successful\",\n        \"approval_code\": \"\",\n        \"channel_response_code\": \"\",\n        \"channel_response_message\": \"\",\n        \"currency\": \"IDR\",\n        \"card_type\": \"\",\n        \"redirect_url\": \"\",\n        \"id\": \"\",\n        \"validation_messages\": null,\n        \"installment_term\": \"\",\n        \"eci\": \"\",\n        \"saved_token_id\": \"\",\n        \"saved_token_id_expired_at\": \"\",\n        \"point_redeem_amount\": 0,\n        \"point_redeem_quantity\": 0,\n        \"point_balance_amount\": \"\",\n        \"permata_va_number\": \"7320023029364966\",\n        \"va_numbers\": null,\n        \"bill_key\": \"\",\n        \"biller_code\": \"\",\n        \"acquirer\": \"\",\n        \"actions\": null,\n        \"payment_code\": \"\",\n        \"store\": \"\",\n        \"qr_string\": \"\",\n        \"on_us\": false,\n        \"three_ds_version\": \"\",\n        \"expiry_time\": \"2023-12-03 16:13:28\"\n    }\n}"}],"_postman_id":"8f4adcc5-0001-4a61-af0a-39865c3dd1ad"},{"name":"Get All Order User","id":"0f24dff6-559c-4acc-a380-7d37d6f035fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/order/by-users?order_status=menunggu konfirmasi","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","order","by-users"],"host":["localhost:8000"],"query":[{"description":{"content":"<p>ganti sesuai kebutuhan (Menunggu Konfirmasi, Proses, Pengiriman, Selesai, Gagal)</p>\n","type":"text/plain"},"key":"order_status","value":"menunggu konfirmasi"}],"variable":[]}},"response":[{"id":"79c9a1a3-ee91-4128-9d14-90004ec0317e","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/order/by-users?order_status=proses","host":["localhost:8000"],"path":["api","v1","order","by-users"],"query":[{"key":"order_status","value":"proses","description":"ganti sesuai kebutuhan (Menunggu Konfirmasi, Proses, Pengiriman, Selesai, Gagal)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 05 Dec 2023 05:09:39 GMT"},{"key":"Content-Length","value":"833"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan data order customer\",\n    \"data\": [\n        {\n            \"id\": \"0ac7900e-bc12-420f-9c9c-360baec89a56\",\n            \"id_order\": \"P00PRL001\",\n            \"user_id\": 1,\n            \"note\": \"Jangan sampai tumpah\",\n            \"total_amount_paid\": 35000,\n            \"order_status\": \"Proses\",\n            \"payment_status\": \"Konfirmasi\",\n            \"payment_method\": \"bank_transfer\",\n            \"extra_info\": \"\",\n            \"status_order_date\": \"2023-12-02T16:23:04+07:00\",\n            \"created_at\": \"2023-12-02T16:23:04+07:00\",\n            \"order_details\": [\n                {\n                    \"id\": 1,\n                    \"order_id\": \"0ac7900e-bc12-420f-9c9c-360baec89a56\",\n                    \"product_id\": 1,\n                    \"quantity\": 1,\n                    \"total_gram_plastic\": 20,\n                    \"total_exp\": 23,\n                    \"total_price\": 9000,\n                    \"total_discount\": 1000,\n                    \"product\": {\n                        \"id\": 1,\n                        \"name\": \"Botol Minum\",\n                        \"price\": 250000,\n                        \"discount\": 50000,\n                        \"gram_plastic\": 20,\n                        \"product_exp\": 35,\n                        \"product_photos\": [\n                            {\n                                \"id\": 1,\n                                \"product_id\": 1,\n                                \"url\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701162429/disappear/alky9wemgaqgetgmr2pw.png\"\n                            }\n                        ]\n                    }\n                }\n            ]\n        }\n    ]\n}"},{"id":"9c6cc3c2-3797-4f23-9fb4-7d0711d45f21","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/order/by-users?order_status=proses","host":["localhost:8000"],"path":["api","v1","order","by-users"],"query":[{"key":"order_status","value":"proses","description":"ganti sesuai kebutuhan (Menunggu Konfirmasi, Proses, Pengiriman, Selesai, Gagal)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 05 Dec 2023 05:10:03 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"0f24dff6-559c-4acc-a380-7d37d6f035fb"},{"name":"Accept Order","id":"ba58b4fa-d949-482f-bea9-b79acd6c6e41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"localhost:8000/api/v1/order/accept-order/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","order","accept-order",":id"],"host":["localhost:8000"],"query":[],"variable":[{"type":"any","value":"147d86ca-6240-40c4-8f3c-d4cb61cb69de","key":"id"}]}},"response":[{"id":"0fb829f1-b34e-449b-9cdf-dd1ba4e2e06f","name":"Success Case","originalRequest":{"method":"PUT","header":[],"url":{"raw":"localhost:8000/api/v1/order/accept-order/:id","host":["localhost:8000"],"path":["api","v1","order","accept-order",":id"],"variable":[{"key":"id","value":"bc306df7-4681-4bee-9164-ecbe221e4c8a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 05 Dec 2023 07:31:06 GMT"},{"key":"Content-Length","value":"46"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mengkonfirmasi pesanan\"\n}"},{"id":"271266f9-dd1f-40fc-b70c-1fe99edd1d68","name":"Failed Case: Order Not Found","originalRequest":{"method":"PUT","header":[],"url":{"raw":"localhost:8000/api/v1/order/accept-order/:id","host":["localhost:8000"],"path":["api","v1","order","accept-order",":id"],"variable":[{"key":"id","value":"bc306df7-4681-4bee-9164-ecbe221e4c8aa"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 05 Dec 2023 07:32:58 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mengkonfirmasi pesanan: pesanan tidak ditemukan\"\n}"},{"id":"2ca3434c-c9eb-4012-844b-b4c9124c117d","name":"Failed Case: Unauthorized","originalRequest":{"method":"PUT","header":[],"url":{"raw":"localhost:8000/api/v1/order/accept-order/:id","host":["localhost:8000"],"path":["api","v1","order","accept-order",":id"],"variable":[{"key":"id","value":"bc306df7-4681-4bee-9164-ecbe221e4c8a"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 05 Dec 2023 07:37:25 GMT"},{"key":"Content-Length","value":"66"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token tidak valid Token is expired\"\n}"}],"_postman_id":"ba58b4fa-d949-482f-bea9-b79acd6c6e41"},{"name":"Tracking Order","id":"4bb846b5-dfcf-4486-967b-6462aa6c080b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.disappear-organization.my.id/api/v1/order/track?courier=jne&awb=582230008329223","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","order","track"],"host":["https://api.disappear-organization.my.id"],"query":[{"key":"courier","value":"jne"},{"key":"awb","value":"582230008329223"}],"variable":[]}},"response":[{"id":"bb3c7f50-76ce-4c6a-a173-77ac78e8f453","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/order/track?courier=jne&awb=582230008329223","host":["localhost:8000"],"path":["api","v1","order","track"],"query":[{"key":"courier","value":"jne"},{"key":"awb","value":"582230008329223"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 04 Dec 2023 12:53:29 GMT"},{"key":"Content-Length","value":"1203"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan kurir\",\n    \"data\": {\n        \"data\": {\n            \"detail\": {\n                \"destination\": \"SUKAJADI,BANDUNG\",\n                \"origin\": \"TASIKMALAYA\",\n                \"receiver\": \"JIAAN\",\n                \"shipper\": \"GAMA\"\n            },\n            \"history\": [\n                {\n                    \"date\": \"2023-11-22 13:44:00\",\n                    \"desc\": \"DELIVERED TO [BU DASE | 22-11-2023 13:44 | BANDUNG ]\",\n                    \"location\": \"\"\n                },\n                {\n                    \"date\": \"2023-11-22 10:08:00\",\n                    \"desc\": \"WITH DELIVERY COURIER  [BDO, UTARA DRIVER]\",\n                    \"location\": \"\"\n                },\n                {\n                    \"date\": \"2023-11-21 10:55:00\",\n                    \"desc\": \"RECEIVED AT WAREHOUSE [BDO, GEDE BAGE]\",\n                    \"location\": \"\"\n                },\n                {\n                    \"date\": \"2023-11-21 02:13:00\",\n                    \"desc\": \"RECEIVED AT ORIGIN GATEWAY  [TASIKMALAYA]\",\n                    \"location\": \"\"\n                },\n                {\n                    \"date\": \"2023-11-20 21:41:00\",\n                    \"desc\": \"PROCESSED AT SORTING CENTER [TSM, GUDANG OUTBOUND TUGUJAYA]\",\n                    \"location\": \"\"\n                },\n                {\n                    \"date\": \"2023-11-20 21:13:00\",\n                    \"desc\": \"RECEIVED AT SORTING CENTER [TASIKMALAYA]\",\n                    \"location\": \"\"\n                },\n                {\n                    \"date\": \"2023-11-20 18:24:00\",\n                    \"desc\": \"PICKED UP BY COURIER [TASIKMALAYA]\",\n                    \"location\": \"\"\n                },\n                {\n                    \"date\": \"2023-11-20 12:07:00\",\n                    \"desc\": \"SHIPMENT RECEIVED BY JNE COUNTER OFFICER AT [TASIKMALAYA]\",\n                    \"location\": \"\"\n                }\n            ],\n            \"summary\": {\n                \"amount\": \"\",\n                \"awb\": \"582230008329223\",\n                \"courier\": \"JNE Express\",\n                \"date\": \"2023-11-22 13:44:00\",\n                \"desc\": \"DOCUMENT\",\n                \"service\": \"YES\",\n                \"status\": \"DELIVERED\",\n                \"weight\": \"1 Kg\"\n            }\n        },\n        \"message\": \"Successfully tracked package\",\n        \"status\": 200\n    }\n}"}],"_postman_id":"4bb846b5-dfcf-4486-967b-6462aa6c080b"}],"id":"86048c82-f851-4eb0-8368-220dadae133e","_postman_id":"86048c82-f851-4eb0-8368-220dadae133e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}}},{"name":"Challenge","item":[{"name":"Get All Challenge","id":"43d7b79d-a3b9-4dc9-a842-10722df55fac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.disappear-organization.my.id/api/v1/challenges?page=1","urlObject":{"path":["api","v1","challenges"],"host":["https://api.disappear-organization.my.id"],"query":[{"description":{"content":"<p>halaman</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>pencarian</p>\n","type":"text/plain"},"key":"search","value":""},{"disabled":true,"description":{"content":"<p>kadaluwarsa, belum kadaluwarsa</p>\n","type":"text/plain"},"key":"status","value":"kadaluwarsa"}],"variable":[]}},"response":[{"id":"3c8f45b2-f653-443c-8320-9be2fd88fa20","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:43:49 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"0fd1d2e4-9f9d-4e42-bda3-984672213163","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/challenges?page=1&search=&status=kadaluwarsa","host":["localhost:8000"],"path":["api","v1","challenges"],"query":[{"key":"page","value":"1","description":"halaman"},{"key":"search","value":"","description":"pencarian"},{"key":"status","value":"kadaluwarsa","description":"kadaluwarsa, belum kadaluwarsa"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 14:11:37 GMT"},{"key":"Content-Length","value":"391"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan daftar tantangan\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"Tantangan menanam pohon\",\n            \"photo\": \"\",\n            \"start_date\": \"2023-12-20T19:05:45+07:00\",\n            \"end_date\": \"2024-12-20T19:05:45+07:00\",\n            \"description\": \"Tanamlah pohon saat kamu berjalan, bermeditasi, atau memasak.\",\n            \"status\": \"Kadaluwarsa\",\n            \"exp\": 100\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 1,\n        \"total_items\": 1,\n        \"next_page\": 1,\n        \"prev_page\": 1\n    }\n}"}],"_postman_id":"43d7b79d-a3b9-4dc9-a842-10722df55fac"},{"name":"Get Challenge By Id","id":"f0f1a8a3-7928-4087-badd-befdd88002d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Post Ig","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/bibi/Pictures/butterfly.jpg"},{"key":"start_date","value":"2023-11-14T17:05:44.664+07:00","type":"text"},{"key":"end_date","value":"2023-11-18T19:05:44.664+07:00","type":"text"},{"key":"description","value":"Mari Go Green","type":"text"},{"key":"exp","value":"100","type":"text"}]},"url":"http://localhost:8000/api/v1/challenges/7","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","challenges","7"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"7128db3e-2f90-4805-90c5-4e97b4e93455","name":"Succes Case: Get By Id","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/7"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:44:49 GMT"},{"key":"Content-Length","value":"357"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan detail tantangan\",\n    \"data\": {\n        \"id\": 7,\n        \"title\": \"Post empat\",\n        \"photo\": \"https://res.cloudinary.com/djcejypm1/image/upload/v1701250079/disappear/mssag3iynt5xxly8lgru.jpg\",\n        \"start_date\": \"2023-11-14T17:05:45+07:00\",\n        \"end_date\": \"2023-12-20T19:05:45+07:00\",\n        \"description\": \"Mari hijaukan sosial media\",\n        \"status\": \"Belum Kadaluwarsa\",\n        \"exp\": 50\n    }\n}"},{"id":"b5856edc-f73d-4f24-9352-81874601b10a","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/7"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:44:59 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"6af49406-a15f-4b00-9464-eac39e6795e7","name":"Failed Case: Not Found","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/30"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:45:16 GMT"},{"key":"Content-Length","value":"76"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan detail tantangan: tantangan tidak ditemukan\"\n}"},{"id":"dcdc5f48-97ba-40a3-bd37-8d1349ff5c18","name":"Failed Case: Bad Request","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/8gfg"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:45:57 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format ID yang Anda masukkan tidak sesuai\"\n}"}],"_postman_id":"f0f1a8a3-7928-4087-badd-befdd88002d3"},{"name":"Create Submit Form Challenge","id":"406feab5-0e44-4104-a742-0007a3e55f52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"challenge_id","value":"21","type":"text"},{"key":"username","value":"mijanmijan","type":"text"},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/ASUS/Downloads/Challenge.png"],"src":"/C:/Users/ASUS/Downloads/Challenge.png"}]},"url":"https://api.disappear-organization.my.id/api/v1/challenges/submit","urlObject":{"path":["api","v1","challenges","submit"],"host":["https://api.disappear-organization.my.id"],"query":[],"variable":[]}},"response":[{"id":"06b4b36b-4123-4669-be35-4ddb4b54ce5e","name":"Succes Case: Created Submit Form Challenge","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"challenge_id","value":"1","type":"text"},{"key":"username","value":"iniusers","type":"text"},{"key":"photo","type":"file","src":["/C:/Users/bibi/Pictures/butterfly.jpg"]}]},"url":"http://localhost:8000/api/v1/challenges/submit"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:53:54 GMT"},{"key":"Content-Length","value":"313"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mengikuti tantangan\",\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 2,\n        \"challenge_id\": 1,\n        \"username\": \"iniusers\",\n        \"photo\": \"https://res.cloudinary.com/djcejypm1/image/upload/v1701254638/disappear/ayur02dewx0qh21goewq.jpg\",\n        \"status\": \"menunggu validasi\",\n        \"exp\": 100,\n        \"tanggal_berpartisipasi\": \"2023-11-29T16:53:54.839+07:00\"\n    }\n}"},{"id":"44e2befb-20e0-42c8-84b7-c9d6e08dd4b4","name":"Failed Case: Done Submit Form","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"challenge_id","value":"1","type":"text"},{"key":"username","value":"iniusers","type":"text"},{"key":"photo","type":"file","src":["/C:/Users/bibi/Pictures/butterfly.jpg"]}]},"url":"http://localhost:8000/api/v1/challenges/submit"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:55:14 GMT"},{"key":"Content-Length","value":"84"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mengikuti tantangan: Anda sudah submit challenge ini sebelumnya\"\n}"},{"id":"4ac1da8f-2c4c-44f5-b416-5dabe2798156","name":"Failed Case: Challenge Kadaluwarsa","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"challenge_id","value":"2","type":"text"},{"key":"username","value":"iniusers","type":"text"},{"key":"photo","type":"file","src":["/C:/Users/bibi/Pictures/butterfly.jpg"]}]},"url":"http://localhost:8000/api/v1/challenges/submit"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:58:23 GMT"},{"key":"Content-Length","value":"89"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mengikuti tantangan: Tantangan sudah kadaluwarsa, tidak dapat submit\"\n}"},{"id":"8d8ca12b-8069-4a9a-948b-9d3cbd4aa3c0","name":"Failed Case: Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"challenge_id","value":"2","type":"text"},{"key":"username","value":"iniusers","type":"text"},{"key":"photo","type":"file","src":["/C:/Users/bibi/Pictures/butterfly.jpg"]}]},"url":"http://localhost:8000/api/v1/challenges/submit"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:58:55 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"8661c814-4954-490f-beeb-59247c7467db","name":"Failed Case: Admin Can't Submit Form","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"challenge_id","value":"2","type":"text"},{"key":"username","value":"iniusers","type":"text"},{"key":"photo","type":"file","src":["/C:/Users/bibi/Pictures/butterfly.jpg"]}]},"url":"http://localhost:8000/api/v1/challenges/submit"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:59:41 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"d2801567-114f-46cb-a31f-422eea7be875","name":"Failed Case: Challenge Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"challenge_id","value":"40","type":"text"},{"key":"username","value":"iniusers","type":"text"},{"key":"photo","type":"file","src":["/C:/Users/bibi/Pictures/butterfly.jpg"]}]},"url":"http://localhost:8000/api/v1/challenges/submit"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:00:34 GMT"},{"key":"Content-Length","value":"79"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan informasi tantangan: tantangan tidak ditemukan\"\n}"}],"_postman_id":"406feab5-0e44-4104-a742-0007a3e55f52"}],"id":"e5a764eb-0f25-4186-aee4-198eac25edcb","_postman_id":"e5a764eb-0f25-4186-aee4-198eac25edcb","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}}},{"name":"Assistant","item":[{"name":"Get Chat","id":"be2a41e6-dfce-430e-9d1c-39c53b048926","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/assistant","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","assistant"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"be2a41e6-dfce-430e-9d1c-39c53b048926"},{"name":"Create Question","id":"448bed04-6b41-4d56-b7b4-d2c2e4472abc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\":\"kamu adalah chatbot bertema lingkungan kan!, apa saja hal yang harus saya lakukan untuk menjaga lingkungan di dunia ini?\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/assistant/question","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","assistant","question"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"448bed04-6b41-4d56-b7b4-d2c2e4472abc"},{"name":"Create Answer","id":"3461100e-a331-4ff6-90e6-a93d38067d26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n   \"text\":\"kamu adalah chatbot bertema lingkungan kan!, apa saja hal yang harus saya lakukan untuk menjaga lingkungan di dunia ini?\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/assistant/answer","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","assistant","answer"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"3461100e-a331-4ff6-90e6-a93d38067d26"},{"name":"Product Recomendeation AI","id":"f2aba406-bc63-470e-a4f4-3fbf46816cde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/assistant/product","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","assistant","product"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2aba406-bc63-470e-a4f4-3fbf46816cde"}],"id":"562fb56d-5876-4a68-8eed-e5dfada1c512","_postman_id":"562fb56d-5876-4a68-8eed-e5dfada1c512","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}}},{"name":"Article","item":[{"name":"Get Personalize Article","id":"f243a510-96a5-4ab2-9116-3fc60a86c1b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/articles/preferences?page=1&filter=abjad","urlObject":{"path":["api","v1","articles","preferences"],"host":["localhost:8000"],"query":[{"key":"page","value":"1"},{"key":"filter","value":"abjad"}],"variable":[]}},"response":[{"id":"c7395ad1-5240-49ae-a410-8a50cedc147e","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/v1/articles/preferences?views_sorting=asc&title_sorting=desc&oldest_sorting","host":["localhost:8000"],"path":["api","v1","articles","preferences"],"query":[{"key":"views_sorting","value":"asc","description":"views dari yang terkecil asc, dari yang terbanyak desc"},{"key":"title_sorting","value":"desc","description":"acs dari a ke z, desc dari z ke a"},{"key":"oldest_sorting","value":null}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 06 Dec 2023 05:48:02 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"303705d1-e1c1-48bc-b34d-335332e21d39","name":"Success Case","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/v1/articles/preferences?page=1&filter=terbanyak","host":["localhost:8000"],"path":["api","v1","articles","preferences"],"query":[{"key":"page","value":"1","description":"halaman"},{"key":"filter","value":"terbanyak","description":"abjad, terbanyak, terlama"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Fri, 08 Dec 2023 06:27:09 GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan artikel berdasarkan filter\",\n    \"data\": [\n        {\n            \"id\": 3,\n            \"title\": \"Makan Enak Pake Ayam\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-12-30T20:35:11+07:00\",\n            \"views\": 102\n        },\n        {\n            \"id\": 4,\n            \"title\": \"Judul 1\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 5,\n            \"title\": \"Judul 2\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 7,\n            \"title\": \"Empat\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 8,\n            \"title\": \"Limat\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 9,\n            \"title\": \"Enam\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 1,\n            \"title\": \"Berapa Banyak Sampah Plastik yang Ada di Lautan?\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 10\n        },\n        {\n            \"id\": 6,\n            \"title\": \"Judul 3\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 10\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 2,\n        \"total_items\": 9,\n        \"next_page\": 2,\n        \"prev_page\": 1\n    }\n}"}],"_postman_id":"f243a510-96a5-4ab2-9116-3fc60a86c1b8"},{"name":"Get Other Article","id":"8c25f3ca-0bae-4b88-8df0-7d548207a000","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/articles/other-article","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","articles","other-article"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"ddb07a5b-d530-44d0-abc8-3e4a5443f240","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/articles/other-article"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 06 Dec 2023 05:48:02 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"854a67a2-508b-4b30-9635-21f10372bf3e","name":"Success Case","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/articles/other-article"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 06 Dec 2023 09:47:34 GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan artikel lainnya:\",\n    \"data\": [\n        {\n            \"id\": 17,\n            \"title\": \"Makan Enak Pake Ayam\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 3,\n            \"title\": \"Makan Enak Pake Ayam\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 4,\n            \"title\": \"Makan Enak Pake Ayam\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 5,\n            \"title\": \"Makan Enak Pake Ayam\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 8,\n            \"title\": \"Makan Enak Pake Ayam\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        }\n    ]\n}"}],"_postman_id":"8c25f3ca-0bae-4b88-8df0-7d548207a000"},{"name":"Get Lastest Article","id":"f3e78e1f-77f5-40a7-9711-a0debb43a48f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/articles/latest-article","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","articles","latest-article"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"df38db2b-dbe7-4e03-abd4-497842b63e07","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/articles/latest-article"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 06 Dec 2023 05:48:02 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"46cb8a29-cfb2-4b98-ae8b-1cf1415ac9df","name":"Success Case","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/articles/latest-article"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 06 Dec 2023 09:51:56 GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan artikel terbaru:\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"Berapa Banyak Sampah Plastik yang Ada di Lautan?\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 10\n        },\n        {\n            \"id\": 3,\n            \"title\": \"Makan Enak Pake Ayam\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 4,\n            \"title\": \"Makan Enak Pake Ayam\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 5,\n            \"title\": \"Makan Enak Pake Ayam\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 6,\n            \"title\": \"Berapa Banyak Sampah Plastik yang Ada di Lautan?\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 10\n        }\n    ]\n}"}],"_postman_id":"f3e78e1f-77f5-40a7-9711-a0debb43a48f"},{"name":"Get Article By ID","id":"7ddc9359-a3b1-438b-9e5a-01f9826265e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/articles/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","articles",":id"],"host":["localhost:8000"],"query":[],"variable":[{"type":"any","value":"4","key":"id"}]}},"response":[{"id":"eda569bd-3274-48e8-a622-a7784cb4b4cc","name":"Succes Case: Get Article By ID","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/articles/:id","host":["localhost:8000"],"path":["api","v1","articles",":id"],"variable":[{"key":"id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 05:22:47 GMT"},{"key":"Content-Length","value":"326"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan detail artikel\",\n    \"data\": {\n        \"id\": 4,\n        \"title\": \"Sejak memasuki tahun 2022, produksi plastik naik 15%\",\n        \"photo\": \"\",\n        \"content\": \"Studi baru tentang dampak sampah plastik yang mencemari lautan ini telah diterbitkan dalam jurnal PLOS ONE.\",\n        \"author\": \"DISAPPEAR\",\n        \"date\": \"2023-12-11T11:49:35+07:00\",\n        \"views\": 3\n    }\n}"},{"id":"fa7b6a04-e0ff-4371-9f0c-f242ccc3c9a9","name":"Failed Case: Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/articles/:id","host":["localhost:8000"],"path":["api","v1","articles",":id"],"variable":[{"key":"id","value":"10"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 05:23:12 GMT"},{"key":"Content-Length","value":"90"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan detail artikel: artikel tidak ditemukan: record not found\"\n}"},{"id":"b8be6796-0cb8-4c3a-9da1-f21c195aa022","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/articles/:id","host":["localhost:8000"],"path":["api","v1","articles",":id"],"variable":[{"key":"id","value":"4"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 05:23:41 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"7ddc9359-a3b1-438b-9e5a-01f9826265e1"},{"name":"Get Bookmark Article User","id":"2d619e5c-a4c1-4be0-bbcc-b3dae31d7d69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/articles/bookmark","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","articles","bookmark"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"6c36cf48-6e99-44e8-a1ce-14ec45209c7c","name":"Succes Case: Get Bookmark Article User","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/articles/bookmark"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 05:05:08 GMT"},{"key":"Content-Length","value":"996"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan data artikel tersimpan user\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"user_id\": 7,\n            \"article_id\": 4,\n            \"article\": {\n                \"title\": \"Sejak memasuki tahun 2022, produksi plastik naik 15%\",\n                \"photo\": \"\",\n                \"content\": \"Studi baru tentang dampak sampah plastik yang mencemari lautan ini telah diterbitkan dalam jurnal PLOS ONE.\",\n                \"author\": \"DISAPPEAR\",\n                \"date\": \"2023-12-11T11:49:35+07:00\",\n                \"views\": 2\n            }\n        },\n        {\n            \"id\": 2,\n            \"user_id\": 7,\n            \"article_id\": 5,\n            \"article\": {\n                \"title\": \"Sejak memasuki tahun 2022, produksi plastik naik 15%\",\n                \"photo\": \"\",\n                \"content\": \"Studi baru tentang dampak sampah plastik yang mencemari lautan ini telah diterbitkan dalam jurnal PLOS ONE.\",\n                \"author\": \"DISAPPEAR\",\n                \"date\": \"2023-12-11T11:50:04+07:00\",\n                \"views\": 0\n            }\n        },\n        {\n            \"id\": 3,\n            \"user_id\": 7,\n            \"article_id\": 6,\n            \"article\": {\n                \"title\": \"Sejak memasuki tahun 2022, produksi plastik naik 15%\",\n                \"photo\": \"\",\n                \"content\": \"Studi baru tentang dampak sampah plastik yang mencemari lautan ini telah diterbitkan dalam jurnal PLOS ONE.\",\n                \"author\": \"DISAPPEAR\",\n                \"date\": \"2023-12-11T11:54:06+07:00\",\n                \"views\": 0\n            }\n        }\n    ]\n}"},{"id":"e904b33a-291a-4361-aeb6-2c452b6164ad","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/articles/bookmark"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 05:21:40 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"2d619e5c-a4c1-4be0-bbcc-b3dae31d7d69"},{"name":"Bookmark Articles","id":"71721be2-e4d0-4d1d-8b85-94410f6db4ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"article_id\":6\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/articles/bookmark","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","articles","bookmark"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"79a59e66-ed18-43a6-aa97-17a01cfca425","name":"Succes Case: Bookmark","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"article_id\":4\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/articles/bookmark"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 05:01:26 GMT"},{"key":"Content-Length","value":"41"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menyimpan artikel\"\n}"},{"id":"b19333a8-5380-476f-8d06-29a60e1eab28","name":"Failed Case: Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"article_id\":10\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/articles/bookmark"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 05:01:59 GMT"},{"key":"Content-Length","value":"63"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menyimpan artikel: artikel tidak ditemukan\"\n}"},{"id":"8f6f40d0-c54e-4c28-9c01-e44186e914ba","name":"Failed Case: Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"article_id\":5\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/articles/bookmark"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 05:03:34 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"71721be2-e4d0-4d1d-8b85-94410f6db4ce"},{"name":"Delete Bookmark Articles","id":"099144cd-aab5-4778-b58b-861200fe181c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:8000/api/v1/articles/bookmark/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","articles","bookmark",":id"],"host":["localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>Id Article</p>\n","type":"text/plain"},"type":"any","value":"5","key":"id"}]}},"response":[{"id":"c5e52a95-6aca-4fa8-9dd2-07aa8a402ed0","name":"Succes Case","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/articles/bookmark/:id","host":["localhost:8000"],"path":["api","v1","articles","bookmark",":id"],"variable":[{"key":"id","value":"5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 05:21:01 GMT"},{"key":"Content-Length","value":"51"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menghapus artikel tersimpan\"\n}"},{"id":"658b5450-4828-4182-a46d-08dcfb0503e9","name":"Failed Case: Not Found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/articles/bookmark/:id","host":["localhost:8000"],"path":["api","v1","articles","bookmark",":id"],"variable":[{"key":"id","value":"6"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 05:20:29 GMT"},{"key":"Content-Length","value":"73"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menghapus artikel tersimpan: artikel tidak ditemukan\"\n}"}],"_postman_id":"099144cd-aab5-4778-b58b-861200fe181c"}],"id":"ae2e7f6c-db07-4f1a-bba6-f624c4f459c8","_postman_id":"ae2e7f6c-db07-4f1a-bba6-f624c4f459c8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}}},{"name":"Homepage","item":[{"name":"Get Carousel, Category, Product","id":"473984ea-ce77-458f-8903-a2ff65f08579","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/homepage/content","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","homepage","content"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"7474dc4f-f39d-423a-b1b4-8d1000c50615","name":"Failed Case: Unathorized","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/home/best-product"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 02:46:43 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"58885fe2-e848-4e5d-9c99-0f9faf8abe85","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/homepage/content"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 09 Dec 2023 06:24:01 GMT"},{"key":"Content-Length","value":"1745"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan konten halaman utama\",\n    \"data\": {\n        \"carousel\": [\n            {\n                \"id\": 2,\n                \"name\": \"New Product\",\n                \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701159404/disappear/agcahgjpn5zvmcake9z8.png\"\n            },\n            {\n                \"id\": 3,\n                \"name\": \"Best Seller Product\",\n                \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701159577/disappear/rohilcy31sg6nupjojsj.png\"\n            },\n            {\n                \"id\": 4,\n                \"name\": \"Lets plant tree\",\n                \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701180613/disappear/fzg4auxmvqtdutomqxer.png\"\n            }\n        ],\n        \"category\": [\n            {\n                \"id\": 1,\n                \"name\": \"Tas\",\n                \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701158741/disappear/xvthfeligb43vso6zhk8.png\",\n                \"total_product\": 1\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Alat Makan\",\n                \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701158783/disappear/dqe45qxd0aszg7axer1b.png\",\n                \"total_product\": 0\n            },\n            {\n                \"id\": 4,\n                \"name\": \"Alat Minum\",\n                \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701158989/disappear/z6kzccbfu6bzbgufuv44.png\",\n                \"total_product\": 6\n            }\n        ],\n        \"product\": [\n            {\n                \"id\": 3,\n                \"name\": \"Alat Minum\",\n                \"rating\": 0,\n                \"price\": 10000,\n                \"photos\": {\n                    \"id\": 2,\n                    \"product_id\": 3,\n                    \"url\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701162439/disappear/zj2bfudtgj6bixxuwz6w.png\"\n                }\n            },\n            {\n                \"id\": 4,\n                \"name\": \"Tas\",\n                \"rating\": 0,\n                \"price\": 1000,\n                \"photos\": {\n                    \"id\": 4,\n                    \"product_id\": 4,\n                    \"url\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701162439/disappear/zj2bfudtgj6bixxuwz6w.png\"\n                }\n            },\n            {\n                \"id\": 1,\n                \"name\": \"Botol Minum\",\n                \"rating\": 3.8,\n                \"price\": 250000,\n                \"photos\": {\n                    \"id\": 1,\n                    \"product_id\": 1,\n                    \"url\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701162429/disappear/alky9wemgaqgetgmr2pw.png\"\n                }\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Alat Makan\",\n                \"rating\": 5,\n                \"price\": 80000,\n                \"photos\": {\n                    \"id\": 5,\n                    \"product_id\": 2,\n                    \"url\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701162439/disappear/zj2bfudtgj6bixxuwz6w.png\"\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"473984ea-ce77-458f-8903-a2ff65f08579"},{"name":"Get Blog Post","id":"ca2fd513-e538-4086-86a6-33f3fd7a15d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/homepage/blog-posts","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","homepage","blog-posts"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"4b42e05b-d1f4-4159-890d-6574d90510e8","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/homepage/blog-posts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 04:33:02 GMT"},{"key":"Content-Length","value":"635"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan konten halaman utama\",\n    \"data\": {\n        \"challenge\": [\n            {\n                \"id\": 2,\n                \"title\": \"Tantangan menanam pohon\",\n                \"photo\": \"\",\n                \"exp\": 100\n            }\n        ],\n        \"articles\": [\n            {\n                \"id\": 1,\n                \"title\": \"Berapa Banyak Sampah Plastik yang Ada di Lautan?\",\n                \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n                \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n                \"authors\": \"DISAPPEAR\",\n                \"views\": 0,\n                \"created_at\": \"2023-11-30T20:35:11+07:00\"\n            }\n        ]\n    }\n}"},{"id":"874a79cf-9aba-4050-8019-a0d1f784a6f2","name":"Failed Case: Unathorized","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/homepage/blog-posts"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 04:33:54 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"ca2fd513-e538-4086-86a6-33f3fd7a15d9"}],"id":"1934d5e4-3776-47b3-935c-55fe18889d9b","_postman_id":"1934d5e4-3776-47b3-935c-55fe18889d9b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}}},{"name":"Notification Fcm","item":[{"name":"Get Notification","id":"10f9086e-63bf-4304-83ec-88b968b2a20c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/fcm/users","description":"<p>This endpoint makes an HTTP GET request to retrieve a list of notifications for users. The response will include a message and an array of data objects, each containing an ID, user ID, title, and body of the notification.</p>\n<p>Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil mendapatkan daftar notifikasi by id user\",\n    \"data\": [\n        {\n            \"id\": 10,\n            \"user_id\": 1,\n            \"title\": \"Status Pembayaran\",\n            \"body\": \"Alloo, Ini Anan! Pesananmu dengan ID P00PRL032 udah berhasil dibuat, nih. Ditunggu yupp!!\"\n        },\n        {\n            \"id\": 11,\n            \"user_id\": 1,\n            \"title\": \"Status Pembayaran\",\n            \"body\": \"Thengkyuu, Ini Anan! Pembayaran untuk pesananmu dengan ID P00PRL032 udah kami terima, nih. Semoga harimu menyenangkan!\"\n        },\n        {\n            \"id\": 12,\n            \"user_id\": 1,\n            \"title\": \"Status Pengiriman\",\n            \"body\": \"Alloo, Ini Anan! Pesanan dengan ID P00PRL032 udah dalam proses pengiriman, nih. Mohon ditunggu yupp!\"\n        },\n        {\n            \"id\": 13,\n            \"user_id\": 1,\n            \"title\": \"Status Pengiriman\",\n            \"body\": \"Yeayy, Ini Anan! Pesananmu dengan ID P00PRL032 udah sampai tujuan, nih. Semoga sukakk yupp!\"\n        }\n    ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}},"urlObject":{"path":["api","v1","fcm","users"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"89ed8665-0b82-4159-9035-88c37ef4c337","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/fcm/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 12 Dec 2023 15:46:19 GMT"},{"key":"Content-Length","value":"711"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan daftar notifikasi by id user\",\n    \"data\": [\n        {\n            \"id\": 10,\n            \"user_id\": 1,\n            \"title\": \"Status Pembayaran\",\n            \"body\": \"Alloo, Ini Anan! Pesananmu dengan ID P00PRL032 udah berhasil dibuat, nih. Ditunggu yupp!!\"\n        },\n        {\n            \"id\": 11,\n            \"user_id\": 1,\n            \"title\": \"Status Pembayaran\",\n            \"body\": \"Thengkyuu, Ini Anan! Pembayaran untuk pesananmu dengan ID P00PRL032 udah kami terima, nih. Semoga harimu menyenangkan!\"\n        },\n        {\n            \"id\": 12,\n            \"user_id\": 1,\n            \"title\": \"Status Pengiriman\",\n            \"body\": \"Alloo, Ini Anan! Pesanan dengan ID P00PRL032 udah dalam proses pengiriman, nih. Mohon ditunggu yupp!\"\n        },\n        {\n            \"id\": 13,\n            \"user_id\": 1,\n            \"title\": \"Status Pengiriman\",\n            \"body\": \"Yeayy, Ini Anan! Pesananmu dengan ID P00PRL032 udah sampai tujuan, nih. Semoga sukakk yupp!\"\n        }\n    ]\n}"}],"_postman_id":"10f9086e-63bf-4304-83ec-88b968b2a20c"}],"id":"eafb6db8-327d-4bfa-91a6-bdfa798eefa8","_postman_id":"eafb6db8-327d-4bfa-91a6-bdfa798eefa8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","name":"Customers","type":"folder"}}}],"id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9","description":"<h3 id=\"folder-customers\">Folder: Customers</h3>\n<p>Here, we provide a range of features designed specifically to ensure your experience with our services becomes better and more meaningful. From logging in and signing up to providing product reviews, discover ways to maximize the benefits from our services.</p>\n<ol>\n<li>Login and Register<br /> Description: Sign in to your account or register to create a new account. This provides access to special features and allows you to store your personal information.</li>\n<li>View News<br /> Description: Explore the latest news and information about our products and services. Stay connected with the most relevant updates tailored to your needs.</li>\n<li>Join Challenges<br /> Description: Participate in challenges and competitions to become part of our community. Enjoy extra benefits such as exclusive discounts or rewards.</li>\n<li>Purchase Products<br /> Description: Easily and conveniently buy products. A simple payment process and quick purchase confirmation for an enjoyable shopping experience.</li>\n<li>Edit Profile<br /> Description: Customize your profile information to align with your evolving needs and preferences. Stay organized and informed with an updated profile.</li>\n<li>View Leaderboard<br /> Description: Observe how well you and other community members perform in challenges or competitions. Compete and see your ranking rise!</li>\n<li>Get Discounts<br /> Description: Enjoy discounts and special offers using the vouchers we provide. Benefit from exclusive prices for your selected products.</li>\n<li>Give Reviews<br /> Description: Share your experience by providing reviews or ratings for the products you've purchased. Contribute your insights to the community and help other users make better decisions.</li>\n</ol>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"10ccc30f-5ca6-458e-bc18-3dffabade5e4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1085d2b1-9c20-4c54-a534-1c7d461c9621","type":"text/javascript","exec":[""]}}],"_postman_id":"673fd14d-5aa9-4ba4-8f48-b609161eddd9"},{"name":"Admin","item":[{"name":"Auth","item":[{"name":"Login","id":"e5633ed3-a330-4957-98fa-1cbd5f61ca69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"admin@gmail.com\",\r\n    \"password\": \"admin123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.disappear-organization.my.id/api/v1/auth/login","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","auth","login"],"host":["https://api.disappear-organization.my.id"],"query":[],"variable":[]}},"response":[{"id":"297cd2e3-f3ea-4965-9ffc-3ee31cd27fab","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan@mail.com\",\r\n    \"password\": \"admin123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Selamat datang!, Anda telah berhasil masuk.\", \n    \"data\": {\n        \"email\": \"anan@mail.com\",\n        \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTY0NzQ3MTYsImlhdCI6MTY5NjQwMjcxNiwiaWQiOiIxIn0.6ZJYggKo5pyMboEt7MNkAJ6UDa4DhvALYuIjGZEyvDE\"\n    }\n}"},{"id":"986795a5-2e11-4e7c-bf11-a9ffcd9ac3ce","name":"Login Using JSON","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test1@mail.com\",\r\n    \"password\": \"12313\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 02:39:49 GMT"},{"key":"Content-Length","value":"243"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Selamat datang!, Anda telah berhasil masuk.\",\n    \"data\": {\n        \"email\": \"test1@mail.com\",\n        \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTk0MTExODksImlhdCI6MTY5OTMyNDc4OSwicm9sZSI6ImN1c3RvbWVyIiwidXNlcl9pZCI6Nn0.SnsX-AJ5TP6ZJleBAFIVaZGiVE08Pr7l1yTv7j85Luo\"\n    }\n}"},{"id":"caa4a89c-e3f7-4370-a621-2d94147d919f","name":"Login Using form-data","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"test1@mail.com","type":"text"},{"key":"password","value":"admin123","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 02:39:49 GMT"},{"key":"Content-Length","value":"243"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Selamat datang!, Anda telah berhasil masuk.\",\n    \"data\": {\n        \"email\": \"test1@mail.com\",\n        \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTk0MTExODksImlhdCI6MTY5OTMyNDc4OSwicm9sZSI6ImN1c3RvbWVyIiwidXNlcl9pZCI6Nn0.SnsX-AJ5TP6ZJleBAFIVaZGiVE08Pr7l1yTv7j85Luo\"\n    }\n}"},{"id":"1ba3d1b9-4d63-46f7-9608-0487a89d07bf","name":"Failed Case Error Validating","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test2@mail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 02:27:49 GMT"},{"key":"Content-Length","value":"126"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validasi gagal: Key: 'LoginRequest.Password' Error:Field validation for 'Password' failed on the 'required' tag\"\n}"},{"id":"abf37676-e3f4-44fa-a102-670f0b41dbbd","name":"Failed Case User Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test2@mail.com\",\r\n    \"password\": \"admin123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 02:33:18 GMT"},{"key":"Content-Length","value":"39"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Pengguna tidak ditemukan\"\n}"},{"id":"b45b362a-9965-4736-b9e1-f1e9ffae44f1","name":"Failed Case Error Binding","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test2@mail.com\",\r\n    \"password\": 12313\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 02:34:20 GMT"},{"key":"Content-Length","value":"69"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format input yang Anda masukkan tidak sesuai.\"\n}"},{"id":"9d0a3d65-0c20-4bfe-853d-efc260feca20","name":"Failed Case Invalid Credential","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test1@mail.com\",\r\n    \"password\": \"12313\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 07 Nov 2023 02:38:23 GMT"},{"key":"Content-Length","value":"42"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Email atau kata sandi salah\"\n}"},{"id":"4b677e98-70af-4db0-8594-ba4ffc24895f","name":"Failed Case Account Not Verifed","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"anan.widi1@gmail.com\",\r\n    \"password\": \"admin123\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/auth/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 07:06:12 GMT"},{"key":"Content-Length","value":"43"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"akun anda belum diverifikasi\"\n}"}],"_postman_id":"e5633ed3-a330-4957-98fa-1cbd5f61ca69"}],"id":"370b4638-2a2a-4f67-9140-7bad724db4af","description":"<p>Autentikasi adalah proses verifikasi identitas pengguna untuk memberikan akses terkendali ke suatu sistem atau aplikasi. Dalam aplikasi ini autentikasi admin yaitu login.</p>\n<ol>\n<li><p><strong>Login:</strong></p>\n<ul>\n<li><strong>Endpoint</strong>: <code>/api/v1/auth/login</code></li>\n<li><strong>Metode HTTP</strong>: POST</li>\n<li><strong>Deskripsi</strong>: Menggunakan endpoint ini, admin dapat melakukan otentikasi dengan menyediakan kredensial (username dan password). Permintaan ini akan memberikan token akses sebagai tanggapan, yang nantinya digunakan untuk otorisasi akses ke sumber daya yang dilindungi.</li>\n</ul>\n</li>\n</ol>\n","_postman_id":"370b4638-2a2a-4f67-9140-7bad724db4af","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}}},{"name":"Category","item":[{"name":"Get All Category","id":"4afb1583-c9a9-4cbd-b7d0-c16d8f1a6fab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/categories?search","description":"<h1 id=\"get-categories\">Get Categories</h1>\n<p>This endpoint retrieves a list of categories along with the total number of products in each category.</p>\n<h2 id=\"request\">Request</h2>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>GET</code> localhost:8000/api/v1/categories</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>This request does not require a request body.</p>\n<h2 id=\"response\">Response</h2>\n<h3 id=\"success-200-ok\">Success 200 OK</h3>\n<p>The successful response will include a message, an array of category objects, and metadata for pagination.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<ul>\n<li><code>message</code>: A message indicating the status of the request.</li>\n<li><code>data</code>: An array of objects containing the following information for each category:<ul>\n<li><code>id</code>: The unique identifier for the category.</li>\n<li><code>name</code>: The name of the category.</li>\n<li><code>total_product</code>: The total number of products in the category.</li>\n</ul>\n</li>\n<li><code>pagination</code>: Metadata for pagination including:<ul>\n<li><code>page</code>: The current page number.</li>\n<li><code>pageSize</code>: The number of items per page.</li>\n<li><code>totalItems</code>: The total number of items.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil. \",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Category A\",\n            \"total_product\": 25\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Category B\",\n            \"total_product\": 18\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Category C\",\n            \"total_product\": 32\n        }\n    ],\n    \"pagination\": {\n        \"page\": 1,\n        \"pageSize\": 20,\n        \"totalItems\": 1\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","categories"],"host":["localhost:8000"],"query":[{"disabled":true,"key":"page","value":""},{"key":"search","value":null}],"variable":[]}},"response":[{"id":"319846c7-77dc-48cf-889c-97bccb28c874","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/categories?page=1&pageSIze=10","host":["localhost:8000"],"path":["api","v1","categories"],"query":[{"key":"page","value":"1"},{"key":"pageSIze","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Berhasil. \",\r\n    \"data\": [\r\n        {\r\n            \"id\": 1,\r\n            \"name\": \"Category A\",\r\n            \"total_product\": 25\r\n        },\r\n        {\r\n            \"id\": 2,\r\n            \"name\": \"Category B\",\r\n            \"total_product\": 18\r\n        },\r\n        {\r\n            \"id\": 3,\r\n            \"name\": \"Category C\",\r\n            \"total_product\": 32\r\n        }\r\n    ],\r\n    \"pagination\": {\r\n        \"page\": 1,\r\n        \"pageSize\": 20,\r\n        \"totalItems\": 1\r\n    }\r\n}\r\n"},{"id":"37a0a2cf-264a-4a32-ae1b-240182e68bc8","name":"Failed Case Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/categories?page=1&pageSIze=10","host":["localhost:8000"],"path":["api","v1","categories"],"query":[{"key":"page","value":"1"},{"key":"pageSIze","value":"10"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Anda tidak memiliki izin untuk mengakses sumber daya ini.\"\n}"}],"_postman_id":"4afb1583-c9a9-4cbd-b7d0-c16d8f1a6fab"},{"name":"Get Category By ID","id":"d6aec1c8-54ae-4690-b5fd-782e6faa66d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/categories/:id","description":"<h1 id=\"get-category-by-id\">Get Category by ID</h1>\n<p>This endpoint retrieves the details of a specific category based on the provided ID.</p>\n<h2 id=\"request\">Request</h2>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>GET</code> localhost:8000/api/v1/categories/:id</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li>No request body is required for this request.</li>\n</ul>\n<h3 id=\"parameters\">Parameters</h3>\n<ul>\n<li><code>:id</code> (path) - The ID of the category to retrieve.</li>\n</ul>\n<h2 id=\"response\">Response</h2>\n<h3 id=\"success-200-ok\">Success 200 OK</h3>\n<p>The API returns a JSON object with the following properties:</p>\n<ul>\n<li><code>message</code> - A message indicating the status of the request.</li>\n<li><code>data</code> - An object containing the details of the category.<ul>\n<li><code>id</code> - The unique identifier of the category.</li>\n<li><code>name</code> - The name of the category.</li>\n<li><code>photo</code> - The URL of the category's photo.</li>\n<li><code>total_product</code> - The total number of products in the category.</li>\n<li><code>created_at</code> - The timestamp when the category was created.</li>\n<li><code>updated_at</code> - The timestamp when the category was last updated.</li>\n<li><code>deleted_at</code> - The timestamp when the category was deleted, if applicable.</li>\n<li><code>products</code> - An array of products belonging to the category, if available.</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","categories",":id"],"host":["localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>id category</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"aaa7a07c-1cb4-44c1-ae7c-25fa0e6fe19c","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/categories/:id","host":["localhost:8000"],"path":["api","v1","categories",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 04:09:46 GMT"},{"key":"Content-Length","value":"298"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Data kategori\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Tas\",\n        \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701158741/disappear/xvthfeligb43vso6zhk8.png\",\n        \"total_product\": 1,\n        \"created_at\": \"2023-11-28T15:05:42+07:00\",\n        \"updated_at\": \"2023-11-28T16:17:25+07:00\",\n        \"deleted_at\": null,\n        \"products\": null\n    }\n}"},{"id":"73adb7b8-106a-466a-8a02-0214b11b1c89","name":"Failed Case: Category Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/categories/:id","host":["localhost:8000"],"path":["api","v1","categories",":id"],"variable":[{"key":"id","value":"10"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 04:10:03 GMT"},{"key":"Content-Length","value":"74"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan detail kategori: kategori tidak ditemukan\"\n}"}],"_postman_id":"d6aec1c8-54ae-4690-b5fd-782e6faa66d3"},{"name":"Create Category","id":"f4559a85-0ea6-46a8-beb3-253bf4c072d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Alat Minum","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/ASUS/Downloads/Alat Minum.png"}]},"url":"localhost:8000/api/v1/categories","description":"<p>This endpoint allows you to add a new category by sending an HTTP POST request to the specified URL. The request should include a form-data body with the 'name' parameter of type text, and the 'photo' parameter of type file.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li>name (text): The name of the category.</li>\n<li>photo (file): An image representing the category.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will include a message indicating the success of adding the category, along with the details of the newly added category, including its ID, name, photo URL, and the total number of products associated with it.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","categories"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"62160247-c421-4e35-a03a-deb72bc81bbe","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Alat Minum","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/ASUS/Downloads/Alat Minum.png"}]},"url":"localhost:8000/api/v1/categories"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 08:09:50 GMT"},{"key":"Content-Length","value":"205"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menambahkan kategori\",\n    \"data\": {\n        \"id\": 4,\n        \"name\": \"Alat Minum\",\n        \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701158989/disappear/z6kzccbfu6bzbgufuv44.png\",\n        \"total_product\": 0\n    }\n}"},{"id":"54ad4730-42b0-4cd9-ad00-f583ebcbbaeb","name":"Failed Case: Error Validating","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Tas Baru","type":"text","disabled":true},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","src":"/E:/SIB/Demo/buah pisang.jpeg","disabled":true}],"options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/categories"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 13 Nov 2023 16:07:06 GMT"},{"key":"Content-Length","value":"127"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validasi gagal: Key: 'CreateCategoryRequest.Name' Error:Field validation for 'Name' failed on the 'required' tag\"\n}"},{"id":"0439a394-8820-433a-95e8-b9744fb6b4fb","name":"Create Using form-data","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Tas","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/ASUS/Downloads/Tas.png"}]},"url":"localhost:8000/api/v1/categories"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 08:01:47 GMT"},{"key":"Content-Length","value":"198"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menambahkan kategori\",\n    \"data\": {\n        \"id\": 5,\n        \"name\": \"Tas\",\n        \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701158507/disappear/pnsvspufic2nloqkykyr.png\",\n        \"total_product\": 0\n    }\n}"}],"_postman_id":"f4559a85-0ea6-46a8-beb3-253bf4c072d5"},{"name":"Update Category","id":"a2bd616a-9819-43e3-a381-dbf01590403e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Alat Minum","type":"text"},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","src":"/C:/Users/ASUS/Downloads/Alat Minum.png"}]},"url":"localhost:8000/api/v1/categories/:id","description":"<h3 id=\"update-category\">Update Category</h3>\n<p>This endpoint is used to update a specific category.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li>Method: PUT</li>\n<li>URL: localhost:8000/api/v1/categories/:id</li>\n<li>Body (form-data):<ul>\n<li><code>name</code> (text): The name of the category.</li>\n<li><code>photo</code> (file): An image representing the category.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p>200 OK: If the category is successfully updated, the response will include a message and the updated category details.<br />  Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil mengubah kategori\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Fashion Update\",\n        \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1699893388/disappear/vcjqyg7pnokwotixjlft.jpg\",\n        \"total_product\": 0\n    }\n}\n\n</code></pre>\n</li>\n<li><p>404 Not Found: If the category with the specified ID is not found, an appropriate error message will be returned.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","categories",":id"],"host":["localhost:8000"],"query":[],"variable":[{"type":"any","value":"3","key":"id"}]}},"response":[{"id":"27683d60-6619-41a6-a096-98ea8449288b","name":"Succes Case","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Fashion Update","type":"text"},{"key":"photo","type":"file","src":"/E:/SIB/Demo/bunga november.jpeg"}]},"url":{"raw":"localhost:8000/api/v1/categories/:id","host":["localhost:8000"],"path":["api","v1","categories",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 13 Nov 2023 16:36:29 GMT"},{"key":"Content-Length","value":"206"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mengubah kategori\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Fashion Update\",\n        \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1699893388/disappear/vcjqyg7pnokwotixjlft.jpg\",\n        \"total_product\": 0\n    }\n}"},{"id":"4b2a6cbe-aa75-412b-9255-54e56cf36369","name":"Update Using form-data","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Fashion Update","type":"text"},{"key":"photo","type":"file","src":"/E:/SIB/Demo/bunga november.jpeg"}]},"url":{"raw":"localhost:8000/api/v1/categories/:id","host":["localhost:8000"],"path":["api","v1","categories",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 13 Nov 2023 16:36:29 GMT"},{"key":"Content-Length","value":"206"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mengubah kategori\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Fashion Update\",\n        \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1699893388/disappear/vcjqyg7pnokwotixjlft.jpg\",\n        \"total_product\": 0\n    }\n}"},{"id":"f819d06e-5ea9-409c-a3d9-8aee3e068a10","name":"Failed Case: Category Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Fashion Update","type":"text"},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","src":"/E:/SIB/Demo/bunga november.jpeg","disabled":true}]},"url":{"raw":"localhost:8000/api/v1/categories/:id","host":["localhost:8000"],"path":["api","v1","categories",":id"],"variable":[{"key":"id","value":"100"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 13 Nov 2023 16:59:04 GMT"},{"key":"Content-Length","value":"67"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan kategori: kategori tidak ditemukan\"\n}"}],"_postman_id":"a2bd616a-9819-43e3-a381-dbf01590403e"},{"name":"Delete Category","id":"919a3dbf-3c9b-46ad-ae2a-023bc39a53a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:8000/api/v1/categories/:id","description":"<h1 id=\"delete-category\">Delete Category</h1>\n<p>This endpoint is used to delete a specific category by providing the category ID in the URL.</p>\n<h2 id=\"request\">Request</h2>\n<ul>\n<li>Method: DELETE</li>\n<li>URL: localhost:8000/api/v1/categories/:id</li>\n</ul>\n<h2 id=\"response\">Response</h2>\n<ul>\n<li>message (string): A message indicating the result of the deletion process. In the example, the message \"Berhasil hapus kategori\" indicates successful deletion.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","categories",":id"],"host":["localhost:8000"],"query":[],"variable":[{"type":"any","value":"3","key":"id"}]}},"response":[{"id":"1278626e-76f5-4d03-ba3c-26a5c35e7450","name":"Success Case","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/categories/:id","host":["localhost:8000"],"path":["api","v1","categories",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 13 Nov 2023 17:02:45 GMT"},{"key":"Content-Length","value":"38"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil hapus kategori\"\n}"},{"id":"bce9e333-a168-403f-a4c2-e56282e54b89","name":"Failed Case: Category Not Found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/categories/:id","host":["localhost:8000"],"path":["api","v1","categories",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 13 Nov 2023 17:10:34 GMT"},{"key":"Content-Length","value":"67"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan kategori: kategori tidak ditemukan\"\n}"},{"id":"5a949783-b4d2-4294-a2e1-bed43ae39cc4","name":"Failed Case: Forbidden","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/categories/:id","host":["localhost:8000"],"path":["api","v1","categories",":id"],"variable":[{"key":"id","value":"3"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 08:10:37 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"919a3dbf-3c9b-46ad-ae2a-023bc39a53a5"}],"id":"627069ac-734d-462f-aad7-19c1b657d0df","description":"<h3 id=\"get-all-categories\">Get All Categories</h3>\n<ul>\n<li><p><strong>Endpoint:</strong> /api/v1/categories</p>\n</li>\n<li><p><strong>HTTP Method:</strong> GET</p>\n</li>\n<li><p><strong>Description:</strong> Retrieves all categories available. Requires authentication using JWT token to access protected resources.</p>\n</li>\n</ul>\n<h3 id=\"get-category-by-id\">Get Category by ID</h3>\n<ul>\n<li><p><strong>Endpoint:</strong> /api/v1/categories/:id</p>\n</li>\n<li><p><strong>HTTP Method:</strong> GET</p>\n</li>\n<li><p><strong>Description:</strong> Retrieves a specific category by its ID. Authentication using JWT token is necessary to access protected resources.</p>\n</li>\n</ul>\n<h3 id=\"create-category\">Create Category</h3>\n<ul>\n<li><p><strong>Endpoint:</strong> /api/v1/categories</p>\n</li>\n<li><p><strong>HTTP Method:</strong> POST</p>\n</li>\n<li><p><strong>Description:</strong> Creates a new category. Authentication using JWT token is required for authorization to perform this action.</p>\n</li>\n</ul>\n<h3 id=\"update-category-by-id\">Update Category by ID</h3>\n<ul>\n<li><p><strong>Endpoint:</strong> /api/v1/categories/:id</p>\n</li>\n<li><p><strong>HTTP Method:</strong> PUT</p>\n</li>\n<li><p><strong>Description:</strong> Updates a specific category identified by its ID. Authentication using JWT token is necessary to modify protected resources.</p>\n</li>\n</ul>\n<h3 id=\"delete-category-by-id\">Delete Category by ID</h3>\n<ul>\n<li><p><strong>Endpoint:</strong> /api/v1/categories/:id</p>\n</li>\n<li><p><strong>HTTP Method:</strong> DELETE</p>\n</li>\n<li><p><strong>Description:</strong> Deletes a specific category by its ID. Requires authentication using JWT token for authorization to delete protected resources.</p>\n</li>\n</ul>\n","_postman_id":"627069ac-734d-462f-aad7-19c1b657d0df","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}}},{"name":"Carousel","item":[{"name":"Get All Pagination","id":"b8fb05ab-2002-4815-a711-7b271c4558de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/carousel?page=1","description":"<p>This endpoint makes an HTTP GET request to retrieve a list of carousel items. It includes a query parameter \"page\" to specify the page number of the carousel data to be retrieved.</p>\n<p>The response returns a \"message\" indicating the operation, a \"data\" array containing carousel items with their \"id\", \"name\", and \"photo\" attributes, and a \"meta\" object providing information about the pagination, such as \"current_page\", \"total_page\", \"total_items\", \"next_page\", and \"prev_page\".</p>\n<p>Here are some examples of the response:</p>\n<ol>\n<li>When there are multiple carousel items, the response includes an array of carousel items and pagination details.</li>\n<li>When there is only one carousel item, the response includes a single item and pagination details.</li>\n</ol>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","carousel"],"host":["localhost:8000"],"query":[{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"ca552fb1-f452-44ea-8046-789481f352ce","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/carousel?page=1","host":["localhost:8000"],"path":["api","v1","carousel"],"query":[{"key":"page","value":"1"},{"key":"search","value":"10","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 14 Nov 2023 05:07:55 GMT"},{"key":"Content-Length","value":"581"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Daftar carousel\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Carousel 1\",\n            \"photo\": \"link_gambar_1.jpg\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Carousel 2\",\n            \"photo\": \"link_gambar_2.jpg\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Carousel 3\",\n            \"photo\": \"link_gambar_3.jpg\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Carousel 4\",\n            \"photo\": \"link_gambar_4.jpg\"\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Carousel 5\",\n            \"photo\": \"link_gambar_5.jpg\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Carousel 6\",\n            \"photo\": \"link_gambar_6.jpg\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Carousel 7\",\n            \"photo\": \"link_gambar_7.jpg\"\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Carousel 8\",\n            \"photo\": \"link_gambar_8.jpg\"\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 2,\n        \"total_items\": 10,\n        \"next_page\": 2,\n        \"prev_page\": 1\n    }\n}"},{"id":"d55ede01-2796-47ed-aaad-3d22224b6346","name":"Success Case: Search","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/carousel?page=1&search=10","host":["localhost:8000"],"path":["api","v1","carousel"],"query":[{"key":"page","value":"1"},{"key":"search","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 14 Nov 2023 05:07:17 GMT"},{"key":"Content-Length","value":"184"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Daftar carousel\",\n    \"data\": [\n        {\n            \"id\": 10,\n            \"name\": \"Carousel 10\",\n            \"photo\": \"link_gambar_10.jpg\"\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 1,\n        \"total_items\": 1,\n        \"next_page\": 1,\n        \"prev_page\": 1\n    }\n}"},{"id":"6550dbfd-83fe-4f2e-a2ac-ba0cefc690ef","name":"Failed Case: Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/carousel?page=1","host":["localhost:8000"],"path":["api","v1","carousel"],"query":[{"key":"page","value":"1"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 08:28:24 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"b8fb05ab-2002-4815-a711-7b271c4558de"},{"name":"Create","id":"cd208846-4913-4d1c-9251-62550eabf48c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Lets plant tree","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/ASUS/Downloads/Carousel landing page.png"}]},"url":"localhost:8000/api/v1/carousel","description":"<h3 id=\"add-carousel\">Add Carousel</h3>\n<p>This endpoint allows you to add a new carousel item.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>name</code> (text): The name of the carousel item.</li>\n<li><code>photo</code> (file): The image file for the carousel item.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><code>message</code>: A message indicating the success of adding the carousel.</li>\n<li><code>data</code><ul>\n<li><code>id</code>: The unique identifier of the added carousel item.</li>\n<li><code>name</code>: The name of the added carousel item.</li>\n<li><code>photo</code>: The URL of the image for the added carousel item.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil menambahkan carousel\",\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"New Product\",\n        \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701159404/disappear/agcahgjpn5zvmcake9z8.png\"\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","carousel"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"62e9429d-e911-4d0c-85f2-6277ad6837b3","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"New Product","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/ASUS/Downloads/Property 1=Variant2.png"}]},"url":"localhost:8000/api/v1/carousel"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 08:16:46 GMT"},{"key":"Content-Length","value":"188"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menambahkan carousel\",\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"New Product\",\n        \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701159404/disappear/agcahgjpn5zvmcake9z8.png\"\n    }\n}"},{"id":"d37cb815-e70e-4003-954b-8164b506f224","name":"Failed Case: Error Validating","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Promo akhir bulan","type":"text","disabled":true},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","src":"/E:/SIB/Demo/bunga november.jpeg","disabled":true}]},"url":"localhost:8000/api/v1/carousel"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 14 Nov 2023 05:34:34 GMT"},{"key":"Content-Length","value":"127"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validasi gagal: Key: 'CreateCarouselRequest.Name' Error:Field validation for 'Name' failed on the 'required' tag\"\n}"},{"id":"71291d7f-f8b8-4629-abf0-c8d3403ebcea","name":"Failed Case: Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"New Product","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/ASUS/Downloads/Property 1=Variant2.png"}]},"url":"localhost:8000/api/v1/carousel"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 08:17:35 GMT"},{"key":"Content-Length","value":"56"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"cd208846-4913-4d1c-9251-62550eabf48c"},{"name":"Update","id":"4564eec8-dcc6-4f62-9b06-f8e268920134","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Best Seller Product","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/ASUS/Downloads/Property 1=Variant3.png"}]},"url":"localhost:8000/api/v1/carousel/:id","description":"<h3 id=\"update-carousel\">Update Carousel</h3>\n<p>This endpoint allows the client to update a specific carousel by sending an HTTP PUT request to the specified URL.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request should include a form-data body with the following parameters:</p>\n<ul>\n<li><code>name</code> (text): The updated name of the carousel.</li>\n<li><code>photo</code> (file): The updated photo for the carousel.</li>\n</ul>\n<h4 id=\"path-parameters\">Path Parameters</h4>\n<ul>\n<li><code>id</code> (integer): The unique identifier of the carousel to be updated.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>Upon a successful update, the endpoint will respond with a JSON object containing the following fields:</p>\n<ul>\n<li><code>message</code> (string): A success message indicating the successful update.</li>\n<li><code>data</code> (object): An object containing the updated details of the carousel, including:<ul>\n<li><code>id</code> (integer): The unique identifier of the updated carousel.</li>\n<li><code>name</code> (string): The updated name of the carousel.</li>\n<li><code>photo</code> (string): The updated URL of the carousel photo.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil memperbarui carousel\",\n    \"data\": {\n        \"id\": 3,\n        \"name\": \"Fashion Update Baru\",\n        \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1699944312/disappear/alizko3rtna9jy9re6vl.jpg\"\n    }\n}\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","carousel",":id"],"host":["localhost:8000"],"query":[],"variable":[{"type":"any","value":"3","key":"id"}]}},"response":[{"id":"73ebf168-8571-4266-846b-80d90f8befaf","name":"Success Case","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Fashion Update Baru Banget","type":"text"},{"key":"photo","type":"file","src":"/E:/SIB/Demo/buah pisang.jpeg"}]},"url":{"raw":"localhost:8000/api/v1/carousel/:id","host":["localhost:8000"],"path":["api","v1","carousel",":id"],"variable":[{"key":"id","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 14 Nov 2023 06:45:57 GMT"},{"key":"Content-Length","value":"196"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil memperbarui carousel\",\n    \"data\": {\n        \"id\": 3,\n        \"name\": \"Fashion Update Baru\",\n        \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1699944312/disappear/alizko3rtna9jy9re6vl.jpg\"\n    }\n}"},{"id":"906593e6-4534-4429-b716-e14fac04efdc","name":"Failed Case: Carousel Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Fashion Update","type":"text"},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","src":"/E:/SIB/Demo/bunga november.jpeg","disabled":true}]},"url":{"raw":"localhost:8000/api/v1/carousel/:id","host":["localhost:8000"],"path":["api","v1","carousel",":id"],"variable":[{"id":"e4fb6163-8ddd-47c8-b040-887d406768c4","key":"id","value":"100"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 14 Nov 2023 06:40:52 GMT"},{"key":"Content-Length","value":"67"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal memperbarui carousel: carousel tidak ditemukan\"\n}"},{"id":"76210a80-1fd2-4971-adf0-8998c6c86442","name":"Failed Case: Forbiddem","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Best Seller Product","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/ASUS/Downloads/Property 1=Variant3.png"}]},"url":{"raw":"localhost:8000/api/v1/carousel/:id","host":["localhost:8000"],"path":["api","v1","carousel",":id"],"variable":[{"key":"id","value":"3"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 08:20:24 GMT"},{"key":"Content-Length","value":"56"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"4564eec8-dcc6-4f62-9b06-f8e268920134"},{"name":"Delete","id":"61ece875-debd-4a25-964b-f81bfdaa38a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:8000/api/v1/carousel/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","carousel",":id"],"host":["localhost:8000"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[{"id":"cf5af768-1159-4b13-a465-52b6bc76d112","name":"Success Case","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/carousel/:id","host":["localhost:8000"],"path":["api","v1","carousel",":id"],"variable":[{"id":"afa61856-6739-4baf-a736-5044a113583f","key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 14 Nov 2023 06:03:08 GMT"},{"key":"Content-Length","value":"38"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil hapus carousel\"\n}"},{"id":"421af79b-4ab2-415d-8431-482f11501d1b","name":"Failed Case: Carausel Not Found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/carousel/:id","host":["localhost:8000"],"path":["api","v1","carousel",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 14 Nov 2023 06:24:26 GMT"},{"key":"Content-Length","value":"65"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menghapus carousel: carousel tidak ditemukan\"\n}"},{"id":"0846421c-e9e8-4004-b50a-dc86ef4e1b16","name":"Failed Case: Forbidden","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/carousel/:id","host":["localhost:8000"],"path":["api","v1","carousel",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 08:21:18 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"61ece875-debd-4a25-964b-f81bfdaa38a2"},{"name":"Get Carousel By Id","id":"600f93f3-2406-491b-a6bb-ec440730c237","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/carousel/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","carousel",":id"],"host":["localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>id carousel</p>\n","type":"text/plain"},"type":"any","value":"2","key":"id"}]}},"response":[{"id":"f6be03e6-0208-4a84-9fce-66bf6a9ada9e","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/carousel/:id","host":["localhost:8000"],"path":["api","v1","carousel",":id"],"variable":[{"key":"id","value":"2","description":"id carousel"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 04:08:39 GMT"},{"key":"Content-Length","value":"272"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Data carousel\",\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"New Product\",\n        \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701159404/disappear/agcahgjpn5zvmcake9z8.png\",\n        \"created_at\": \"2023-11-28T15:16:46+07:00\",\n        \"updated_at\": \"2023-11-28T15:16:46+07:00\",\n        \"deleted_at\": null\n    }\n}"}],"_postman_id":"600f93f3-2406-491b-a6bb-ec440730c237"}],"id":"935e1bd9-e059-4e3e-88e2-e26ebf771097","_postman_id":"935e1bd9-e059-4e3e-88e2-e26ebf771097","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}}},{"name":"Voucher","item":[{"name":"Get All Pagination","id":"f8ae7c49-b43a-4c13-8672-7c0240030f5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/vouchers?page=1&status=Belum Kadaluwarsa&category=gold","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","vouchers"],"host":["localhost:8000"],"query":[{"description":{"content":"<p>pilih halaman sesuai kebutuhan</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>filter berdasarkan status</p>\n","type":"text/plain"},"key":"status","value":"Belum Kadaluwarsa"},{"description":{"content":"<p>filter berdasarkan kategori</p>\n","type":"text/plain"},"key":"category","value":"gold"}],"variable":[]}},"response":[{"id":"5acb4984-0c2b-4351-9ecd-6aa597eb63f9","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/vouchers?page=1","host":["localhost:8000"],"path":["api","v1","vouchers"],"query":[{"key":"page","value":"1","description":"pilih halaman sesuai kebutuhan"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 03:50:02 GMT"},{"key":"Content-Length","value":"1713"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Daftar kupon\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"\",\n            \"code\": \"\",\n            \"category\": \"\",\n            \"description\": \"\",\n            \"discount\": 0,\n            \"start_date\": \"0001-01-01T00:00:00Z\",\n            \"stop_date\": \"0001-01-01T00:00:00Z\",\n            \"min_purchase\": 0,\n            \"stock\": 0,\n            \"status\": \"\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Diskon Spesial\",\n            \"code\": \"DISCOUNT25\",\n            \"category\": \"Silver\",\n            \"description\": \"Diskon 25% untuk produk tertentu\",\n            \"discount\": 1000,\n            \"start_date\": \"2023-11-15T07:00:00+07:00\",\n            \"stop_date\": \"2023-12-16T07:00:00+07:00\",\n            \"min_purchase\": 1000,\n            \"stock\": 96,\n            \"status\": \"Belum Kadaluwarsa\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Diskon Spesial 2\",\n            \"code\": \"DISCOUNT256\",\n            \"category\": \"Gold\",\n            \"description\": \"Diskon 25% untuk produk tertentu\",\n            \"discount\": 25,\n            \"start_date\": \"2023-11-15T07:00:00+07:00\",\n            \"stop_date\": \"2023-12-15T07:00:00+07:00\",\n            \"min_purchase\": 100,\n            \"stock\": 100,\n            \"status\": \"Belum Kadaluwarsa\"\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Diskon Spesial 2\",\n            \"code\": \"DISCOUNT2566\",\n            \"category\": \"Silver\",\n            \"description\": \"Diskon 25% untuk produk tertentu\",\n            \"discount\": 25,\n            \"start_date\": \"2023-11-15T07:00:00+07:00\",\n            \"stop_date\": \"2023-11-15T07:00:00+07:00\",\n            \"min_purchase\": 100,\n            \"stock\": 100,\n            \"status\": \"Belum Kadaluwarsa\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Diskon Spesial 2\",\n            \"code\": \"DISCOUNT2512366\",\n            \"category\": \"All Customer\",\n            \"description\": \"Diskon 25% untuk produk tertentu\",\n            \"discount\": 25,\n            \"start_date\": \"2023-11-15T07:00:00+07:00\",\n            \"stop_date\": \"2023-11-15T07:00:00+07:00\",\n            \"min_purchase\": 1000,\n            \"stock\": 90,\n            \"status\": \"Belum Kadaluwarsa\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"RamadanBestBaru\",\n            \"code\": \"DISCOUNT22W66\",\n            \"category\": \"Bronze\",\n            \"description\": \"Diskon 25% untuk produk tertentu\",\n            \"discount\": 25,\n            \"start_date\": \"2023-11-15T07:00:00+07:00\",\n            \"stop_date\": \"2023-11-15T07:00:00+07:00\",\n            \"min_purchase\": 1000,\n            \"stock\": 99,\n            \"status\": \"Belum Kadaluwarsa\"\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 1,\n        \"total_items\": 6,\n        \"next_page\": 1,\n        \"prev_page\": 1\n    }\n}"},{"id":"e600b498-1b0e-4656-bd21-042774167d26","name":"Failed Case: Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/vouchers?page=1","host":["localhost:8000"],"path":["api","v1","vouchers"],"query":[{"key":"page","value":"1","description":"pilih halaman sesuai kebutuhan"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 03:53:12 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"f8ae7c49-b43a-4c13-8672-7c0240030f5f"},{"name":"Create Voucher","id":"e62a84f0-988b-463b-8320-61bf67241088","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Voucher Baru\",\r\n    \"code\": \"CODE123ASD33\",\r\n    \"category\": \"All Customer\",\r\n    \"description\": \"Diskon untuk semua produk\",\r\n    \"discount\": 1000,\r\n    \"start_date\": \"2023-11-15T00:00:00Z\",\r\n    \"end_date\": \"2023-12-30T00:00:00Z\",\r\n    \"min_purchase\": 1000,\r\n    \"stock\": 100\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/vouchers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","vouchers"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"f27eab12-d27e-4b65-83e8-b9c709bb0134","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Diskon AKhir Bulan\",\r\n    \"code\": \"KUPON12SAS1\",\r\n    \"category\": \"Silver\",\r\n    \"description\": \"Diskon untuk semua produk\",\r\n    \"discount\": 10000,\r\n    \"start_date\": \"2023-11-15T00:00:00Z\",\r\n    \"end_date\": \"2023-12-30T00:00:00Z\",\r\n    \"min_purchase\": 15000,\r\n    \"stock\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/vouchers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 08:26:41 GMT"},{"key":"Content-Length","value":"316"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Kupon berhasil ditambahkan\",\n    \"data\": {\n        \"id\": 3,\n        \"name\": \"Diskon AKhir Bulan\",\n        \"code\": \"KUPON12SAS1\",\n        \"category\": \"Silver\",\n        \"description\": \"Diskon untuk semua produk\",\n        \"discount\": 10000,\n        \"start_date\": \"2023-11-15T00:00:00Z\",\n        \"end-date\": \"2023-12-30T00:00:00Z\",\n        \"min_purchase\": 15000,\n        \"stock\": 10,\n        \"status\": \"Belum Kadaluwarsa\"\n    }\n}"},{"id":"06279a65-9519-4ea8-9973-f3fe1747a54c","name":"Create Using form-data","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Hari Raya Disappear 2","description":"nama kupon","type":"text"},{"key":"code","value":"KUPON12SAS","description":"kode kupon","type":"text"},{"key":"category","value":"All Customer","description":"kategori kupon","type":"text"},{"key":"description","value":"Diskon RP10000 untuk semua produk","description":"deskripsi kupon","type":"text"},{"key":"discount","value":"10000","description":"diskon dari kupon","type":"text"},{"key":"start_date","value":"2023-11-15T00:00:00Z","description":"tanggal mulai","type":"text"},{"key":"end_date","value":"2023-11-15T00:00:00Z","description":"tanggal selesai","type":"text"},{"key":"min_purchase","value":"10000","description":"minimal pembelian","type":"text"},{"key":"stock","value":"10","description":"jumlah stok","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/vouchers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 04:15:47 GMT"},{"key":"Content-Length","value":"326"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Kupon berhasil ditambahkan\",\n    \"data\": {\n        \"id\": 9,\n        \"name\": \"Hari Raya Disappear 2\",\n        \"code\": \"KUPON12SAS\",\n        \"category\": \"All Customer\",\n        \"description\": \"Diskon RP10000 untuk semua produk\",\n        \"discount\": 10000,\n        \"start_date\": \"2023-11-15T00:00:00Z\",\n        \"end-date\": \"2023-11-15T00:00:00Z\",\n        \"min_purchase\": 10000,\n        \"stock\": 10,\n        \"status\": \"Kadaluwarsa\"\n    }\n}"},{"id":"4ee7224a-0f2c-4c4d-930c-c5c0b8dba764","name":"Create Using JSON","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Hari Raya Disappear\",\r\n    \"code\": \"KUPON12SAS\",\r\n    \"category\": \"All Customer\",\r\n    \"description\": \"Diskon RP10000 untuk semua produk\",\r\n    \"discount\": 10000,\r\n    \"start_date\": \"2023-11-15T00:00:00Z\",\r\n    \"end_date\": \"2023-11-15T00:00:00Z\",\r\n    \"min_purchase\": 10000,\r\n    \"stock\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/vouchers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 04:15:47 GMT"},{"key":"Content-Length","value":"326"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Kupon berhasil ditambahkan\",\n    \"data\": {\n        \"id\": 9,\n        \"name\": \"Hari Raya Disappear 2\",\n        \"code\": \"KUPON12SAS\",\n        \"category\": \"All Customer\",\n        \"description\": \"Diskon RP10000 untuk semua produk\",\n        \"discount\": 10000,\n        \"start_date\": \"2023-11-15T00:00:00Z\",\n        \"end-date\": \"2023-11-15T00:00:00Z\",\n        \"min_purchase\": 10000,\n        \"stock\": 10,\n        \"status\": \"Kadaluwarsa\"\n    }\n}"},{"id":"675f7c65-7d58-4b1d-8fb2-4d4b056111b5","name":"Failed Case: Code Should Unique","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Hari Raya Disappear\",\r\n    \"code\": \"KUPON12SAS\",\r\n    \"category\": \"All Customer\",\r\n    \"description\": \"Diskon RP10000 untuk semua produk\",\r\n    \"discount\": 10000,\r\n    \"start_date\": \"2023-11-15T00:00:00Z\",\r\n    \"end_date\": \"2023-11-15T00:00:00Z\",\r\n    \"min_purchase\": 10000,\r\n    \"stock\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/vouchers"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 04:27:04 GMT"},{"key":"Content-Length","value":"66"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menambahkan kupon: kode kupon sudah digunakan\"\n}"},{"id":"551d7d0f-a5b0-436f-a0d2-f05bf3f18610","name":"Failed Case: Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Hari Raya Disappear\",\r\n    \"code\": \"KUPON12SAS\",\r\n    \"category\": \"All Customer\",\r\n    \"description\": \"Diskon RP10000 untuk semua produk\",\r\n    \"discount\": 10000,\r\n    \"start_date\": \"2023-11-15T00:00:00Z\",\r\n    \"end_date\": \"2023-11-15T00:00:00Z\",\r\n    \"min_purchase\": 10000,\r\n    \"stock\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/vouchers"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 05:36:41 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"e62a84f0-988b-463b-8320-61bf67241088"},{"name":"Update Voucher","id":"e0fc36ca-694a-440a-af56-e666940609e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Hari Raya Disappear\",\r\n    \"code\": \"KUPON12SAS4312311\",\r\n    \"category\": \"All Customer\",\r\n    \"description\": \"Diskon RP10000 untuk semua produk\",\r\n    \"discount\": 10000,\r\n    \"start_date\": \"2023-11-15T00:00:00Z\",\r\n    \"end_date\": \"2023-11-30T00:00:00Z\",\r\n    \"min_purchase\": 100000,\r\n    \"stock\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/vouchers/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","vouchers",":id"],"host":["localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>id kupon</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"7c511918-5e97-415c-8c3e-f0d4f075a31b","name":"Success Case","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Hari Raya Disappear\",\r\n    \"code\": \"KUPON12SAS3\",\r\n    \"category\": \"All Customer\",\r\n    \"description\": \"Diskon RP10000 untuk semua produk\",\r\n    \"discount\": 10000,\r\n    \"start_date\": \"2023-11-15T00:00:00Z\",\r\n    \"end_date\": \"2023-11-30T00:00:00Z\",\r\n    \"min_purchase\": 10000,\r\n    \"stock\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/v1/vouchers/:id","host":["localhost:8000"],"path":["api","v1","vouchers",":id"],"variable":[{"key":"id","value":"14","description":"id kupon"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 05:43:40 GMT"},{"key":"Content-Length","value":"37"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Kupon berhasil dirubah\"\n}"},{"id":"a5a620b5-63c6-4305-8aaa-99099da05dae","name":"Update Using JSON","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Hari Raya Disappear\",\r\n    \"code\": \"KUPON12SAS3\",\r\n    \"category\": \"All Customer\",\r\n    \"description\": \"Diskon RP10000 untuk semua produk\",\r\n    \"discount\": 10000,\r\n    \"start_date\": \"2023-11-15T00:00:00Z\",\r\n    \"end_date\": \"2023-11-30T00:00:00Z\",\r\n    \"min_purchase\": 10000,\r\n    \"stock\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/v1/vouchers/:id","host":["localhost:8000"],"path":["api","v1","vouchers",":id"],"variable":[{"key":"id","value":"14","description":"id kupon"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 05:43:40 GMT"},{"key":"Content-Length","value":"37"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Kupon berhasil dirubah\"\n}"},{"id":"2273f340-4aee-4caf-8a07-3553b165c513","name":"Update Using form-data","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Hari Raya Disappear 2","type":"text","description":"nama kupon"},{"key":"code","value":"KUPON12SAS","type":"text","description":"kode kupon harus unik"},{"key":"category","value":"All Customer","type":"text","description":"kategori kupon"},{"key":"description","value":"Diskon RP10000 untuk semua produk","type":"text","description":"deskirpsi kupon"},{"key":"discount","value":"10000","type":"text","description":"jumlah diskon kupon"},{"key":"start_date","value":"2023-11-15T00:00:00Z","type":"text","description":"tanggal mulai"},{"key":"end_date","value":"2023-11-15T00:00:00Z","type":"text","description":"tanggal selesai"},{"key":"min_purchase","value":"10000","type":"text","description":"minimal pembelian"},{"key":"stock","value":"10","type":"text","description":"jumlah stok"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/v1/vouchers/:id","host":["localhost:8000"],"path":["api","v1","vouchers",":id"],"variable":[{"key":"id","value":"14","description":"id kupon"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 05:43:40 GMT"},{"key":"Content-Length","value":"37"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Kupon berhasil dirubah\"\n}"},{"id":"7004107b-a8c0-4ed3-b904-a217dc91eef3","name":"Failed Case: Code Should Unique","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Hari Raya Disappear\",\r\n    \"code\": \"KUPON12SAS1\",\r\n    \"category\": \"All Customer\",\r\n    \"description\": \"Diskon RP10000 untuk semua produk\",\r\n    \"discount\": 10000,\r\n    \"start_date\": \"2023-11-15T00:00:00Z\",\r\n    \"end_date\": \"2023-11-15T00:00:00Z\",\r\n    \"min_purchase\": 10000,\r\n    \"stock\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/v1/vouchers/:id","host":["localhost:8000"],"path":["api","v1","vouchers",":id"],"variable":[{"key":"id","value":"14","description":"id kupon"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 05:39:30 GMT"},{"key":"Content-Length","value":"66"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal memperbarui kupon: kode kupon sudah digunakan\"\n}"},{"id":"4a579e54-b895-4a4d-85d9-905a85c87040","name":"Failed Case: Forbidden","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Hari Raya Disappear\",\r\n    \"code\": \"KUPON12SAS3\",\r\n    \"category\": \"All Customer\",\r\n    \"description\": \"Diskon RP10000 untuk semua produk\",\r\n    \"discount\": 10000,\r\n    \"start_date\": \"2023-11-15T00:00:00Z\",\r\n    \"end_date\": \"2023-11-30T00:00:00Z\",\r\n    \"min_purchase\": 10000,\r\n    \"stock\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/v1/vouchers/:id","host":["localhost:8000"],"path":["api","v1","vouchers",":id"],"variable":[{"key":"id","value":"14","description":"id kupon"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 05:48:33 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"e0fc36ca-694a-440a-af56-e666940609e3"},{"name":"Delete","id":"f025086c-03a8-4d2b-b685-7eac1327e253","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:8000/api/v1/vouchers/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","vouchers",":id"],"host":["localhost:8000"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[{"id":"64e85ada-5045-4c99-bbb0-c9af8cffbd05","name":"Success Case","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/vouchers/:id","host":["localhost:8000"],"path":["api","v1","vouchers",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 14 Nov 2023 16:31:29 GMT"},{"key":"Content-Length","value":"37"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil hapus kupon\"\n}"},{"id":"cbf9e929-8917-4c4e-99be-558cfbcf8aab","name":"Failed Case: Voucher Not Found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/vouchers/:id","host":["localhost:8000"],"path":["api","v1","vouchers",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 14 Nov 2023 16:33:47 GMT"},{"key":"Content-Length","value":"62"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menghapus carousel: kupon tidak ditemukan\"\n}"},{"id":"da6e06e8-5603-434f-abcf-6858d13a6ac2","name":"Failed Case: Forbidden","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/vouchers/:id","host":["localhost:8000"],"path":["api","v1","vouchers",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 08:31:08 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"f025086c-03a8-4d2b-b685-7eac1327e253"},{"name":"Get Voucher By Id","id":"3c609cf5-c70b-43cd-91f9-144c895049d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/vouchers/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","vouchers",":id"],"host":["localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>id kupon</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"9f23448e-cdd3-4f1d-93c6-af9f5d8ed28e","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/vouchers/:id","host":["localhost:8000"],"path":["api","v1","vouchers",":id"],"variable":[{"key":"id","value":"15","description":"id kupon"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 05:51:49 GMT"},{"key":"Content-Length","value":"338"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan voucher\",\n    \"data\": {\n        \"id\": 15,\n        \"name\": \"Hari Raya Disappear\",\n        \"code\": \"KUPON12SAS1\",\n        \"category\": \"All Customer\",\n        \"description\": \"Diskon RP10000 untuk semua produk\",\n        \"discount\": 10000,\n        \"start_date\": \"2023-11-15T07:00:00+07:00\",\n        \"end-date\": \"2023-11-15T07:00:00+07:00\",\n        \"min_purchase\": 10000,\n        \"stock\": 10,\n        \"status\": \"Kadaluwarsa\"\n    }\n}"},{"id":"befb0f03-ef60-4188-8ce4-05ae00bfaff9","name":"Failed Case: Voucher Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/vouchers/:id","host":["localhost:8000"],"path":["api","v1","vouchers",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 14 Nov 2023 16:45:49 GMT"},{"key":"Content-Length","value":"63"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan kupon: kupon tidak ditemukan\"\n}"},{"id":"f7f9a5b8-24c0-4aa7-80ab-7bf776352e5d","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/vouchers/:id","host":["localhost:8000"],"path":["api","v1","vouchers",":id"],"variable":[{"key":"id","value":"15","description":"id kupon"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 05:52:08 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"ac057b5e-25f9-404d-bc20-cc2f0ca82d0b","name":"Failed Case: Error Binding Data","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/vouchers/:id","host":["localhost:8000"],"path":["api","v1","vouchers",":id"],"variable":[{"key":"id","value":"a","description":"id kupon"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 27 Nov 2023 05:52:58 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format input yang Anda masukkan tidak sesuai.\"\n}"}],"_postman_id":"3c609cf5-c70b-43cd-91f9-144c895049d3"}],"id":"4942e9f9-7115-4cc8-8856-576ef83fc336","_postman_id":"4942e9f9-7115-4cc8-8856-576ef83fc336","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}}},{"name":"Product","item":[{"name":"Product","item":[{"name":"Get All Product","id":"e6092df6-223a-4849-beed-6d4866bb8995","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.disappear-organization.my.id/api/v1/products?page=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","products"],"host":["https://api.disappear-organization.my.id"],"query":[{"description":{"content":"<p>halaman</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>pencarian</p>\n","type":"text/plain"},"key":"search","value":"minum"},{"disabled":true,"description":{"content":"<p>nama kategori produk</p>\n","type":"text/plain"},"key":"category_name","value":"Alat Minum"}],"variable":[]}},"response":[{"id":"e83553e4-dcfc-411d-b51f-b6b36a981ce0","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/products?page=1&search=&category_name=","host":["localhost:8000"],"path":["api","v1","products"],"query":[{"key":"page","value":"1","description":"halaman"},{"key":"search","value":"","description":"pencarian"},{"key":"category_name","value":"","description":"nama kategori produk"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 07 Dec 2023 15:13:50 GMT"},{"key":"Content-Length","value":"941"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan daftar produk\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Botol Minum\",\n            \"gram_plastic\": 20,\n            \"stock\": 280,\n            \"discount\": 50000,\n            \"product_exp\": 35,\n            \"price\": 250000,\n            \"rating\": 4.3,\n            \"total_review\": 4,\n            \"categories\": [\n                {\n                    \"id\": 4,\n                    \"name\": \"Alat Minum\"\n                }\n            ],\n            \"image_url\": [\n                {\n                    \"id\": 1,\n                    \"image_url\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701162429/disappear/alky9wemgaqgetgmr2pw.png\"\n                }\n            ]\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Alat Makan\",\n            \"gram_plastic\": 20,\n            \"stock\": 267,\n            \"discount\": 10000,\n            \"product_exp\": 23,\n            \"price\": 80000,\n            \"rating\": 5,\n            \"total_review\": 0,\n            \"categories\": [\n                {\n                    \"id\": 4,\n                    \"name\": \"Alat Minum\"\n                }\n            ],\n            \"image_url\": [\n                {\n                    \"id\": 2,\n                    \"image_url\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701162439/disappear/zj2bfudtgj6bixxuwz6w.png\"\n                }\n            ]\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Alat Minum\",\n            \"gram_plastic\": 20,\n            \"stock\": 221,\n            \"discount\": 100,\n            \"product_exp\": 23,\n            \"price\": 10000,\n            \"rating\": 0,\n            \"total_review\": 0,\n            \"categories\": null,\n            \"image_url\": null\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 1,\n        \"total_items\": 3,\n        \"next_page\": 1,\n        \"prev_page\": 1\n    }\n}"},{"id":"9e71a15c-396c-4e64-8c0b-166c40f56eb5","name":"Failed Case: Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/products?page=1","host":["localhost:8000"],"path":["api","v1","products"],"query":[{"key":"page","value":"1"},{"key":"search","value":"Botol","type":"text","disabled":true}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:00:40 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"e6092df6-223a-4849-beed-6d4866bb8995"},{"name":"Get By ID","id":"68f0a6e1-7678-48f1-9a33-be5ea9331e42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/products/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","products",":id"],"host":["localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>id produk</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"af1e5323-8979-4c0c-8e96-80c23b66a5a5","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 07 Dec 2023 05:45:44 GMT"},{"key":"Content-Length","value":"1072"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan detail produk\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Botol Minum\",\n        \"description\": \"Botol minuman terbuat dari bahan ramah lingkungan\",\n        \"gram_plastic\": 20,\n        \"stock\": 280,\n        \"discount\": 50000,\n        \"exp\": 35,\n        \"price\": 250000,\n        \"rating\": 4.3,\n        \"total_review\": 4,\n        \"total_sold\": 16,\n        \"categories\": [\n            {\n                \"id\": 4,\n                \"name\": \"Alat Minum\"\n            }\n        ],\n        \"image_url\": [\n            {\n                \"id\": 1,\n                \"image_url\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701162429/disappear/alky9wemgaqgetgmr2pw.png\"\n            }\n        ],\n        \"reviews\": [\n            {\n                \"id\": 1,\n                \"user_id\": 1,\n                \"name\": \"Ini Anan\",\n                \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\",\n                \"rating\": 5,\n                \"description\": \"Saya suka produk ini\",\n                \"date\": \"2023-11-28T20:07:19+07:00\",\n                \"photo\": [\n                    {\n                        \"id\": 1,\n                        \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701177758/disappear/q37t8yme8klhc7k25gxv.png\"\n                    }\n                ]\n            },\n            {\n                \"id\": 2,\n                \"user_id\": 1,\n                \"name\": \"Ini Anan\",\n                \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\",\n                \"rating\": 4,\n                \"description\": \"Saya suka produk ini\",\n                \"date\": \"2023-11-28T20:26:51+07:00\",\n                \"photo\": null\n            }\n        ]\n    }\n}"},{"id":"1614b9ec-8594-4fab-ac35-0e41eb4364dc","name":"Failed Case: Unathorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:03:19 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"5e07853c-4a4d-4012-8761-32845f2f7460","name":"Failed Case: Error Binding Data","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"a"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:03:44 GMT"},{"key":"Content-Length","value":"57"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format ID yang Anda masukkan tidak sesuai\"\n}"},{"id":"1eb097c1-8ff0-45f3-8c1c-8fe27f5959c9","name":"Failed Case: Product Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"4"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:05:26 GMT"},{"key":"Content-Length","value":"70"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan detail produk: produk tidak ditemukan\"\n}"}],"_postman_id":"68f0a6e1-7678-48f1-9a33-be5ea9331e42"},{"name":"CreateProduct","id":"53e41995-57e3-4c13-aaee-26454278dd11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Alat Makan\",\r\n    \"description\": \"Alat makan terbuat dari bahan ramah lingkungan\",\r\n    \"gram_plastic\": 20,\r\n    \"price\": 80000,\r\n    \"stock\": 290,\r\n    \"discount\": 10000,\r\n    \"exp\": 23,\r\n    \"categories\": [4]\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"https://test.disappear-organization.my.id/api/v1/products","urlObject":{"path":["api","v1","products"],"host":["https://test.disappear-organization.my.id"],"query":[],"variable":[]}},"response":[{"id":"08d0b297-1414-42b5-9d6c-563776283337","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Alat Makan\",\r\n    \"description\": \"Alat makan terbuat dari bahan ramah lingkungan\",\r\n    \"gram_plastic\": 20,\r\n    \"price\": 80000,\r\n    \"stock\": 290,\r\n    \"discount\": 10000,\r\n    \"exp\": 23,\r\n    \"categories\": [4]\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/products"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 08:55:31 GMT"},{"key":"Content-Length","value":"211"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menambahkan produk\",\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"Alat Makan\",\n        \"description\": \"Alat makan terbuat dari bahan ramah lingkungan\",\n        \"gram_plastic\": 20,\n        \"stock\": 290,\n        \"discount\": 10000,\n        \"exp\": 23,\n        \"price\": 80000\n    }\n}"},{"id":"8edfeba1-3eab-4703-a09d-63d1da835112","name":"Failed Case: Error Validation","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Alat Makan\",\r\n    \"description\": \"Alat makan terbuat dari bahan ramah lingkungan\",\r\n    \"gram_plastic\": 20,\r\n    \"price\": 80000,\r\n    \"stock\": 290,\r\n    \"discount\": 10000,\r\n    \"categories\": [4]\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/products"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 08:56:01 GMT"},{"key":"Content-Length","value":"124"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validasi gagal: Key: 'CreateProductRequest.Exp' Error:Field validation for 'Exp' failed on the 'required' tag\"\n}"},{"id":"bc5639b6-8c0d-43af-87be-187f942dbd9f","name":"Failed Case: Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Alat Makan\",\r\n    \"description\": \"Alat makan terbuat dari bahan ramah lingkungan\",\r\n    \"gram_plastic\": 20,\r\n    \"price\": 80000,\r\n    \"stock\": 290,\r\n    \"discount\": 10000,\r\n    \"categories\": [4]\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/products"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 08:56:30 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"45ddc51a-4549-4166-b82b-ac364e3dc534","name":"Failed Case: Error Binding Data","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Alat Makan\",\r\n    \"description\": \"Alat makan terbuat dari bahan ramah lingkungan\",\r\n    \"gram_plastic\": \"20\",\r\n    \"price\": 80000,\r\n    \"stock\": 290,\r\n    \"discount\": 10000,\r\n    \"exp\": 23,\r\n    \"categories\": [4]\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/products"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 08:57:00 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format input yang Anda masukkan tidak sesuai.\"\n}"}],"_postman_id":"53e41995-57e3-4c13-aaee-26454278dd11"},{"name":"Update Product","id":"5c81dd53-ed90-45e5-b7cc-7fa708e1e162","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Botol Minum\",\n    \"description\": \"Botol minuman terbuat dari bahan ramah lingkungan\",\n    \"gram_plastic\": 20,\n    \"price\": 250000,\n    \"stock\": 300,\n    \"discount\": 50000,\n    \"exp\": 35,\n    \"categories\": [4]\n}\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/products/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","products",":id"],"host":["localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>id produk</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"094bbda6-3f35-4d29-b9b5-4a617a738519","name":"Success Case","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Botol Minum Update\",\n    \"description\": \"Botol minuman terbuat dari bahan ramah lingkungan\",\n    \"gram_plastic\": 20,\n    \"price\": 250000,\n    \"stock\": 300,\n    \"discount\": 50000,\n    \"exp\": 35,\n    \"categories\": [4]\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"1","description":"id produk"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:30:06 GMT"},{"key":"Content-Length","value":"42"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil memperbarui produk\"\n}"},{"id":"e8cc1f13-ec59-45f1-ac7f-e116768bd954","name":"Failed Case: Invalid Product ID","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"Test update Product\",\n  \"description\": \"Deskripsi Produk\",\n  \"gram_plastic\": 500,\n  \"price\": 100000,\n  \"stock\": 50,\n  \"discount\": 10,\n  \"exp\": 20231231,\n  \"categories\": [1,4]\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"a","description":"id produk"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:18:04 GMT"},{"key":"Content-Length","value":"57"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format ID yang Anda masukkan tidak sesuai.\"\n}"},{"id":"5cdcdd82-e855-4aa3-ad07-b4bbf5faff7b","name":"Failed Case: Product Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"Test update Product\",\n  \"description\": \"Deskripsi Produk\",\n  \"gram_plastic\": 500,\n  \"price\": 100000,\n  \"stock\": 50,\n  \"discount\": 10,\n  \"exp\": 20231231,\n  \"categories\": [1,4]\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"5","description":"id produk"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:22:06 GMT"},{"key":"Content-Length","value":"63"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal memperbarui produk: produk tidak ditemukan\"\n}"},{"id":"5a5bd273-63c1-49a9-9a4d-fb8f7f527df7","name":"Failed Case: Forbidden","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"Test update Product\",\n  \"description\": \"Deskripsi Produk\",\n  \"gram_plastic\": 500,\n  \"price\": 100000,\n  \"stock\": 50,\n  \"discount\": 10,\n  \"exp\": 20231231,\n  \"categories\": [1,4]\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"5","description":"id produk"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:22:31 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"5c81dd53-ed90-45e5-b7cc-7fa708e1e162"},{"name":"Delete Product","id":"eb4ff742-c445-4b5c-98cd-0a7165eeb863","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:8000/api/v1/products/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","products",":id"],"host":["localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>id produk</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"09a49bf2-9ee5-4f00-8f87-0528c097535b","name":"Success Case","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"1","description":"id produk"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:23:23 GMT"},{"key":"Content-Length","value":"40"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menghapus produk\"\n}"},{"id":"d83af4ea-2310-415b-96bd-757895b2b1dd","name":"Failed Case: Product Not Found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"1","description":"id produk"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:23:36 GMT"},{"key":"Content-Length","value":"61"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menghapus produk: produk tidak ditemukan\"\n}"},{"id":"3d5b1c28-eb0b-409f-853e-0cf5d7599634","name":"Failed Case: Forbidden","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/products/:id","host":["localhost:8000"],"path":["api","v1","products",":id"],"variable":[{"key":"id","value":"1","description":"id produk"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:25:47 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"eb4ff742-c445-4b5c-98cd-0a7165eeb863"}],"id":"3adff3d5-358e-407b-b11c-342ed428903a","_postman_id":"3adff3d5-358e-407b-b11c-342ed428903a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}}},{"name":"Product Photos","item":[{"name":"Create Products Images Copy","id":"96549ff8-dd25-476a-9684-fe77d5953b68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"product_id","value":"1","type":"text"},{"key":"photo","type":"file","value":null}]},"url":"localhost:8000/api/v1/products/images","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","products","images"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"f772f17d-fb41-47ac-99eb-f160c6ce8740","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"product_id","value":"2","type":"text"},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","src":"/C:/Users/ASUS/Downloads/botol minum.png"}]},"url":"localhost:8000/api/v1/products/images"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:07:19 GMT"},{"key":"Content-Length","value":"194"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menambahkan foto pada produk\",\n    \"data\": {\n        \"id\": 2,\n        \"product_id\": 2,\n        \"image_url\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701162439/disappear/zj2bfudtgj6bixxuwz6w.png\"\n    }\n}"},{"id":"a01debdf-5da9-46bf-8d3d-5a6bd0ea8119","name":"Failed Case: Product Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"product_id","value":"3","type":"text"},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","src":"/C:/Users/ASUS/Downloads/botol minum.png"}]},"url":"localhost:8000/api/v1/products/images"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:11:26 GMT"},{"key":"Content-Length","value":"73"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menambahkan foto pada produk: produk tidak ditemukan\"\n}"},{"id":"a446b0c4-f26f-4f1a-b205-a12354cc7cf7","name":"Failed Case: Invalid Product ID","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"product_id","value":"a","type":"text"},{"key":"photo","type":"file","value":null}]},"url":"localhost:8000/api/v1/products/images"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:13:24 GMT"},{"key":"Content-Length","value":"58"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format input yang anda masukan tidak sesuai\"\n}"},{"id":"3d373e1d-4c2b-4720-8189-f48eae8d01eb","name":"Failed Case: Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"product_id","value":"1","type":"text"},{"key":"photo","type":"file","value":null}]},"url":"localhost:8000/api/v1/products/images"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 09:14:47 GMT"},{"key":"Content-Length","value":"57"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan:: Anda tidak memiliki izin\"\n}"}],"_postman_id":"96549ff8-dd25-476a-9684-fe77d5953b68"},{"name":"Delete image in Product","id":"0b2d2e92-370f-4cbb-be8b-ca3dec589fb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"localhost:8000/api/v1/products/:idProduct/image/:idImage","urlObject":{"path":["api","v1","products",":idProduct","image",":idImage"],"host":["localhost:8000"],"query":[],"variable":[{"id":"2b13834d-0f13-4d6e-a716-d3775df47cd1","description":{"content":"<p>Id product</p>\n","type":"text/plain"},"type":"any","value":"","key":"idProduct"},{"type":"any","value":"","key":"idImage"}]}},"response":[{"id":"4c1fa0fd-40f4-4e99-b826-f336d8c1814d","name":"Succes: Delete image","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://test.disappear-organization.my.id/api/v1/products/:idProduct/image/:idImage","protocol":"https","host":["test","disappear-organization","my","id"],"path":["api","v1","products",":idProduct","image",":idImage"],"variable":[{"key":"idProduct","value":"3"},{"key":"idImage","value":"9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 26 Nov 2023 09:03:17 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Wa2HWTvO4XhtKxXwxQ%2BUgd51oL%2BlhxU2pnIw7rs1GSd7%2FHETa3PiQg1cl3V3hOHVmD0dbX%2BWBF0V8kdYTn%2BvQEfkHk5ThtSu%2BSsF%2BtgXfTuGG5IyES6cujaDZ475YviPCmhm%2F5VyyXzpJIXlz%2BuDMaIwSf0%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82c0f5015eed098c-HKG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Image pada produk ini berhasil dhapus\"\n}"},{"id":"8e2e8e31-2d12-4852-a8c2-4c0bdd0dd0d8","name":"Failed: Product not found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://test.disappear-organization.my.id/api/v1/products/:idProduct/image/:idImage","protocol":"https","host":["test","disappear-organization","my","id"],"path":["api","v1","products",":idProduct","image",":idImage"],"variable":[{"key":"idProduct","value":"5"},{"key":"idImage","value":"99"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 26 Nov 2023 09:01:46 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"76"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=E8a6pl%2BfJUUPiddr60Fh1dZV9HfD1BK%2BD3DZ8hxV3JSF8m%2BcBpB2vWtlXlZRMliUb61NrCsECK4S9s%2BmRxSlIaPB8vZCPN98LDvYMbwhLJedDyNY4mTcgfh92l%2Bf4y1EyyDtQqU7T3VKooNKVaGN0GD6NJ8%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82c0f2daebb6098c-HKG"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menghapus image pada produk ini: produk tidak ditemukan\"\n}"},{"id":"7dbd084f-09dc-4dc6-b571-664a1c62a3a8","name":"Failed: Image not found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://test.disappear-organization.my.id/api/v1/products/:idProduct/image/:idImage","protocol":"https","host":["test","disappear-organization","my","id"],"path":["api","v1","products",":idProduct","image",":idImage"],"variable":[{"key":"idProduct","value":"3"},{"key":"idImage","value":"99"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 26 Nov 2023 09:02:44 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"91"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Cf%2B2pGN%2FczbeVQtlq4thrVpEIUl754L4lnxnduLtiVDsD2YsTeIihsRLFlOll1%2BlbRBF6Nk7nLtS6bNwVdIDRpD%2FLCpN0juWCYLkSd%2F3Np1k9mITuStk3OGsD83yxmmwcXMDXL7iXi%2Ba2TofkGc4WSKsFCI%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82c0f43c3f00098c-HKG"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menghapus image pada produk ini: image tidak ditemukan pada produk ini\"\n}"}],"_postman_id":"0b2d2e92-370f-4cbb-be8b-ca3dec589fb9"}],"id":"fef70e0a-b746-4e4f-9346-7af51932fa0c","_postman_id":"fef70e0a-b746-4e4f-9346-7af51932fa0c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}}}],"id":"33767ec6-9131-42d9-b219-540ea8baaf9c","_postman_id":"33767ec6-9131-42d9-b219-540ea8baaf9c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}}},{"name":"Reviews","item":[{"name":"Get Product Reviews","id":"1f51c6d5-c979-4fe7-be70-f7fca9ddce0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/products/reviews?page=1&search=botol&rating=sangat buruk","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","products","reviews"],"host":["localhost:8000"],"query":[{"description":{"content":"<p>nomor halaman</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>pencarian berdasarkan produk</p>\n","type":"text/plain"},"key":"search","value":"botol"},{"description":{"content":"<p>sangat buruk, buruk, sedang, baik, sangat baik</p>\n","type":"text/plain"},"key":"rating","value":"sangat buruk"}],"variable":[]}},"response":[{"id":"b19bcecf-8318-42d3-93eb-68c106b2869c","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/products/reviews?page=1&search=","host":["localhost:8000"],"path":["api","v1","products","reviews"],"query":[{"key":"page","value":"1","description":"nomor halaman"},{"key":"search","value":"","description":"pencarian berdasarkan produk"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 14:17:49 GMT"},{"key":"Content-Length","value":"267"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan daftar ulasan produk\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Botol Minum\",\n            \"rating\": 4.3,\n            \"total_review\": 4\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Alat Makan\",\n            \"rating\": 0,\n            \"total_review\": 0\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 1,\n        \"total_items\": 2,\n        \"next_page\": 1,\n        \"prev_page\": 1\n    }\n}"},{"id":"a740aaf1-9b4a-4a1c-b4f4-d8b5816b0b0f","name":"Failed Case: Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/products/reviews?page=1&search=","host":["localhost:8000"],"path":["api","v1","products","reviews"],"query":[{"key":"page","value":"1","description":"nomor halaman"},{"key":"search","value":"","description":"pencarian berdasarkan produk"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 14:18:11 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"1f51c6d5-c979-4fe7-be70-f7fca9ddce0c"},{"name":"Detail Product Reviews","id":"51ba0a78-b208-4138-b531-9d770c5cd30e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/reviews/detail/:id?page=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","reviews","detail",":id"],"host":["localhost:8000"],"query":[{"description":{"content":"<p>nomor halaman</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[{"description":{"content":"<p>id produk</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"e2e22c2a-be17-41c0-969a-8cb63a261027","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/reviews/detail/:id?page=1","host":["localhost:8000"],"path":["api","v1","reviews","detail",":id"],"query":[{"key":"page","value":"1","description":"nomor halaman"}],"variable":[{"key":"id","value":"1","description":"id produk"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 07 Dec 2023 05:45:23 GMT"},{"key":"Content-Length","value":"1348"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan ulasan produk\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Botol Minum\",\n        \"current_rating_five\": 1,\n        \"current_rating_four\": 3,\n        \"current_rating_three\": 0,\n        \"current_rating_two\": 0,\n        \"current_rating_one\": 0,\n        \"rating\": 4.3,\n        \"total_review\": 4,\n        \"reviews\": [\n            {\n                \"id\": 1,\n                \"user_id\": 1,\n                \"name\": \"Ini Anan\",\n                \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\",\n                \"rating\": 5,\n                \"description\": \"Saya suka produk ini\",\n                \"date\": \"2023-11-28T20:07:19+07:00\",\n                \"photo\": [\n                    {\n                        \"id\": 1,\n                        \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701177758/disappear/q37t8yme8klhc7k25gxv.png\"\n                    }\n                ]\n            },\n            {\n                \"id\": 2,\n                \"user_id\": 1,\n                \"name\": \"Ini Anan\",\n                \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\",\n                \"rating\": 4,\n                \"description\": \"Saya suka produk ini\",\n                \"date\": \"2023-11-28T20:26:51+07:00\",\n                \"photo\": null\n            },\n            {\n                \"id\": 3,\n                \"user_id\": 1,\n                \"name\": \"Ini Anan\",\n                \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\",\n                \"rating\": 4,\n                \"description\": \"Saya suka produk\",\n                \"date\": \"2023-11-28T20:27:44+07:00\",\n                \"photo\": null\n            },\n            {\n                \"id\": 4,\n                \"user_id\": 1,\n                \"name\": \"Ini Anan\",\n                \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\",\n                \"rating\": 4,\n                \"description\": \"Bagus sekali\",\n                \"date\": \"2023-11-28T20:28:37+07:00\",\n                \"photo\": null\n            }\n        ]\n    }\n}"},{"id":"f62b05e5-dee4-42ee-bfc4-8f482819d8f2","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/reviews/detail/:id?page=1","host":["localhost:8000"],"path":["api","v1","reviews","detail",":id"],"query":[{"key":"page","value":"1","description":"nomor halaman"}],"variable":[{"key":"id","value":"5","description":"id produk"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 14:21:47 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"51ba0a78-b208-4138-b531-9d770c5cd30e"}],"id":"d6600340-7642-405d-b0bc-036e42718c29","_postman_id":"d6600340-7642-405d-b0bc-036e42718c29","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}}},{"name":"User","item":[{"name":"Get All User","id":"b6e9443b-9cff-4e96-8ed4-81df514c4f8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/users?page=1&search=Admin&filter=silver","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","users"],"host":["localhost:8000"],"query":[{"key":"page","value":"1"},{"description":{"content":"<p>pencarian</p>\n","type":"text/plain"},"key":"search","value":"Admin"},{"description":{"content":"<p>bronze, silver, gold</p>\n","type":"text/plain"},"key":"filter","value":"silver"}],"variable":[]}},"response":[{"id":"c880da01-4d5a-4a71-a1a0-a49b3e786dcf","name":"Failed Case: Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/users?page=1&search=Anan","host":["localhost:8000"],"path":["api","v1","users"],"query":[{"key":"page","value":"1"},{"key":"search","value":"Anan","type":"text"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 04:06:33 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"4a895fd7-0667-41c2-ac7c-e0bfd7317447","name":"Failed Case Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/users?page=1&search=Anan","host":["localhost:8000"],"path":["api","v1","users"],"query":[{"key":"page","value":"1"},{"key":"search","value":"Anan","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 04:07:12 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"a9c29a72-c3d9-4a7d-b4f1-2dc8ee8cfbcc","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/users?page=1&search=Admin&filter=silver","host":["localhost:8000"],"path":["api","v1","users"],"query":[{"key":"page","value":"1"},{"key":"search","value":"Admin","description":"pencarian"},{"key":"filter","value":"silver","description":"bronze, silver, gold"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 07 Dec 2023 17:32:29 GMT"},{"key":"Content-Length","value":"416"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan daftar customer\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"email\": \"user@gmail.com\",\n            \"role\": \"customer\",\n            \"name\": \"Ini Anan\",\n            \"phone\": \"08123412423\",\n            \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\",\n            \"total_gram\": 480,\n            \"total_challenge\": 0,\n            \"level\": \"Silver\",\n            \"exp\": 624\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 1,\n        \"total_items\": 1,\n        \"next_page\": 1,\n        \"prev_page\": 1\n    }\n}"}],"_postman_id":"b6e9443b-9cff-4e96-8ed4-81df514c4f8d"},{"name":"Get User By ID","id":"d2311e51-dcea-4ebc-80e1-4bc829121969","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/users/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","users",":id"],"host":["localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>id pengguna</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"3b857966-844a-4e0f-b5e8-3bceb96d097f","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/users/:id","host":["localhost:8000"],"path":["api","v1","users",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 04:03:32 GMT"},{"key":"Content-Length","value":"567"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapat detail pengguna\",\n    \"data\": {\n        \"id\": 1,\n        \"email\": \"anan.widi1@gmail.com\",\n        \"role\": \"customer\",\n        \"name\": \"Ini Anan\",\n        \"phone\": \"08123412423\",\n        \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\",\n        \"total_gram\": 100,\n        \"total_challenge\": 0,\n        \"is_verified\": true,\n        \"level\": \"Bronze\",\n        \"exp\": 175,\n        \"addresses\": [\n            {\n                \"id\": 1,\n                \"accepted_name\": \"Bambang Baru 5\",\n                \"street\": \"Jalan merdeka\",\n                \"sub_district\": \"Central District\",\n                \"city\": \"Metropolis\",\n                \"province\": \"Gotham\",\n                \"postal_code\": 12345,\n                \"note\": \"Near the park\",\n                \"is_primary\": true\n            }\n        ]\n    }\n}"},{"id":"6e56034d-218f-49cf-9213-0be883760da5","name":"Failed Case: Unathorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/users/:id","host":["localhost:8000"],"path":["api","v1","users",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 04:04:40 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"fbe318b8-2441-4165-a8a0-1e71c2cc1d00","name":"Failed Case: User Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/users/:id","host":["localhost:8000"],"path":["api","v1","users",":id"],"variable":[{"key":"id","value":"3","description":"id pengguna"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 04:05:14 GMT"},{"key":"Content-Length","value":"74"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan detail pengguna: pengguna tidak ditemukan\"\n}"}],"_postman_id":"d2311e51-dcea-4ebc-80e1-4bc829121969"},{"name":"Delete Account","id":"e6b77595-34e5-46aa-8559-009bfde05a36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://test.disappear-organization.my.id/api/v1/users/:id","urlObject":{"path":["api","v1","users",":id"],"host":["https://test.disappear-organization.my.id"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[{"id":"3e046003-26d8-484b-9212-8824d94b4978","name":"Success Case","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/users/:id","host":["localhost:8000"],"path":["api","v1","users",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 04:36:48 GMT"},{"key":"Content-Length","value":"38"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil hapus pengguna\"\n}"},{"id":"4a3694c2-1953-4e26-af83-1e30b89cf441","name":"Failed Case: User Not Found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/users/:id","host":["localhost:8000"],"path":["api","v1","users",":id"],"variable":[{"key":"id","value":"100"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 04:35:31 GMT"},{"key":"Content-Length","value":"65"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menghapus pengguna: pengguna tidak ditemukan\"\n}"},{"id":"ceae37d5-7de3-417d-a2dc-1edf5799202c","name":"Failed Case: Forbidden","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/users/:id","host":["localhost:8000"],"path":["api","v1","users",":id"],"variable":[{"key":"id","value":""}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 04:36:19 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"e6b77595-34e5-46aa-8559-009bfde05a36"},{"name":"Get Activities","id":"e0143191-9261-4a3e-9d5d-6f58c01f7498","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/users/get-activities/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","users","get-activities",":id"],"host":["localhost:8000"],"query":[{"disabled":true,"key":"","value":null}],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[{"id":"a27c8ddb-a0f7-4b27-bc3d-73c010ea60cc","name":"SuccessCase","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/users/get-activities/:id","host":["localhost:8000"],"path":["api","v1","users","get-activities",":id"],"query":[{"key":"","value":null,"type":"text","disabled":true}],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 15:28:42 GMT"},{"key":"Content-Length","value":"210"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan data aktivitas customer\",\n    \"data\": {\n        \"num_successful_orders\": 2,\n        \"num_failed_orders\": 1,\n        \"total_orders\": 3,\n        \"num_successful_challenges\": 2,\n        \"num_failed_challenges\": 1,\n        \"total_challenges\": 3\n    }\n}"},{"id":"adffe83d-5e42-4fc9-9276-0c5ece91f899","name":"Failed Case: User Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/users/get-activities/:id","host":["localhost:8000"],"path":["api","v1","users","get-activities",":id"],"query":[{"key":"","value":null,"type":"text","disabled":true}],"variable":[{"key":"id","value":"10"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 15:31:01 GMT"},{"key":"Content-Length","value":"82"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan data aktivitas customer: pengguna tidak ditemukan\"\n}"},{"id":"1885a9e5-bbaa-4ea8-a250-c760667cc967","name":"Failed Case: Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/users/get-activities/:id","host":["localhost:8000"],"path":["api","v1","users","get-activities",":id"],"query":[{"key":"","value":null,"type":"text","disabled":true}],"variable":[{"key":"id","value":"1"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 15:31:28 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"e0143191-9261-4a3e-9d5d-6f58c01f7498"}],"id":"8fcb22a6-3c75-44a3-b2cd-741601215a9a","description":"<p>The <code>/users</code> endpoints let you manage information about the authenticated user.</p>\n","event":[{"listen":"prerequest","script":{"id":"4888bba9-cbf8-4d8a-8698-8ed2f8a261f0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"539b5729-ea9b-4dfa-a569-231e30e28eb9","type":"text/javascript","exec":[""]}}],"_postman_id":"8fcb22a6-3c75-44a3-b2cd-741601215a9a","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}}},{"name":"Order","item":[{"name":"Get Order By Id","id":"681ed5a5-1929-4969-b92c-4b61b632e71f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/order/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","order",":id"],"host":["localhost:8000"],"query":[],"variable":[{"description":{"content":"<p>id order</p>\n","type":"text/plain"},"type":"any","value":"598347e2-7e58-4905-bc8a-89d8240416b5","key":"id"}]}},"response":[{"id":"b62c4ba7-545d-431d-93f6-836145184b29","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/order/:id","host":["localhost:8000"],"path":["api","v1","order",":id"],"variable":[{"key":"id","value":"dffa9e60-4745-46b5-9582-2ff5b0a451ef","description":"id order"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 12:26:27 GMT"},{"key":"Content-Length","value":"1557"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan detail pesanan\",\n    \"data\": {\n        \"id\": \"dffa9e60-4745-46b5-9582-2ff5b0a451ef\",\n        \"address_id\": 1,\n        \"user_id\": 1,\n        \"voucher_id\": 1,\n        \"note\": \"Jangan sampai tumpah\",\n        \"grand_total_gram_plastic\": 100,\n        \"grand_total_exp\": 175,\n        \"grand_total_quantity\": 5,\n        \"grand_total_price\": 1000000,\n        \"shipment_fee\": 24000,\n        \"admin_fees\": 2000,\n        \"grand_total_discount\": 250000,\n        \"total_amount_paid\": 1016000,\n        \"order_status\": \"Menunggu Konfirmasi\",\n        \"payment_status\": \"Menunggu Konfirmasi\",\n        \"payment_url\": \"\",\n        \"created_at\": \"2023-11-28T19:22:09+07:00\",\n        \"address\": {\n            \"id\": 1,\n            \"user_id\": 1,\n            \"accepted_name\": \"Bambang Baru 5\",\n            \"street\": \"Jalan merdeka\",\n            \"sub_district\": \"Central District\",\n            \"city\": \"Metropolis\",\n            \"province\": \"Gotham\",\n            \"postal_code\": 12345,\n            \"note\": \"Near the park\"\n        },\n        \"user\": {\n            \"id\": 1,\n            \"email\": \"anan.widi1@gmail.com\",\n            \"phone\": \"08123412423\",\n            \"name\": \"Ini Anan\",\n            \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\"\n        },\n        \"voucher\": {\n            \"id\": 1,\n            \"name\": \"Hari Raya Disappear\",\n            \"code\": \"KUPON12SAS4312311\",\n            \"category\": \"All Customer\",\n            \"description\": \"Diskon RP10000 untuk semua produk\",\n            \"discount\": 10000,\n            \"min_purchase\": 100000\n        },\n        \"order_details\": [\n            {\n                \"id\": 1,\n                \"order_id\": \"dffa9e60-4745-46b5-9582-2ff5b0a451ef\",\n                \"product_id\": 1,\n                \"quantity\": 5,\n                \"total_gram_plastic\": 100,\n                \"total_exp\": 175,\n                \"total_price\": 1000000,\n                \"total_discount\": 250000,\n                \"product\": {\n                    \"id\": 1,\n                    \"name\": \"Botol Minum\",\n                    \"price\": 250000,\n                    \"discount\": 50000,\n                    \"gram_plastic\": 20,\n                    \"product_exp\": 35,\n                    \"product_photos\": [\n                        {\n                            \"id\": 1,\n                            \"product_id\": 1,\n                            \"url\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701162429/disappear/alky9wemgaqgetgmr2pw.png\"\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}"},{"id":"d8b23529-6917-4a2d-83b6-5a46f3a16a47","name":"Failed Case: Order Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/order/:id","host":["localhost:8000"],"path":["api","v1","order",":id"],"variable":[{"key":"id","value":"d97ba9a9-81e3-4b5c-9892-2506fd5c7edbs","description":"id order"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 05:41:23 GMT"},{"key":"Content-Length","value":"74"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan detail pesanan: gagal mendapatkan pesanan\"\n}"},{"id":"e77362cb-2c68-4590-892f-90f2181def0a","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/order/:id","host":["localhost:8000"],"path":["api","v1","order",":id"],"variable":[{"key":"id","value":"d97ba9a9-81e3-4b5c-9892-2506fd5c7edb","description":"id order"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 05:42:36 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"681ed5a5-1929-4969-b92c-4b61b632e71f"},{"name":"Get All Order","id":"78a714a8-24bc-4cff-8f74-d4cdea803f31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/order?page=1&search=Anan&status_filter=Pengiriman&date_filter=Tahun Ini","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","order"],"host":["localhost:8000"],"query":[{"description":{"content":"<p>halaman</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>pencarian</p>\n","type":"text/plain"},"key":"search","value":"Anan"},{"description":{"content":"<p>Menunggu Konfirmasi, Proses, Pengiriman, Selesai, Gagal</p>\n","type":"text/plain"},"key":"status_filter","value":"Pengiriman"},{"description":{"content":"<p>Minggu Ini , Bulan Ini, Tahun Ini</p>\n","type":"text/plain"},"key":"date_filter","value":"Tahun Ini"}],"variable":[]}},"response":[{"id":"c46a4e3d-63f1-4f72-9515-4d24e5e30d5e","name":"Failed Case: Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/order?page=1","host":["localhost:8000"],"path":["api","v1","order"],"query":[{"key":"page","value":"1"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 05:42:09 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"3383fcfd-add6-4fec-927e-f535aeb539b6","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/order?page=1","host":["localhost:8000"],"path":["api","v1","order"],"query":[{"key":"page","value":"1","description":"halaman"},{"key":"search","value":"Anan","description":"pencarian","disabled":true},{"key":"status_filter","value":"Pengiriman","description":"Menunggu Konfirmasi, Proses, Pengiriman, Selesai, Gagal","disabled":true},{"key":"date_filter","value":"Tahun Ini","description":"Minggu Ini , Bulan Ini, Tahun Ini","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 07 Dec 2023 09:05:09 GMT"},{"key":"Content-Length","value":"1872"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan daftar pesanan\",\n    \"data\": [\n        {\n            \"id\": \"bc306df7-4681-4bee-9164-ecbe221e4c8a\",\n            \"id_order\": \"P00PRL011\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 139000,\n            \"order_status\": \"Selesai\",\n            \"created_at\": \"2023-12-04T16:54:12+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        },\n        {\n            \"id\": \"4fa4dee3-e9bd-4d60-923c-9cf6d6d4a611\",\n            \"id_order\": \"P00PRL010\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 51000,\n            \"order_status\": \"Gagal\",\n            \"created_at\": \"2023-12-04T10:17:54+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        },\n        {\n            \"id\": \"ce4a2894-ac28-4599-954e-07fb7a7a198f\",\n            \"id_order\": \"P00PRL008\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 11000,\n            \"order_status\": \"Menunggu Konfirmasi\",\n            \"created_at\": \"2023-12-04T09:07:44+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        },\n        {\n            \"id\": \"ce14424d-5a8e-4559-8610-fcc3a559cf26\",\n            \"id_order\": \"P00PRL007\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 11000,\n            \"order_status\": \"Menunggu Konfirmasi\",\n            \"created_at\": \"2023-12-04T09:04:22+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        },\n        {\n            \"id\": \"bffd7c22-c0ad-4a77-ae46-58b327f2f8a5\",\n            \"id_order\": \"P00PRL005\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 11000,\n            \"order_status\": \"Menunggu Konfirmasi\",\n            \"created_at\": \"2023-12-04T08:59:47+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        },\n        {\n            \"id\": \"bb2554a4-3700-4d8e-831d-a5a877d7a291\",\n            \"id_order\": \"P00PRL004\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 11000,\n            \"order_status\": \"Menunggu Konfirmasi\",\n            \"created_at\": \"2023-12-04T08:59:26+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        },\n        {\n            \"id\": \"b6410839-4720-4376-9661-9851a1276d7b\",\n            \"id_order\": \"P00PRL003\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 35000,\n            \"order_status\": \"Menunggu Konfirmasi\",\n            \"created_at\": \"2023-12-02T16:34:46+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        },\n        {\n            \"id\": \"59a20786-1b0e-4284-9603-59e64e1e2c1a\",\n            \"id_order\": \"P00PRL002\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 35000,\n            \"order_status\": \"Menunggu Konfirmasi\",\n            \"created_at\": \"2023-12-02T16:23:34+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 2,\n        \"total_items\": 11,\n        \"next_page\": 2,\n        \"prev_page\": 1\n    }\n}"}],"_postman_id":"78a714a8-24bc-4cff-8f74-d4cdea803f31"},{"name":"Get All Payment","id":"e68e3d15-0448-4a5a-9e3d-9f706713f19f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/order/payment?page=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","order","payment"],"host":["localhost:8000"],"query":[{"description":{"content":"<p>halaman</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>pencarian</p>\n","type":"text/plain"},"key":"search","value":"Admin"},{"disabled":true,"description":{"content":"<p>Menunggu Konfirmasi, Konfirmasi, Gagal</p>\n","type":"text/plain"},"key":"status_filter","value":"Menunggu Konfirmasi"},{"disabled":true,"description":{"content":"<p>Minggu Ini , Bulan Ini, Tahun Ini</p>\n","type":"text/plain"},"key":"date_filter","value":"Minggu Ini"}],"variable":[]}},"response":[{"id":"4ea1bc34-4c88-44b9-830a-e590bd5ac178","name":"Failed Case: Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/order?page=1","host":["localhost:8000"],"path":["api","v1","order"],"query":[{"key":"page","value":"1"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 05:42:09 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"6914c24f-3f64-4cd0-8bb4-e6170084d94d","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/order/payment?page=1","host":["localhost:8000"],"path":["api","v1","order","payment"],"query":[{"key":"page","value":"1","description":"halaman"},{"key":"search","value":"Admin","description":"pencarian","disabled":true},{"key":"status_filter","value":"Menunggu Konfirmasi","description":"Menunggu Konfirmasi, Konfirmasi, Gagal","disabled":true},{"key":"date_filter","value":"Minggu Ini","description":"Minggu Ini , Bulan Ini, Tahun Ini","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 07 Dec 2023 09:04:53 GMT"},{"key":"Content-Length","value":"1894"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan daftar pembayaran\",\n    \"data\": [\n        {\n            \"id\": \"bc306df7-4681-4bee-9164-ecbe221e4c8a\",\n            \"id_order\": \"P00PRL011\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 139000,\n            \"payment_status\": \"Menunggu Konfirmasi\",\n            \"created_at\": \"2023-12-04T16:54:12+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        },\n        {\n            \"id\": \"4fa4dee3-e9bd-4d60-923c-9cf6d6d4a611\",\n            \"id_order\": \"P00PRL010\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 51000,\n            \"payment_status\": \"Menunggu Konfirmasi\",\n            \"created_at\": \"2023-12-04T10:17:54+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        },\n        {\n            \"id\": \"ce4a2894-ac28-4599-954e-07fb7a7a198f\",\n            \"id_order\": \"P00PRL008\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 11000,\n            \"payment_status\": \"Menunggu Konfirmasi\",\n            \"created_at\": \"2023-12-04T09:07:44+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        },\n        {\n            \"id\": \"ce14424d-5a8e-4559-8610-fcc3a559cf26\",\n            \"id_order\": \"P00PRL007\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 11000,\n            \"payment_status\": \"Menunggu Konfirmasi\",\n            \"created_at\": \"2023-12-04T09:04:22+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        },\n        {\n            \"id\": \"bffd7c22-c0ad-4a77-ae46-58b327f2f8a5\",\n            \"id_order\": \"P00PRL005\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 11000,\n            \"payment_status\": \"Menunggu Konfirmasi\",\n            \"created_at\": \"2023-12-04T08:59:47+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        },\n        {\n            \"id\": \"bb2554a4-3700-4d8e-831d-a5a877d7a291\",\n            \"id_order\": \"P00PRL004\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 11000,\n            \"payment_status\": \"Menunggu Konfirmasi\",\n            \"created_at\": \"2023-12-04T08:59:26+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        },\n        {\n            \"id\": \"b6410839-4720-4376-9661-9851a1276d7b\",\n            \"id_order\": \"P00PRL003\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 35000,\n            \"payment_status\": \"Konfirmasi\",\n            \"created_at\": \"2023-12-02T16:34:46+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        },\n        {\n            \"id\": \"59a20786-1b0e-4284-9603-59e64e1e2c1a\",\n            \"id_order\": \"P00PRL002\",\n            \"user_id\": 1,\n            \"total_amount_paid\": 35000,\n            \"payment_status\": \"Gagal\",\n            \"created_at\": \"2023-12-02T16:23:34+07:00\",\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"Ini Anan\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 2,\n        \"total_items\": 11,\n        \"next_page\": 2,\n        \"prev_page\": 1\n    }\n}"}],"_postman_id":"e68e3d15-0448-4a5a-9e3d-9f706713f19f"},{"name":"Confirm Payment","id":"8d4ada7f-8c1a-4dbe-b741-e60b46314b05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"localhost:8000/api/v1/order/confirm/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","order","confirm",":id"],"host":["localhost:8000"],"query":[],"variable":[{"type":"any","value":"f9fbe4ba-2399-4a9b-a9f3-9f5465985695","key":"id"}]}},"response":[{"id":"22449781-94f1-40d0-a2e5-0327353a3402","name":"Success Case","originalRequest":{"method":"POST","header":[],"url":{"raw":"localhost:8000/api/v1/order/confirm/:id","host":["localhost:8000"],"path":["api","v1","order","confirm",":id"],"variable":[{"key":"id","value":"dffa9e60-4745-46b5-9582-2ff5b0a451ef"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 28 Nov 2023 12:27:54 GMT"},{"key":"Content-Length","value":"74"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Pembayaran berhasil dikonfimasi, silahkan memproses pesanan\"\n}"},{"id":"1d8cfbaa-ec59-4d31-8d85-2de092a6cdc8","name":"Failed Case: Order Not Found","originalRequest":{"method":"POST","header":[],"url":{"raw":"localhost:8000/api/v1/order/confirm/:id","host":["localhost:8000"],"path":["api","v1","order","confirm",":id"],"variable":[{"key":"id","value":"dffa9e60-4745-46b5-9582-2ff5b0a451efs"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 05:44:41 GMT"},{"key":"Content-Length","value":"64"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mmelakukan pesanan: pesanan tidak ditemukan\"\n}"},{"id":"5e56bcd1-35c5-4aa3-b3a5-1aaf6d51c31f","name":"Failed Case: Forbidden","originalRequest":{"method":"POST","header":[],"url":{"raw":"localhost:8000/api/v1/order/confirm/:id","host":["localhost:8000"],"path":["api","v1","order","confirm",":id"],"variable":[{"key":"id","value":"dffa9e60-4745-46b5-9582-2ff5b0a451efs"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 05:45:12 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"8d4ada7f-8c1a-4dbe-b741-e60b46314b05"},{"name":"Cancle Payment","id":"e38bf681-9987-450e-8eaa-c3089d40ab3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"localhost:8000/api/v1/order/cancel/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","order","cancel",":id"],"host":["localhost:8000"],"query":[],"variable":[{"type":"any","value":"f9fbe4ba-2399-4a9b-a9f3-9f5465985695","key":"id"}]}},"response":[{"id":"e449475e-1ad7-4e01-af19-69ccc26f588f","name":"Success Case","originalRequest":{"method":"POST","header":[],"url":{"raw":"localhost:8000/api/v1/order/cancel/:id","host":["localhost:8000"],"path":["api","v1","order","cancel",":id"],"variable":[{"key":"id","value":"c552944a-f376-4f9c-91db-3ca924258cfc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 07:02:11 GMT"},{"key":"Content-Length","value":"45"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Pembayaran berhasil dibatalkan\"\n}"},{"id":"dcda0570-b7e4-4bb5-81d3-137ba17bb70b","name":"Failed Case: Order Not Found","originalRequest":{"method":"POST","header":[],"url":{"raw":"localhost:8000/api/v1/order/cancel/:id","host":["localhost:8000"],"path":["api","v1","order","cancel",":id"],"variable":[{"key":"id","value":"c552944a-f376-4f9c-91db-3ca924258cf"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 07:03:09 GMT"},{"key":"Content-Length","value":"64"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mmelakukan pesanan: pesanan tidak ditemukan\"\n}"},{"id":"e8d0432d-e6fe-4939-985e-146d266faeef","name":"Failed Case: Forbidden","originalRequest":{"method":"POST","header":[],"url":{"raw":"localhost:8000/api/v1/order/cancel/:id","host":["localhost:8000"],"path":["api","v1","order","cancel",":id"],"variable":[{"key":"id","value":"c552944a-f376-4f9c-91db-3ca924258cf"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 07:03:48 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"e38bf681-9987-450e-8eaa-c3089d40ab3e"},{"name":"Update Order Status","id":"ecd268f8-2871-4ecf-a80b-3e6499168b18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"order_id\": \"0af933c0-b30e-4a4d-9e20-e46917180945\",\r\n  \"status_order_date\": \"2023-12-01T12:00:00Z\",\r\n  \"order_status\": \"Gagal\",\r\n  \"extra_info\": \"Dalam proses pengiriman\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order/update-order","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","order","update-order"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"8d4124c6-45dd-4fe3-b698-3c5b08666a38","name":"Success Case","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"order_id\": \"926bedd1-f789-40ac-aa4b-f70734df1bd1\",\r\n  \"status_order_date\": \"2023-12-01T12:00:00Z\",\r\n  \"order_status\": \"Pengiriman\",\r\n  \"extra_info\": \"Dalam proses pengiriman\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order/update-order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 09:00:28 GMT"},{"key":"Content-Length","value":"50"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil memperbarui status pesanan\"\n}"},{"id":"eec2d3a0-b169-4497-ad0a-9aaa88f5314b","name":"Failed Case: Order Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"order_id\": \"926bedd1-f789-40ac-aa4b-f70734df1b\",\r\n  \"status_order_date\": \"2023-12-01T12:00:00Z\",\r\n  \"order_status\": \"Pengiriman\",\r\n  \"extra_info\": \"Dalam proses pengiriman\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order/update-order"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 09:01:09 GMT"},{"key":"Content-Length","value":"72"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal memperbarui status pesanan: pesanan tidak ditemukan\"\n}"},{"id":"24e9e84f-572f-454b-a22a-6fa9613f38c1","name":"Failed Case: Forbidden","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"order_id\": \"926bedd1-f789-40ac-aa4b-f70734df1bd1\",\r\n  \"status_order_date\": \"2023-12-01T12:00:00Z\",\r\n  \"order_status\": \"Pengiriman\",\r\n  \"extra_info\": \"Dalam proses pengiriman\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/order/update-order"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Sat, 02 Dec 2023 09:01:52 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"ecd268f8-2871-4ecf-a80b-3e6499168b18"}],"id":"06c031c0-7b5a-4b55-b961-0c0996264227","_postman_id":"06c031c0-7b5a-4b55-b961-0c0996264227","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}}},{"name":"Challenge","item":[{"name":"Get Challenge By Id","id":"e74fe6a1-535d-4cef-9a2f-6e0a5a8e2a6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Post Ig","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/bibi/Pictures/butterfly.jpg"},{"key":"start_date","value":"2023-11-14T17:05:44.664+07:00","type":"text"},{"key":"end_date","value":"2023-11-18T19:05:44.664+07:00","type":"text"},{"key":"description","value":"Mari Go Green","type":"text"},{"key":"exp","value":"100","type":"text"}]},"url":"http://localhost:8000/api/v1/challenges/7","description":"<p>This endpoint makes an HTTP GET request to retrieve the details of a specific challenge with the ID 7. The request does not require any parameters in the form-data request body.</p>\n<p>The response will include a message indicating the success of retrieving the challenge details, along with the data object containing the specific details of the challenge. The data object includes the ID, title, photo URL, start date, end date, description, status, and experience points (exp) associated with the challenge.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","v1","challenges","7"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"56a9e669-a983-4ef5-94b0-a42a3067a318","name":"Succes Case: Get By Id","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/7"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:32:45 GMT"},{"key":"Content-Length","value":"357"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan detail tantangan\",\n    \"data\": {\n        \"id\": 7,\n        \"title\": \"Post empat\",\n        \"photo\": \"https://res.cloudinary.com/djcejypm1/image/upload/v1701250079/disappear/mssag3iynt5xxly8lgru.jpg\",\n        \"start_date\": \"2023-11-14T17:05:45+07:00\",\n        \"end_date\": \"2023-12-20T19:05:45+07:00\",\n        \"description\": \"Mari hijaukan sosial media\",\n        \"status\": \"Belum Kadaluwarsa\",\n        \"exp\": 50\n    }\n}"},{"id":"aa9121b1-e9bd-4abd-ab33-7316e5348fa1","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/7"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:33:51 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"7b5046b3-1e21-4b20-9dbd-60356c65ca52","name":"Failed Case: Not Found","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/30"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:34:31 GMT"},{"key":"Content-Length","value":"76"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan detail tantangan: tantangan tidak ditemukan\"\n}"},{"id":"699067d5-426f-47d2-a576-bd8891d26c6c","name":"Failed Case: Bad Request","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/30gfg"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:35:09 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format ID yang Anda masukkan tidak sesuai\"\n}"}],"_postman_id":"e74fe6a1-535d-4cef-9a2f-6e0a5a8e2a6b"},{"name":"Create Challenge","id":"1ddb6a2f-2218-426e-a8b6-2140a84dccd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Tantangan Post Green","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/bibi/Pictures/butterfly.jpg"},{"key":"start_date","value":"2023-11-14T17:05:44.664+07:00","type":"text"},{"key":"end_date","value":"2023-12-20T19:05:44.664+07:00","type":"text"},{"key":"description","value":"Mari hijaukan sosial media","type":"text"},{"key":"exp","value":"50","type":"text"}]},"url":"http://localhost:8000/api/v1/challenges","description":"<h2 id=\"add-challenge\">Add Challenge</h2>\n<p>This endpoint allows you to add a new challenge.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li>form-data<ul>\n<li>No additional parameters required.</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li>message: A message indicating the success of adding the challenge.</li>\n<li>data<ul>\n<li>id: The unique identifier of the added challenge.</li>\n<li>title: The title of the challenge.</li>\n<li>photo: The URL of the challenge photo.</li>\n<li>start_date: The start date and time of the challenge.</li>\n<li>end_date: The end date and time of the challenge.</li>\n<li>description: The description of the challenge.</li>\n<li>status: The status of the challenge.</li>\n<li>exp: The experience points associated with the challenge.</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","challenges"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3ba9f90f-b36a-4c92-82e7-43c7c537b90f","name":"Succes Case: Created","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Tantangan Post Green","type":"text"},{"key":"photo","type":"file","src":["/C:/Users/bibi/Pictures/butterfly.jpg"]},{"key":"start_date","value":"2023-11-14T17:05:44.664+07:00","type":"text"},{"key":"end_date","value":"2023-12-20T19:05:44.664+07:00","type":"text"},{"key":"description","value":"Mari hijaukan sosial media","type":"text"},{"key":"exp","value":"50","type":"text"}]},"url":"http://localhost:8000/api/v1/challenges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 07:38:05 GMT"},{"key":"Content-Length","value":"368"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menambahkan tantangan\",\n    \"data\": {\n        \"id\": 2,\n        \"title\": \"Tantangan Post Green\",\n        \"photo\": \"https://res.cloudinary.com/djcejypm1/image/upload/v1701246484/disappear/qv5ayk8l8vzhiw01kzqg.jpg\",\n        \"start_date\": \"2023-11-14T17:05:44.664+07:00\",\n        \"end_date\": \"2023-12-20T19:05:44.664+07:00\",\n        \"description\": \"Mari hijaukan sosial media\",\n        \"status\": \"Belum Kadaluwarsa\",\n        \"exp\": 50\n    }\n}"},{"id":"2dbdedcc-38d7-40b2-ae08-b644c4f04d4a","name":"Failed Case: Error Validating","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Tantangan Post Green","type":"text","disabled":true},{"key":"photo","type":"file","src":["/C:/Users/bibi/Pictures/butterfly.jpg"]},{"key":"start_date","value":"2023-11-14T17:05:44.664+07:00","type":"text"},{"key":"end_date","value":"2023-12-20T19:05:44.664+07:00","type":"text","disabled":true},{"key":"description","value":"Mari hijaukan sosial media","type":"text"},{"key":"exp","value":"50","type":"text"}]},"url":"http://localhost:8000/api/v1/challenges"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 07:41:07 GMT"},{"key":"Content-Length","value":"235"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validasi gagal: Key: 'CreateChallengeRequest.Title' Error:Field validation for 'Title' failed on the 'required' tag\\nKey: 'CreateChallengeRequest.EndDate' Error:Field validation for 'EndDate' failed on the 'required' tag\"\n}"},{"id":"48bf68da-01f9-4597-afaf-1d1083e45f21","name":"Failed Case: Error Binding Data","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Tantangan Post Green","type":"text"},{"key":"photo","type":"file","src":["/C:/Users/bibi/Pictures/butterfly.jpg"]},{"key":"start_date","value":"2023-11-14T17:05:44.664+07:00","type":"text"},{"key":"end_date","value":"2023-12-20T19","type":"text"},{"key":"description","value":"Mari hijaukan sosial media","type":"text"},{"key":"exp","value":"50","type":"text"}]},"url":"http://localhost:8000/api/v1/challenges"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 07:45:11 GMT"},{"key":"Content-Length","value":"59"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format input yang Anda masukkan tidak sesuai\"\n}"},{"id":"9e818dfe-074b-4020-a34e-cdc8af61a604","name":"Failed Case: Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Tantangan Post Green","type":"text"},{"key":"photo","type":"file","src":["/C:/Users/bibi/Pictures/butterfly.jpg"]},{"key":"start_date","value":"2023-11-14T17:05:44.664+07:00","type":"text"},{"key":"end_date","value":"2023-12-20T19:05:44.664+07:00","type":"text"},{"key":"description","value":"Mari hijaukan sosial media","type":"text"},{"key":"exp","value":"50","type":"text"}]},"url":"http://localhost:8000/api/v1/challenges"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 07:49:19 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"24ef9711-ed76-48f6-9c54-aa091f90b986","name":"Failed Case: Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Tantangan Post Green","type":"text"},{"key":"photo","type":"file","src":["/C:/Users/bibi/Pictures/butterfly.jpg"]},{"key":"start_date","value":"2023-11-14T17:05:44.664+07:00","type":"text"},{"key":"end_date","value":"2023-12-20T19:05:44.664+07:00","type":"text"},{"key":"description","value":"Mari hijaukan sosial media","type":"text"},{"key":"exp","value":"50","type":"text"}]},"url":"http://localhost:8000/api/v1/challenges"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 07:47:53 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"1ddb6a2f-2218-426e-a8b6-2140a84dccd8"},{"name":"Update Challenge","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"a159664b-58ec-4f63-b812-b587904b71d7"}}],"id":"2dc8b72a-138e-4563-81da-4ced4f36ad25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Update ID 2","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/bibi/Pictures/geprek.jpg"},{"key":"start_date","value":"2023-11-14T17:05:44.664+07:00","type":"text","disabled":true},{"key":"end_date","value":"2023-11-28T19:05:44.664+07:00","type":"text"},{"key":"description","value":"Mari hijaukan sosial media","type":"text","disabled":true},{"key":"exp","value":"100","type":"text"}]},"url":"http://localhost:8000/api/v1/challenges/2","description":"<p>This API endpoint sends an HTTP PUT request to update a specific challenge with the ID 2. The request should include a form-data request body type. The response will contain a message indicating whether the challenge update was successful.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","challenges","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0b6c03c7-104a-4349-bddf-8726b902bc01","name":"Succes Case: Update Using Form Data","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Update ID 2","type":"text"},{"key":"photo","type":"file","src":["/C:/Users/bibi/Pictures/geprek.jpg"]},{"key":"start_date","value":"2023-11-14T17:05:44.664+07:00","type":"text","disabled":true},{"key":"end_date","value":"2023-11-28T19:05:44.664+07:00","type":"text"},{"key":"description","value":"Mari hijaukan sosial media","type":"text","disabled":true},{"key":"exp","value":"100","type":"text"}]},"url":"http://localhost:8000/api/v1/challenges/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 08:20:53 GMT"},{"key":"Content-Length","value":"45"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil memperbarui tantangan\"\n}"},{"id":"5688d95b-0a60-48a8-bc86-04f16ef5e477","name":"Succes Case: Update Using Json","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"exp\":300\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/challenges/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 08:06:35 GMT"},{"key":"Content-Length","value":"45"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil memperbarui tantangan\"\n}"},{"id":"59c0dc64-17f4-4e94-9cd1-4d8a584863ef","name":"Failed Case: Unauthorized","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"exp\":300\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/challenges/2"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 08:08:13 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"7131ca88-6961-4409-88d7-de375d67d128","name":"Failed Case: Forbidden","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"exp\":300\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/challenges/2"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 08:10:19 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"42712df9-0f0f-46b4-bf0d-627599346ba9","name":"Failed Case: Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Update ID 2","type":"text"},{"key":"photo","type":"file","src":["/C:/Users/bibi/Pictures/geprek.jpg"]},{"key":"start_date","value":"2023-11-14T17:05:44.664+07:00","type":"text","disabled":true},{"key":"end_date","value":"2023-11-28T19:05:44.664+07:00","type":"text"},{"key":"description","value":"Mari hijaukan sosial media","type":"text","disabled":true},{"key":"exp","value":"100","type":"text"}]},"url":"http://localhost:8000/api/v1/challenges/3"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 08:34:25 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal memperbarui tantangan: record not found\"\n}"},{"id":"22d729e8-b418-4114-b370-7c6de10717b7","name":"Failed Case: Error Binding Data","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Update ID 2","type":"text"},{"key":"photo","type":"file","src":["/C:/Users/bibi/Pictures/geprek.jpg"]},{"key":"start_date","value":"2023-11-14T17:05:44.664+07:00","type":"text","disabled":true},{"key":"end_date","value":"2023-11-28T19:05","type":"text"},{"key":"description","value":"Mari hijaukan sosial media","type":"text","disabled":true},{"key":"exp","value":"100","type":"text"}]},"url":"http://localhost:8000/api/v1/challenges/2"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 08:37:10 GMT"},{"key":"Content-Length","value":"59"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format input yang Anda masukkan tidak sesuai\"\n}"}],"_postman_id":"2dc8b72a-138e-4563-81da-4ced4f36ad25"},{"name":"Delete Challenge","id":"24d72857-6eb0-4866-a704-d86821c654bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8000/api/v1/challenges/16","description":"<p>This endpoint sends an HTTP DELETE request to <a href=\"http://localhost:8000/api/v1/challenges/16\">http://localhost:8000/api/v1/challenges/16</a> to delete a specific challenge.</p>\n<p>The request does not contain a request body.</p>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><code>message</code> (string): A message indicating the success of the deletion. For example, \"Berhasil menghapus tantangan\".</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","challenges","16"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"c1c8a205-dbf6-4bbb-8889-3803d74e2623","name":"Succes Case","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8000/api/v1/challenges/17"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:29:06 GMT"},{"key":"Content-Length","value":"43"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menghapus tantangan\"\n}"},{"id":"9d2e3289-ba47-41ab-9605-dcf1e67e2ce9","name":"Failed Case: Not Found","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8000/api/v1/challenges/18"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:29:59 GMT"},{"key":"Content-Length","value":"67"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menghapus tantangan: tantangan tidak ditemukan\"\n}"},{"id":"b2b7f243-9c30-40f2-a6b6-d3fbb9fd2607","name":"Failed Case: Unauthorized","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8000/api/v1/challenges/14"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:30:21 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"6f981e10-6a5c-407d-873e-7e93334722a8","name":"Failed Case: Forbidden","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8000/api/v1/challenges/14"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:30:51 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"24d72857-6eb0-4866-a704-d86821c654bb"},{"name":"Get Form Challenge By Id","id":"3620ecc5-0ba3-4134-9dcb-de3d27738b87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/participants/1","description":"<p>This HTTP GET request is used to retrieve the details of a specific participant in a challenge. The request should be made to the endpoint <a href=\"http://localhost:8000/api/v1/challenges/participants/1\">http://localhost:8000/api/v1/challenges/participants/1</a>.</p>\n<p>The response will include a message indicating the success of retrieving the participant's details, along with the participant's data. The data will consist of the participant's ID, user ID, challenge ID, username, photo URL, status, experience points (exp), and the date and time of participation.</p>\n<p>Here is an example of the response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil mendapatkan detail formulir tantangan\",\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 2,\n        \"challenge_id\": 1,\n        \"username\": \"iniusers\",\n        \"photo\": \"https://res.cloudinary.com/djcejypm1/image/upload/v1701254638/disappear/ayur02dewx0qh21goewq.jpg\",\n        \"status\": \"menunggu validasi\",\n        \"exp\": 100,\n        \"tanggal_berpartisipasi\": \"2023-11-29T16:53:55+07:00\"\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","challenges","participants","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a8be59cf-8df9-4879-87c3-18f6443e72bd","name":"Succes Case","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/participants/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:20:00 GMT"},{"key":"Content-Length","value":"327"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan detail formulir tantangan\",\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 2,\n        \"challenge_id\": 1,\n        \"username\": \"iniusers\",\n        \"photo\": \"https://res.cloudinary.com/djcejypm1/image/upload/v1701254638/disappear/ayur02dewx0qh21goewq.jpg\",\n        \"status\": \"menunggu validasi\",\n        \"exp\": 100,\n        \"tanggal_berpartisipasi\": \"2023-11-29T16:53:55+07:00\"\n    }\n}"},{"id":"a7579de9-ab62-4f5f-b42a-a0b536161807","name":"Failed Case: Bad Request","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/participants/10d"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:20:40 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format ID yang Anda masukkan tidak sesuai\"\n}"},{"id":"fafd4a32-f76f-43ee-9f75-133f056daf1e","name":"Failed Case: Not Found","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/participants/19"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:21:30 GMT"},{"key":"Content-Length","value":"80"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan detail formulir tantangan: form tidak ditemukan\"\n}"},{"id":"2e029273-b57e-44d9-bacc-c0c4fd58fc00","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/participants/19"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:21:54 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"3620ecc5-0ba3-4134-9dcb-de3d27738b87"},{"name":"Update Form Challenge","id":"015f0a37-8b58-4a07-8066-43eae0318612","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"status\":\"valid\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/challenges/participants/status/1","description":"<p>This API endpoint allows you to update the status of a participant in a challenge. The HTTP PUT request should be made to <a href=\"http://localhost:8000/api/v1/challenges/participants/status/1\">http://localhost:8000/api/v1/challenges/participants/status/1</a>. The request body should be in raw format and include a JSON object with the \"status\" key.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>status</code>: (string) The updated status of the participant.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon a successful update, the API will respond with a message indicating the successful update:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil memperbarui formulir tantangan\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","challenges","participants","status","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"da188403-9e7c-448f-9a2e-bba70b2e7cec","name":"Succes Case","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"status\":\"valid\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/challenges/participants/status/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:33:01 GMT"},{"key":"Content-Length","value":"54"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil memperbarui formulir tantangan\"\n}"},{"id":"8d8de5e8-a2e8-4683-9fed-543358a407f7","name":"Failed Case: Unauthorized","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"status\":\"valid\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/challenges/participants/status/3"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:33:20 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"92fd03bf-8b91-41b9-acd9-b8833df12756","name":"Failed Case: Forbidden","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"status\":\"valid\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/challenges/participants/status/3"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:33:50 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"24523063-5fbe-4b58-b87d-2e876890071c","name":"Failed Case: Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"status\":\"valid\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/challenges/participants/status/19"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:34:12 GMT"},{"key":"Content-Length","value":"73"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal memperbarui formulir tantangan: Form tidak ditemukan\"\n}"},{"id":"75108ad7-fc64-4db5-bbfd-440f9d5ab76c","name":"Failed Case: Request Status Tidak Diperbolehkan","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"status\":\"ds\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/challenges/participants/status/1"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:34:49 GMT"},{"key":"Content-Length","value":"97"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Status hanya bisa diubah menjadi 'valid', 'menunggu validasi', atau 'tidak valid'.\"\n}"}],"_postman_id":"015f0a37-8b58-4a07-8066-43eae0318612"},{"name":"Get All Challenge","id":"67f8a259-3187-461b-816a-91b902059473","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/challenges?page=1&search=&status=kadaluwarsa","description":"<p>This endpoint retrieves a list of challenges based on the provided page number and status. The \"page\" parameter is used to specify the page number, while the \"status\" parameter is used to filter challenges by their status. The response will include a message indicating the success of the operation, a list of challenges with their details such as id, title, start and end dates, description, status, and experience points, as well as metadata including the current page, total pages, total items, next page, and previous page.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","challenges"],"host":["localhost:8000"],"query":[{"description":{"content":"<p>halaman</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>pencarian</p>\n","type":"text/plain"},"key":"search","value":""},{"description":{"content":"<p>kadaluwarsa, belum kadaluwarsa</p>\n","type":"text/plain"},"key":"status","value":"kadaluwarsa"}],"variable":[]}},"response":[{"id":"80e2817a-f122-4bb4-8bbd-57d4a42e7959","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 09:43:49 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"109c1305-0762-456a-987b-8d63c5cdfa6d","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/challenges?page=1&search=&status=kadaluwarsa","host":["localhost:8000"],"path":["api","v1","challenges"],"query":[{"key":"page","value":"1","description":"halaman"},{"key":"search","value":"","description":"pencarian"},{"key":"status","value":"kadaluwarsa","description":"kadaluwarsa, belum kadaluwarsa"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 14:11:37 GMT"},{"key":"Content-Length","value":"391"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan daftar tantangan\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"Tantangan menanam pohon\",\n            \"photo\": \"\",\n            \"start_date\": \"2023-12-20T19:05:45+07:00\",\n            \"end_date\": \"2024-12-20T19:05:45+07:00\",\n            \"description\": \"Tanamlah pohon saat kamu berjalan, bermeditasi, atau memasak.\",\n            \"status\": \"Kadaluwarsa\",\n            \"exp\": 100\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 1,\n        \"total_items\": 1,\n        \"next_page\": 1,\n        \"prev_page\": 1\n    }\n}"}],"_postman_id":"67f8a259-3187-461b-816a-91b902059473"},{"name":"Get All Form Challenge","id":"f555c841-7030-47db-85d1-438b81eefee7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/participants?page=1&status=menunggu validasi&date=hari ini","description":"<p>This endpoint makes an HTTP GET request to retrieve a list of challenge participants. The request should be sent to <a href=\"http://localhost:8000/api/v1/challenges/participants\">http://localhost:8000/api/v1/challenges/participants</a> and includes query parameters for page, status, and date.</p>\n<p>The response will include a message indicating the success of retrieving the participant list, along with an array of participant data. Each participant object in the array includes an ID, user ID, challenge ID, username, photo, status, experience points (exp), and participation date. Additionally, the response includes metadata such as the current page, total pages, total items, next page, and previous page.</p>\n<p>Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil mendapatkan daftar peserta tantangan\",\n    \"data\": [\n        {\n            \"id\": 4,\n            \"user_id\": 7,\n            \"challenge_id\": 2,\n            \"username\": \"iniusers\",\n            \"photo\": \"\",\n            \"status\": \"menunggu validasi\",\n            \"exp\": 100,\n            \"tanggal_berpartisipasi\": \"2023-12-11T21:17:37+07:00\"\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 1,\n        \"total_items\": 1,\n        \"next_page\": 1,\n        \"prev_page\": 1\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","challenges","participants"],"host":["localhost"],"query":[{"description":{"content":"<p>halaman</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>valid, tidak valid, menunggu validasi</p>\n","type":"text/plain"},"key":"status","value":"menunggu validasi"},{"description":{"content":"<p>hari ini, minggu ini, bulan ini, tahun ini</p>\n","type":"text/plain"},"key":"date","value":"hari ini"}],"variable":[]}},"response":[{"id":"54852ad3-52d3-4283-9a74-150bc189927f","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8000/api/v1/challenges/participants?page=1&status=menunggu validasi&date=hari ini","protocol":"http","host":["localhost"],"port":"8000","path":["api","v1","challenges","participants"],"query":[{"key":"page","value":"1","description":"halaman"},{"key":"status","value":"menunggu validasi","description":"valid, tidak valid, menunggu validasi"},{"key":"date","value":"hari ini","description":"hari ini, minggu ini, bulan ini, tahun ini"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 14:31:10 GMT"},{"key":"Content-Length","value":"317"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan daftar peserta tantangan\",\n    \"data\": [\n        {\n            \"id\": 4,\n            \"user_id\": 7,\n            \"challenge_id\": 2,\n            \"username\": \"iniusers\",\n            \"photo\": \"\",\n            \"status\": \"menunggu validasi\",\n            \"exp\": 100,\n            \"tanggal_berpartisipasi\": \"2023-12-11T21:17:37+07:00\"\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"total_page\": 1,\n        \"total_items\": 1,\n        \"next_page\": 1,\n        \"prev_page\": 1\n    }\n}"},{"id":"4a68ee69-bf99-483a-aceb-2360dcf75537","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/participants"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:10:40 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"},{"id":"23c44656-1b20-4b3d-b554-ddea11a904ee","name":"Failed Case: Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8000/api/v1/challenges/participants?page=1&search&date=minggu ini","protocol":"http","host":["localhost"],"port":"8000","path":["api","v1","challenges","participants"],"query":[{"key":"page","value":"1","description":"halaman"},{"key":"search","value":null,"description":"pencarian"},{"key":"date","value":"minggu ini","description":"hari ini, minggu ini, bulan ini, tahun ini"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 14:13:23 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"f555c841-7030-47db-85d1-438b81eefee7"},{"name":"Get Form Challenge By Id","id":"fd81260c-c477-4d8d-b57d-e26fa0b3cad1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/participants/1","description":"<p>This API endpoint makes an HTTP GET request to retrieve the details of a specific participant in a challenge. The request should be sent to <a href=\"http://localhost:8000/api/v1/challenges/participants/1\">http://localhost:8000/api/v1/challenges/participants/1</a>.</p>\n<p>The response will include a message indicating the success of retrieving the participant's details, along with the participant's data such as their ID, user ID, challenge ID, username, photo URL, status, experience points (exp), and the date of participation.</p>\n<p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"message\": \"Berhasil mendapatkan detail formulir tantangan\",\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 2,\n        \"challenge_id\": 1,\n        \"username\": \"iniusers\",\n        \"photo\": \"https://res.cloudinary.com/djcejypm1/image/upload/v1701254638/disappear/ayur02dewx0qh21goewq.jpg\",\n        \"status\": \"menunggu validasi\",\n        \"exp\": 100,\n        \"tanggal_berpartisipasi\": \"2023-11-29T16:53:55+07:00\"\n    }\n}\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","challenges","participants","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2e3b664b-c413-427f-8ef5-69bb1b8b55f9","name":"Succes Case","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/participants/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:12:55 GMT"},{"key":"Content-Length","value":"327"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan detail formulir tantangan\",\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 2,\n        \"challenge_id\": 1,\n        \"username\": \"iniusers\",\n        \"photo\": \"https://res.cloudinary.com/djcejypm1/image/upload/v1701254638/disappear/ayur02dewx0qh21goewq.jpg\",\n        \"status\": \"menunggu validasi\",\n        \"exp\": 100,\n        \"tanggal_berpartisipasi\": \"2023-11-29T16:53:55+07:00\"\n    }\n}"},{"id":"420fdcdf-c3ac-4b49-b7db-d26f2df55bac","name":"Failed Case: Bad Request","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/participants/10d"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:13:16 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Format ID yang Anda masukkan tidak sesuai\"\n}"},{"id":"80bc31f1-da35-4948-a828-cd66de068795","name":"Failed Case: Not Found","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/participants/19"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:14:19 GMT"},{"key":"Content-Length","value":"80"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan detail formulir tantangan: form tidak ditemukan\"\n}"},{"id":"defa57e6-202e-4ae0-bad8-7bb8f762bc8f","name":"Failed Case: Unauthorized","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/v1/challenges/participants/19"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Wed, 29 Nov 2023 10:14:55 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"fd81260c-c477-4d8d-b57d-e26fa0b3cad1"}],"id":"55ac8391-f3f9-409f-a225-5ccff1a20aa1","_postman_id":"55ac8391-f3f9-409f-a225-5ccff1a20aa1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}}},{"name":"Article","item":[{"name":"Create","id":"0408fd72-477f-4b2d-a434-0616ae8865dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Lingkungan","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/ASUS/Downloads/alat makan garpu.png"},{"key":"content","value":"Deskripsi","type":"text"}]},"url":"https://test.disappear-organization.my.id/api/v1/articles","description":"<p>This API endpoint allows you to add a new article by sending an HTTP POST request to the specified URL. The request should include a form-data body with the following parameters:</p>\n<ul>\n<li>title (text): The title of the article.</li>\n<li>photo (file): The photo associated with the article.</li>\n<li>content (text): The content of the article.</li>\n</ul>\n<p>Upon a successful request, the API will respond with a message indicating the successful addition of the article, along with the details of the newly added article including its ID, title, photo URL, content, author, date, and views.</p>\n","urlObject":{"protocol":"https","path":["api","v1","articles"],"host":["test","disappear-organization","my","id"],"query":[],"variable":[]}},"response":[{"id":"a44d1530-cc11-4068-9e9f-a718b6593aa4","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Berapa Banyak Sampah Plastik yang Ada di Lautan?","type":"text"},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","src":"/C:/Users/ASUS/Downloads/unsplash_BJUoZu0mpt0 (1).png"},{"key":"content","value":"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.","type":"text"}]},"url":"localhost:8000/api/v1/articles"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 13:35:10 GMT"},{"key":"Content-Length","value":"526"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menambahkan artikel\",\n    \"data\": {\n        \"id\": 1,\n        \"title\": \"Berapa Banyak Sampah Plastik yang Ada di Lautan?\",\n        \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n        \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n        \"author\": \"DISAPPEAR\",\n        \"date\": \"2023-11-30T20:35:10.751+07:00\",\n        \"views\": 0\n    }\n}"},{"id":"1606e50e-bcc9-48ea-8d4d-a6964da5d996","name":"Failed Case: Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Berapa Banyak Sampah Plastik yang Ada di Lautan?","type":"text"},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","src":"/C:/Users/ASUS/Downloads/unsplash_BJUoZu0mpt0 (1).png"},{"key":"content","value":"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.","type":"text"}]},"url":"localhost:8000/api/v1/articles"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 13:36:23 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"0408fd72-477f-4b2d-a434-0616ae8865dd"},{"name":"Get All","id":"3128547b-3d38-4579-8099-2bfd98c0a078","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/articles?page=1","description":"<p>This API endpoint is a GET request to retrieve a list of articles. The request includes query parameters such as 'page', 'search', and 'date_filter_type' to filter the articles based on the page number, search keyword, and date filter type respectively. The 'page' parameter is used to specify the page number of the articles to be retrieved. The 'search' parameter can be used to search for articles based on a specific keyword. The 'date_filter_type' parameter is used to filter articles based on a specific date range.</p>\n<p>The last call to this request did not include a request body, as indicated by the null payload.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","articles"],"host":["localhost:8000"],"query":[{"description":{"content":"<p>nomor halaman</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>pencarian</p>\n","type":"text/plain"},"key":"search","value":""},{"disabled":true,"description":{"content":"<p>filter artikel, Minggu Ini, Bulan Ini, Tahun Ini</p>\n","type":"text/plain"},"key":"date_filter_type","value":"minggu ini"}],"variable":[]}},"response":[{"id":"91f1ce75-199f-4fa0-b8a3-14cead8c6dfd","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/articles?page=1&search=&date_filter_type=","host":["localhost:8000"],"path":["api","v1","articles"],"query":[{"key":"page","value":"1","description":"nomor halaman"},{"key":"search","value":"","description":"pencarian"},{"key":"date_filter_type","value":"","description":"filter artike, Minggu Ini, Bulan Ini, Tahun Ini"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Fri, 08 Dec 2023 05:00:41 GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan daftar artikel\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"Berapa Banyak Sampah Plastik yang Ada di Lautan?\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 10\n        },\n        {\n            \"id\": 3,\n            \"title\": \"Makan Enak Pake Ayam\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-12-30T20:35:11+07:00\",\n            \"views\": 102\n        },\n        {\n            \"id\": 4,\n            \"title\": \"Judul 1\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 5,\n            \"title\": \"Judul 2\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 6,\n            \"title\": \"Judul 3\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 10\n        },\n        {\n            \"id\": 7,\n            \"title\": \"Empat\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 8,\n            \"title\": \"Limat\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 9,\n            \"title\": \"Enam\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 100\n        },\n        {\n            \"id\": 10,\n            \"title\": \"Sepuluh\",\n            \"photo\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701351310/disappear/quuauu1p6ydkhtmebq13.png\",\n            \"content\": \"Peneliti memperkirakan jumlah sampah plastik yang memasuki lingkungan perairan dapat meningkat 2,6 kali lipat dari 2016 hingga 2040. Jika tren tersebut terus berlanjut, itu akan berpotensi menjadi hal yang lebih buruk.\",\n            \"author\": \"DISAPPEAR\",\n            \"date\": \"2023-11-30T20:35:11+07:00\",\n            \"views\": 10\n        }\n    ]\n}"}],"_postman_id":"3128547b-3d38-4579-8099-2bfd98c0a078"},{"name":"Get By ID","id":"24c246c7-36cf-4cc5-a210-fff954ffef57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/articles/:id","description":"<h1 id=\"get-article-details\">Get Article Details</h1>\n<p>This endpoint retrieves the details of a specific article identified by its ID.</p>\n<h2 id=\"request\">Request</h2>\n<h3 id=\"http-request\">HTTP Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-http\">GET localhost:8000/api/v1/articles/:id\n\n</code></pre>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>id</code> (required) - The unique identifier of the article.</li>\n</ul>\n<h2 id=\"responses\">Responses</h2>\n<ul>\n<li><p>200 OK: The request is successful, and the response body contains the details of the article.</p>\n<ul>\n<li><p><code>message</code> - A success message.</p>\n</li>\n<li><p><code>data</code> - An object containing the details of the article, including its ID, title, photo, content, author, date, and views.Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"message\": \"Berhasil mendapatkan detail artikel\",\n  \"data\": {\n      \"id\": 2,\n      \"title\": \"Sejak memasuki tahun 2022, produksi plastik naik 15%\",\n      \"photo\": \"\",\n      \"content\": \"Studi baru tentang dampak sampah plastik yang mencemari lautan ini telah diterbitkan dalam jurnal PLOS ONE.\",\n      \"author\": \"DISAPPEAR\",\n      \"date\": \"2023-11-30T20:50:07.618+07:00\",\n      \"views\": 1\n  }\n}\n\n</code></pre>\n</li>\n</ul>\n</li>\n<li><p>404 Not Found: The requested article is not found.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","articles",":id"],"host":["localhost:8000"],"query":[],"variable":[{"type":"any","value":"3","key":"id"}]}},"response":[{"id":"4bbdfcdd-9e42-4935-889b-613f25ba1d78","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/articles/:id","host":["localhost:8000"],"path":["api","v1","articles",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 13:50:07 GMT"},{"key":"Content-Length","value":"330"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan detail artikel\",\n    \"data\": {\n        \"id\": 2,\n        \"title\": \"Sejak memasuki tahun 2022, produksi plastik naik 15%\",\n        \"photo\": \"\",\n        \"content\": \"Studi baru tentang dampak sampah plastik yang mencemari lautan ini telah diterbitkan dalam jurnal PLOS ONE.\",\n        \"author\": \"DISAPPEAR\",\n        \"date\": \"2023-11-30T20:50:07.618+07:00\",\n        \"views\": 1\n    }\n}"},{"id":"f8e56e80-6f93-47e6-bf25-aa61f2c9f72b","name":"Failed Case: Article Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/articles/:id","host":["localhost:8000"],"path":["api","v1","articles",":id"],"variable":[{"key":"id","value":"3"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 13:52:33 GMT"},{"key":"Content-Length","value":"90"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal mendapatkan detail artikel: Artikel Tidak Ditemukan: record not found\"\n}"},{"id":"56189357-eee0-4734-a83c-7c6a5c3f50e6","name":"Failed Case: Unathorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/api/v1/articles/:id","host":["localhost:8000"],"path":["api","v1","articles",":id"],"variable":[{"key":"id","value":"3"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 13:53:07 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"24c246c7-36cf-4cc5-a210-fff954ffef57"},{"name":"Update","id":"874703b4-d182-4350-8972-852b422ee612","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Berapa Banyak Sampah Plastik yang Ada di Lautan Bebas","type":"text"},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/ASUS/Downloads/unsplash_ywVgG0lDbOk.png"],"src":"/C:/Users/ASUS/Downloads/unsplash_ywVgG0lDbOk.png","disabled":true},{"key":"content","value":"Studi baru tentang dampak sampah plastik yang mencemari lautan ini telah diterbitkan dalam jurnal PLOS ONE.","type":"text","disabled":true}]},"url":"localhost:8000/api/v1/articles/:id","description":"<p>This endpoint allows the user to update an article by sending an HTTP PUT request to the specified URL. The request should include the article ID in the URL parameter. The request body should be of form-data type and contain a parameter \"photo\" of type file, which represents the updated photo for the article.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li>photo (file): Represents the updated photo for the article.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will include a message indicating the success of the article update operation.</p>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil memperbarui artikel\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","articles",":id"],"host":["localhost:8000"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[{"id":"04f84cbc-ed0a-4b00-82fd-08cb1d085b58","name":"Success Case","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Sejak memasuki tahun 2022, produksi plastik naik 15%","type":"text","disabled":true},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","src":"/C:/Users/ASUS/Downloads/unsplash_ywVgG0lDbOk.png"},{"key":"content","value":"Studi baru tentang dampak sampah plastik yang mencemari lautan ini telah diterbitkan dalam jurnal PLOS ONE.","type":"text","disabled":true}]},"url":{"raw":"localhost:8000/api/v1/articles/:id","host":["localhost:8000"],"path":["api","v1","articles",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 13:55:36 GMT"},{"key":"Content-Length","value":"43"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil memperbarui artikel\"\n}"},{"id":"9adbeb7f-e9e2-4317-992d-42811a3abc59","name":"Failed Case: Forbidden","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Sejak memasuki tahun 2022, produksi plastik naik 15%","type":"text","disabled":true},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","src":"/C:/Users/ASUS/Downloads/unsplash_ywVgG0lDbOk.png"},{"key":"content","value":"Studi baru tentang dampak sampah plastik yang mencemari lautan ini telah diterbitkan dalam jurnal PLOS ONE.","type":"text","disabled":true}]},"url":{"raw":"localhost:8000/api/v1/articles/:id","host":["localhost:8000"],"path":["api","v1","articles",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 13:55:56 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"},{"id":"89e5ff2b-6464-4b82-9a7a-38931007f18a","name":"Failed Case: Article Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Sejak memasuki tahun 2022, produksi plastik naik 15%","type":"text","disabled":true},{"key":"photo","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","src":"/C:/Users/ASUS/Downloads/unsplash_ywVgG0lDbOk.png"},{"key":"content","value":"Studi baru tentang dampak sampah plastik yang mencemari lautan ini telah diterbitkan dalam jurnal PLOS ONE.","type":"text","disabled":true}]},"url":{"raw":"localhost:8000/api/v1/articles/:id","host":["localhost:8000"],"path":["api","v1","articles",":id"],"variable":[{"key":"id","value":"3"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 13:56:19 GMT"},{"key":"Content-Length","value":"83"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal memperbarui artikel: artikel tidak ditemukan: record not found\"\n}"}],"_postman_id":"874703b4-d182-4350-8972-852b422ee612"},{"name":"Delete","id":"851c5f59-ba42-4f00-b34e-6fd3e1946465","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:8000/api/v1/articles/:id","description":"<p>This endpoint sends an HTTP DELETE request to localhost:8000/api/v1/articles/:id to delete a specific article.</p>\n<p>The request does not include a request body.</p>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li>message: \"Berhasil menghapus artikel\" (Indicates a successful deletion of the article)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","articles",":id"],"host":["localhost:8000"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[{"id":"72786b30-1e09-4347-9946-bdc2a063a8cf","name":"Success Case","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/articles/:id","host":["localhost:8000"],"path":["api","v1","articles",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 13:58:21 GMT"},{"key":"Content-Length","value":"41"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil menghapus artikel\"\n}"},{"id":"6064706b-c847-4701-9cf6-83c8f8806d39","name":"Failed Case: Article Not Found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/articles/:id","host":["localhost:8000"],"path":["api","v1","articles",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 13:58:40 GMT"},{"key":"Content-Length","value":"81"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gagal menghapus artikel: Artikel Tidak Ditemukan: record not found\"\n}"},{"id":"d5daf6d6-7754-4f9f-b44c-60f108c4aa99","name":"Failed Case: Forbidden","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"localhost:8000/api/v1/articles/:id","host":["localhost:8000"],"path":["api","v1","articles",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Thu, 30 Nov 2023 13:59:35 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"851c5f59-ba42-4f00-b34e-6fd3e1946465"},{"name":"Generate Articles AI","id":"fbf13063-caac-4020-be43-1dd2dd686ce8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\":\"sampah\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test.disappear-organization.my.id/api/v1/assistant/generate-article","description":"<p>This API endpoint allows you to generate a response from a chatbot.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>text</code> (string, required): The input text for the chatbot to generate a response.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will contain the generated chatbot response based on the input text.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","assistant","generate-article"],"host":["https://test.disappear-organization.my.id"],"query":[],"variable":[]}},"response":[{"id":"bc92ea50-7356-401a-9882-87f2192025ce","name":"Success Case","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\":\"sampah\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/chatbot/generate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 08:26:16 GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan jawaban\",\n    \"data\": \"Sampah merupakan salah satu masalah lingkungan yang sering menjadi perhatian utama dalam upaya menjaga dan merawat kelestarian bumi. Dalam era modern ini, jumlah sampah yang dihasilkan oleh masyarakat terus meningkat dengan pesat. Hal ini disebabkan oleh gaya hidup konsumtif, kurangnya kesadaran tentang pentingnya pengelolaan sampah yang baik, serta minimnya akses terhadap fasilitas pengelolaan sampah yang memadai. \\n\\nSampah sendiri dapat dikategorikan ke dalam beberapa jenis, yaitu sampah organik dan sampah non-organik. Sampah organik adalah jenis sampah yang berasal dari sisa-sisa makanan, daun, ranting, dan bahan-bahan organik lainnya. Sampah ini dapat diolah melalui proses komposting untuk menghasilkan pupuk organik yang berguna bagi tanaman dan lingkungan sekitar. Sedangkan sampah non-organik adalah jenis sampah seperti plastik, kertas, logam, kaca, dan bahan lain yang sulit terurai secara alami. \\n\\nMenangani masalah sampah bukanlah pekerjaan yang mudah, namun juga bukanlah hal yang tidak mungkin. Salah satu langkah awal yang dapat dilakukan adalah dengan melakukan pengurangan sampah di sumbernya. Hal ini dapat dilakukan dengan mengurangi penggunaan bahan-bahan sekali pakai, seperti kantong plastik, straw, dan botol air minum plastik. Penggunaan barang-barang reusable seperti tas belanja kain, cangkir kopi stainless steel, dan botol minum dapat mengurangi jumlah sampah yang dihasilkan.\\n\\nSelain itu, penting juga untuk melakukan pemisahan sampah secara benar. Pemisahan sampah dapat dilakukan dengan cara mengelompokkan sampah organik dan non-organik ke dalam tempat yang berbeda. Sampah organik dapat diolah menjadi pupuk kompos, sedangkan sampah non-organik dapat diolah kembali menjadi bahan baku baru melalui proses daur ulang. \\n\\nPemerintah dan masyarakat juga dapat berperan dalam mengatasi masalah sampah dengan cara menyediakan fasilitas pengelolaan sampah yang memadai. Penyediaan tempat sampah yang cukup, pengolahan sampah dengan metode yang tepat, dan edukasi kepada masyarakat tentang pentingnya pengelolaan sampah yang baik dapat membantu mengurangi dampak negatif sampah terhadap lingkungan.\\n\\nTidak hanya itu, mengadakan kampanye dan sosialisasi tentang pentingnya menjaga lingkungan juga menjadi langkah yang penting. Melalui edukasi kepada masyarakat, diharapkan kesadaran akan pentingnya menjaga lingkungan dapat meningkat dan tindakan yang berkelanjutan dapat terus dijalankan oleh setiap individu.\\n\\nDalam rangka menjaga kelestarian lingkungan, pengurangan, pemisahan, dan pengelolaan sampah merupakan langkah yang sangat penting. Dengan kerja sama semua pihak, diharapkan masalah sampah dapat diminimalisir dan lingkungan dapat terjaga dengan baik.\"\n}"},{"id":"7f1db247-6183-4a12-98a9-2bcedf0e9142","name":"Failed Case: Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\":\"Sampah\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/chatbot/generate"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 11 Dec 2023 08:23:43 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Token Bearer hilang atau tidak valid\"\n}"}],"_postman_id":"fbf13063-caac-4020-be43-1dd2dd686ce8"}],"id":"6e9eafc1-37ff-4a6b-a1d7-2ed81407752b","_postman_id":"6e9eafc1-37ff-4a6b-a1d7-2ed81407752b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}}},{"name":"Dashboard","item":[{"name":"Get Dashboard","id":"d37fd326-ffad-4428-a48a-771c5b77ad17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/dashboards/card","description":"<p>This endpoint makes an HTTP GET request to retrieve data for the dashboard cards. The response will include the counts for products, users, orders, and income.</p>\n<p>The response will contain a \"message\" indicating the success of retrieving the dashboard data, along with the \"data\" object that includes the counts for product, user, order, and income.</p>\n<p>Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil mendapatkan data cards dasboard\",\n    \"data\": {\n        \"product_count\": 3,\n        \"user_count\": 6,\n        \"order_count\": 1,\n        \"income_count\": 96000\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","dashboards","card"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"1e5f3843-6db5-4d4d-a003-929e11e343d1","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/dashboards/card"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Fri, 01 Dec 2023 15:47:55 GMT"},{"key":"Content-Length","value":"134"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan data cards dasboard\",\n    \"data\": {\n        \"product_count\": 3,\n        \"user_count\": 6,\n        \"order_count\": 1,\n        \"income_count\": 96000\n    }\n}"},{"id":"5de406ac-c648-4ef5-b79f-a673c8126459","name":"Failed Case: Forbidden","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/dashboards/card"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Fri, 01 Dec 2023 15:48:37 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Tidak diizinkan: Anda tidak memiliki izin\"\n}"}],"_postman_id":"d37fd326-ffad-4428-a48a-771c5b77ad17"},{"name":"Get Landing Page","id":"a1719cd8-1e01-4ceb-8465-967b3f0f4359","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/dashboards/landing-page","description":"<p>This endpoint makes an HTTP GET request to retrieve the landing page data for the dashboard. The request does not require a request body. </p>\n<p>The response will include a message indicating the success of retrieving the landing page data, along with the specific data related to the landing page. This data includes the count of users, the quantity of plastic in grams, and the count of orders.</p>\n<p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"message\": \"Berhasil mendapatkan data landing page\",\n    \"data\": {\n        \"user_count\": 6,\n        \"gram_plastic\": 20,\n        \"order_count\": 1\n    }\n}\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","dashboards","landing-page"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"02a6d90f-4c3b-4c81-9821-0ae3c9594481","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/dashboards/landing-page"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Fri, 01 Dec 2023 15:47:23 GMT"},{"key":"Content-Length","value":"111"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan data landing page\",\n    \"data\": {\n        \"user_count\": 6,\n        \"gram_plastic\": 20,\n        \"order_count\": 1\n    }\n}"}],"_postman_id":"a1719cd8-1e01-4ceb-8465-967b3f0f4359"},{"name":"Get Reviews","id":"f7692829-68aa-49d6-ad49-964fa0ae089c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/v1/dashboards/reviews","description":"<p>This HTTP GET request retrieves the reviews for dashboards from the specified endpoint. The response includes a message indicating the success of retrieving the review data, along with an array of review objects. Each review object contains an ID, name, and an array of individual reviews, each with its own ID, user ID, rating, description, date, and user details such as ID, name, and photo profile.</p>\n<p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Berhasil mendapatkan data ulasan\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Botol Minum\",\n            \"review\": [\n                {\n                    \"id\": 1,\n                    \"user_id\": 1,\n                    \"rating\": 5,\n                    \"description\": \"Saya suka produk ini\",\n                    \"date\": \"2023-11-28T20:07:19+07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"Ini Anan\",\n                        \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\"\n                    }\n                },\n                {\n                    \"id\": 2,\n                    \"user_id\": 1,\n                    \"rating\": 4,\n                    \"description\": \"Saya suka produk ini\",\n                    \"date\": \"2023-11-28T20:26:51+07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"Ini Anan\",\n                        \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\"\n                    }\n                },\n                {\n                    \"id\": 3,\n                    \"user_id\": 1,\n                    \"rating\": 4,\n                    \"description\": \"Saya suka produk\",\n                    \"date\": \"2023-11-28T20:27:44+07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"Ini Anan\",\n                        \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\"\n                    }\n                },\n                {\n                    \"id\": 4,\n                    \"user_id\": 1,\n                    \"rating\": 4,\n                    \"description\": \"Bagus sekali\",\n                    \"date\": \"2023-11-28T20:28:37+07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"Ini Anan\",\n                        \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\"\n                    }\n                }\n            ]\n        }\n    ]\n}\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"path":["api","v1","dashboards","reviews"],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"f0f3a09c-e25d-4f3d-8b67-87e18c622526","name":"Success Case","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/v1/dashboards/reviews"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Fri, 01 Dec 2023 15:46:40 GMT"},{"key":"Content-Length","value":"1097"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Berhasil mendapatkan data ulasan\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Botol Minum\",\n            \"review\": [\n                {\n                    \"id\": 1,\n                    \"user_id\": 1,\n                    \"rating\": 5,\n                    \"description\": \"Saya suka produk ini\",\n                    \"date\": \"2023-11-28T20:07:19+07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"Ini Anan\",\n                        \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\"\n                    }\n                },\n                {\n                    \"id\": 2,\n                    \"user_id\": 1,\n                    \"rating\": 4,\n                    \"description\": \"Saya suka produk ini\",\n                    \"date\": \"2023-11-28T20:26:51+07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"Ini Anan\",\n                        \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\"\n                    }\n                },\n                {\n                    \"id\": 3,\n                    \"user_id\": 1,\n                    \"rating\": 4,\n                    \"description\": \"Saya suka produk\",\n                    \"date\": \"2023-11-28T20:27:44+07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"Ini Anan\",\n                        \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\"\n                    }\n                },\n                {\n                    \"id\": 4,\n                    \"user_id\": 1,\n                    \"rating\": 4,\n                    \"description\": \"Bagus sekali\",\n                    \"date\": \"2023-11-28T20:28:37+07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"Ini Anan\",\n                        \"photo_profile\": \"https://res.cloudinary.com/dufa4bel6/image/upload/v1701156296/disappear/qpeqvbjl0u6atrckq8xz.png\"\n                    }\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"f7692829-68aa-49d6-ad49-964fa0ae089c"}],"id":"16c1980a-8d48-464f-9b62-83923830fd04","_postman_id":"16c1980a-8d48-464f-9b62-83923830fd04","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}}},{"name":"New Request","id":"f12cb868-70ad-4f1d-97ad-3e29ae6b1523","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":true,"source":{"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e","id":"692b2117-8f24-43fe-a699-ecd81468d92e","name":"Admin","type":"folder"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"f12cb868-70ad-4f1d-97ad-3e29ae6b1523"}],"id":"692b2117-8f24-43fe-a699-ecd81468d92e","description":"<p>Sebagai admin, memegang kendali utama atas seluruh operasi mulai dari mengelola produk hingga memantau tantangan, berikut adalah ringkasan tugas-tugas penting yang dapat Admin lakukan:</p>\n<p>1. <strong>Manage Produk</strong></p>\n<ul>\n<li><strong>Deskripsi</strong>: Kelola inventaris produk dengan mudah. Tambahkan, edit, atau hapus produk, sesuaikan stok, dan pastikan katalog produk tetap terorganisir.</li>\n</ul>\n<p>2. <strong>Manage Carousel</strong></p>\n<ul>\n<li><strong>Deskripsi</strong>: Kendalikan tampilan konten visual di halaman utama. Kelola carousel untuk menampilkan produk atau informasi penting lainnya secara efektif.</li>\n</ul>\n<p>3. <strong>Manage Customer</strong></p>\n<ul>\n<li><strong>Deskripsi</strong>: Lihat dan kelola informasi pelanggan. Monitor aktivitas pembelian, ulasan, dan profil pelanggan untuk memberikan dukungan terbaik.</li>\n</ul>\n<p>4. <strong>Manage Review</strong></p>\n<ul>\n<li><strong>Deskripsi</strong>: Tinjau dan moderasi ulasan pelanggan. Pastikan bahwa ulasan yang diberikan oleh pelanggan mematuhi pedoman dan memberikan umpan balik yang berharga.</li>\n</ul>\n<p>**5. <strong>Manage Artikel</strong></p>\n<ul>\n<li><strong>Deskripsi</strong>: Kelola artikel atau informasi yang dibagikan dengan pelanggan. Edit atau hapus artikel yang sudah ada atau tambahkan yang baru untuk menjaga informasi tetap terkini.</li>\n</ul>\n<p>6. <strong>Manage Payment</strong></p>\n<ul>\n<li><strong>Deskripsi</strong>: Pantau dan kelola proses pembayaran. Pastikan bahwa transaksi pembayaran berjalan lancar dan terdokumentasi dengan baik.</li>\n</ul>\n<p>7. <strong>Manage Order</strong></p>\n<ul>\n<li><strong>Deskripsi</strong>: Pantau dan atur pesanan pelanggan. Pastikan bahwa pengiriman dan pemrosesan pesanan berjalan dengan efisien.</li>\n</ul>\n<p>8. <strong>Manage Challenge</strong></p>\n<ul>\n<li><strong>Deskripsi</strong>: Atur dan pantau tantangan atau kompetisi yang diadakan di platform. Pastikan partisipasi dan hasilnya mencerminkan standar kualitas.</li>\n</ul>\n<p>9. <strong>Manage Voucher</strong></p>\n<ul>\n<li><strong>Deskripsi</strong>: Kelola voucher dan penawaran spesial. Tambahkan, ubah, atau hapus voucher untuk memberikan insentif dan meningkatkan interaksi dengan pelanggan.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token_admin"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"af158644-4a27-450f-a191-e203c1f49a58","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ab62b545-ad80-4efe-9a49-a5f7786edd2c","type":"text/javascript","exec":[""]}}],"_postman_id":"692b2117-8f24-43fe-a699-ecd81468d92e"},{"name":"PING","id":"cc147de2-3124-4481-a139-a5ad55cd4f83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:8000/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"5f2a768b-4df6-4a55-97f3-5c3fbd455c29","id":"5f2a768b-4df6-4a55-97f3-5c3fbd455c29","name":"Disappear - Green Environment","type":"collection"}},"urlObject":{"path":[""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc147de2-3124-4481-a139-a5ad55cd4f83"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]}},"event":[{"listen":"prerequest","script":{"id":"9a2bf23a-1f15-435f-bcf1-4cb7887ea0b0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6d306c07-1d3f-45fd-8ed7-7c532cbb1d4a","type":"text/javascript","exec":[""]}}],"variable":[{"key":"local","value":"localhost:8000"},{"key":"test","value":"https://test.disappear-organization.my.id","type":"string"},{"key":"dev","value":"https://api.disappear-organization.my.id","type":"string"},{"key":"token","value":"token","type":"string"},{"key":"token_admin","value":"token_admin","type":"string"}]}