{
  "info": {
    "_postman_id": "fd6b9fa5-7c68-4907-ab30-542d8175ad33",
    "name": "AirCamp-PH-Customer-API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "25343153"
  },
  "item": [
    {
      "name": "🆕 Booking With Payment 09-16-25",
      "item": [
        {
          "name": "Customers",
          "item": [
            {
              "name": "Create With Payment [New]",
              "request": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "key": "data",
                      "value": "{\n\t\"pax\": 2,\n\t\"checkIn\": \"09/27/2025\",\n\t\"checkOut\": \"09/28/2025\",\n\"listingId\": \"158f2fca-d2bd-4b71-8c94-b99b7a31c0ef\",\n    \"listingSpotId\" : \"9bb7bda0-aacf-4c54-b00a-41b939e558fd\",\t\"messageToHost\": null,\n\t\"fullname\": \"full name\",\n\t\"phone\": \"0912312312\",\n\t\"email\": \"test@gmail.com\",\n    \"discountCode\" : \"\", \"returnUrl\" : \"https://uat.aircamp.ph\"\n}",
                      "description": "listingSpotId required if listing_type === 'Public'",
                      "type": "text"
                    },
                    {
                      "key": "travelersPhoto",
                      "description": "details. email name phone (always required)\nall except bank_code for card, all for dob",
                      "type": "file",
                      "src": "/C:/Users/berre/Desktop/test-😀.png.png",
                      "disabled": true
                    },
                    {
                      "key": "governmentId",
                      "type": "file",
                      "src": "/C:/Users/berre/Desktop/test-😀.png.png",
                      "disabled": true
                    }
                  ]
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1.1", "customers", "bookings"]
                }
              },
              "response": []
            },
            {
              "name": "Re Pay Unpaid(Failed) Booking",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"bookingId\": \"b4768082-ec90-4186-85ee-111f907fcd30\",\r\n     \"returnUrl\" : \"https://uat.aircamp.ph\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/retry",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1.1", "customers", "bookings", "retry"]
                }
              },
              "response": []
            },
            {
              "name": "Cancel With Refund",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "PATCH",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"reason\" : \"Others : fjislajflajlkaljkfasjkfaljkljkcgbljk2kj;\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/:bookingNumber/cancel",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1.1", "customers", "bookings", ":bookingNumber", "cancel"],
                  "variable": [
                    {
                      "key": "bookingNumber",
                      "value": "ACPH-361750",
                      "description": "Booking No. not booking ID, only allows cancel on status : \"Upcoming\", \"Pen\nding\""
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get All My Bookings",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1.1", "customers", "bookings"],
                  "query": [
                    {
                      "key": "status",
                      "value": "Done",
                      "description": "For Approval | Pending | Upcoming | Cancelled | Done",
                      "disabled": true
                    },
                    {
                      "key": "search",
                      "value": "Mactan",
                      "description": "match listing name, location, address city or address country",
                      "disabled": true
                    },
                    {
                      "key": "startDate",
                      "value": "2020-05-01",
                      "description": "must pass both startDate and endDate to work",
                      "disabled": true
                    },
                    {
                      "key": "endDate",
                      "value": "2025-05-01",
                      "description": "YYYY-MM-DD",
                      "disabled": true
                    },
                    {
                      "key": "page",
                      "value": "1",
                      "description": "must be passed both page and limit to work",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "1",
                      "description": "items per page",
                      "disabled": true
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get My Booking By Booking Number Copy",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/:bookingNumber",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1.1", "customers", "bookings", ":bookingNumber"],
                  "variable": [
                    {
                      "key": "bookingNumber",
                      "value": "ACPH-609359"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Rebook",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "PATCH",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"bookingNo\" : \"ACPH-532161\",\r\n    \"newCheckIn\" : \"2025-10-10\", //YYYY-MM-DD\r\n    \"newCheckOut\" : \"2025-10-12\" //YYYY-MM-DD\r\n    ,\r\n    \"pax\": 2,\r\n    \"returnUrl\": \"https://uat.aircamp.ph\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/rebook",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1.1", "customers", "bookings", "rebook"]
                }
              },
              "response": []
            },
            {
              "name": "Modify",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "PATCH",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"bookingNo\" : \"ACPH-609359\",\r\n    \"newPax\" : 5,\r\n    \"returnUrl\" : \"https://uat.aircamp.ph\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/modify",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1.1", "customers", "bookings", "modify"]
                }
              },
              "response": []
            },
            {
              "name": "Modify Retry Payment",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"bookingNo\" : \"ACPH-841579\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/modify/payment/retry",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1.1", "customers", "bookings", "modify", "payment", "retry"]
                }
              },
              "response": []
            },
            {
              "name": "Pay Host Modified Booking Copy",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"bookingNo\" : \"ACPH-543397\", \"returnUrl\" : \"https://uat.aircamp.ph\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/modify-payment",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1.1", "customers", "bookings", "modify-payment"]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Sync TEST",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/sync/:bookingId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings", "sync", ":bookingId"],
              "variable": [
                {
                  "key": "bookingId",
                  "value": "ACPH-595558"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Paymongo data TEST",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/debug/:bookingNo",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings", "debug", ":bookingNo"],
              "variable": [
                {
                  "key": "bookingNo",
                  "value": "ACPH-275905"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "TEST PAYMONGO",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbXBsb3llZV9pZCI6ImFkbWluIiwiaWF0IjoxNzU3MDM0OTc4LCJleHAiOjE3NTcwMzUyNzh9.FtLEMa_K5-n-r7CJTAhdQdnvW6l8kgB_Uz5Y9OsdYAc",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": " {\r\n  \"data\": {\r\n    \"id\": \"evt_XAZC8kM9LUJYthYrLfC2MjxV\",\r\n    \"type\": \"event\",\r\n    \"attributes\": {\r\n      \"type\": \"payment.refunded\",\r\n      \"livemode\": false,\r\n      \"data\": {\r\n        \"id\": \"pay_PDZsPU5yzGtP5Xm143Uepy54\",\r\n        \"type\": \"payment\",\r\n        \"attributes\": {\r\n          \"access_url\": null,\r\n          \"amount\": 2200,\r\n          \"balance_transaction_id\": \"bal_txn_pxR1RxLc4VFpcEEojaFXMKq8\",\r\n          \"billing\": {\r\n            \"address\": {\r\n              \"city\": \"\",\r\n              \"country\": \"\",\r\n              \"line1\": \"\",\r\n              \"line2\": \"\",\r\n              \"postal_code\": \"\",\r\n              \"state\": \"\"\r\n            },\r\n            \"email\": \"test@gmail.com\",\r\n            \"name\": \"Bo Mcdowell\",\r\n            \"phone\": \"63-3607-957-4600\"\r\n          },\r\n          \"currency\": \"PHP\",\r\n          \"description\": \"AirCamp Booking ACPH-857504 - Bamboo Shores Glamp\",\r\n          \"digital_withholding_vat_amount\": 0,\r\n          \"disputed\": false,\r\n          \"external_reference_number\": null,\r\n          \"fee\": 55,\r\n          \"instant_settlement\": null,\r\n          \"livemode\": false,\r\n          \"net_amount\": 2145,\r\n          \"origin\": \"api\",\r\n          \"payment_intent_id\": \"pi_TAUtJ2m6eBCoXcZ7BhsnC4RL\",\r\n          \"payout\": null,\r\n          \"source\": {\r\n            \"id\": \"src_nMpetmcoLP6rEfr4GdmXYZsn\",\r\n            \"type\": \"gcash\",\r\n            \"provider\": {\r\n              \"id\": null\r\n            },\r\n            \"provider_id\": null\r\n          },\r\n          \"statement_descriptor\": \"Berresn05\",\r\n          \"status\": \"paid\",\r\n          \"tax_amount\": null,\r\n          \"metadata\": {\r\n            \"booking_no\": \"ACPH-857504\"\r\n          },\r\n          \"promotion\": null,\r\n          \"refunds\": [\r\n            {\r\n              \"id\": \"ref_qdiRoBXcF668VqVTxjRY3Hve\",\r\n              \"type\": \"refund\",\r\n              \"attributes\": {\r\n                \"amount\": 2145,\r\n                \"balance_transaction_id\": \"bal_txn_6cePDiiA9u6ZPuUKxDgqVJkj\",\r\n                \"currency\": \"PHP\",\r\n                \"livemode\": false,\r\n                \"metadata\": null,\r\n                \"notes\": null,\r\n                \"payment_id\": \"pay_PDZsPU5yzGtP5Xm143Uepy54\",\r\n                \"payout_id\": null,\r\n                \"reason\": \"requested_by_customer\",\r\n                \"status\": \"succeeded\",\r\n                \"available_at\": 1758704400,\r\n                \"created_at\": 1758527503,\r\n                \"refunded_at\": 1758527503,\r\n                \"updated_at\": 1758527503\r\n              }\r\n            }\r\n          ],\r\n          \"taxes\": [],\r\n          \"available_at\": 1758704400,\r\n          \"created_at\": 1758527498,\r\n          \"credited_at\": 1759280400,\r\n          \"paid_at\": 1758527498,\r\n          \"updated_at\": 1758527499\r\n        }\r\n      },\r\n      \"previous_data\": {},\r\n      \"pending_webhooks\": 1,\r\n      \"created_at\": 1758527503,\r\n      \"updated_at\": 1758527503\r\n    }\r\n  }\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/webhooks/paymongo",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "webhooks", "paymongo"]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Accounts",
      "item": [
        {
          "name": "v1.1",
          "item": [
            {
              "name": "Email/Phone Verification",
              "item": [
                {
                  "name": "Request",
                  "request": {
                    "method": "POST",
                    "header": [],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"otpSendTo\" : \"email\",\r\n    // , // sms | email\r\n    // \"phoneNumber\" : \"09324656512\"\r\n    \"email\" : \"test@gmail.com\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{WEB_BASEURL}}/api/v1.1/users/accounts/verify-otp",
                      "host": ["{{WEB_BASEURL}}"],
                      "path": ["api", "v1.1", "users", "accounts", "verify-otp"]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Verify",
                  "request": {
                    "method": "PATCH",
                    "header": [],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"type\" : \"email\",\r\n    \"email\" : \"test@gmail.com\",\r\n    // \"phoneNumber\" : \"099932\",\r\n    \"otp\" : \"411650\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{WEB_BASEURL}}/api/v1.1/users/accounts/verify-otp",
                      "host": ["{{WEB_BASEURL}}"],
                      "path": ["api", "v1.1", "users", "accounts", "verify-otp"]
                    }
                  },
                  "response": []
                },
                {
                  "name": "TEST VERIFICATION",
                  "request": {
                    "method": "POST",
                    "header": [],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"isEmailVerified\" : false,\r\n    \"isPhoneVerified\" : false\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{WEB_BASEURL}}/api/v1.1/users/accounts/test-verification",
                      "host": ["{{WEB_BASEURL}}"],
                      "path": ["api", "v1.1", "users", "accounts", "test-verification"]
                    }
                  },
                  "response": []
                }
              ]
            },
            {
              "name": "Get My Profile",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1.1/users/accounts/me",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1.1", "users", "accounts", "me"]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "v1",
          "item": [
            {
              "name": "Register",
              "request": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    // \"emailAddress\": \"test.account@gmail.com\",\r\n    \"emailAddress\": \"berresn050@gmail.com\",\r\n    \"password\": \"Test12345!\",\r\n    \"firstname\": \"Rachel\",\r\n    \"lastname\": \"Green\",\r\n    \"phoneNo\": \"09284168455\",\r\n    \"birthdate\": \"1990-01-01\"\r\n\r\n    //   \"addressCountry\": \"Philippines\",\r\n    //   \"addressStreet\": \"Example Street\",\r\n    //   \"addressApt\": \"Unit 123\", \r\n    //   \"addressCity\": \"San Rafael\",\r\n    //   \"addressState\": \"Bulacan\",\r\n    //   \"addressZip\": \"3008\", \r\n    //   \"language\": \"English\", \r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1/users/accounts/register",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1", "users", "accounts", "register"]
                }
              },
              "response": []
            },
            {
              "name": "Get My Profile",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1/users/profiles",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1", "users", "profiles"]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Custom URL",
          "item": [
            {
              "name": "Set",
              "request": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"customUrl\" : \"Aircamp123\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1.1/users/accounts/custom-url",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1.1", "users", "accounts", "custom-url"]
                }
              },
              "response": []
            },
            {
              "name": "Get From Custom URL",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1.1/users/accounts/custom-url/:customUrl",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1.1", "users", "accounts", "custom-url", ":customUrl"],
                  "variable": [
                    {
                      "key": "customUrl",
                      "value": "Aircamp123"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Login",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {\r",
                  "    const token = pm.response.json().token;\r",
                  "    pm.globals.set(\"WEB_TOKEN\", token);\r",
                  "    pm.environment.set(\"WEB_TOKEN\", token);\r",
                  "    pm.response.to.have.status(200);\r",
                  "});"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"emailOrPhone\": \"test@gmail.com\",\r\n    // \"emailOrPhone\": \"test.account@gmail.com\",\r\n    // \"emailOrPhone\": \"berresn050@gmail.com\",\r\n    \"password\": \"Test12345!\"\r\n    // \"password\": \"12345678\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/accounts/login",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "accounts", "login"]
            }
          },
          "response": []
        },
        {
          "name": "Change Password",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"currentPass\": \"12345678\",\r\n    \"newPass\": \"Test12345!\",\r\n    \"confirmPass\": \"Test12345!\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/accounts/change-password",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "accounts", "change-password"]
            }
          },
          "response": []
        },
        {
          "name": "Activate/Deactivate Accout",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/accounts/deactivate-account",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "accounts", "deactivate-account"]
            }
          },
          "response": []
        },
        {
          "name": "Delete Account",
          "request": {
            "method": "DELETE",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\"reason\" : \"delete testing on live server\"}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/accounts/delete-account",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "accounts", "delete-account"]
            }
          },
          "response": []
        },
        {
          "name": "Get My Basic Profile",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/accounts/me",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "accounts", "me"]
            }
          },
          "response": []
        },
        {
          "name": "Get My Profile (For Updating)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/profiles/edit",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "profiles", "edit"]
            }
          },
          "response": []
        },
        {
          "name": "Update Profile",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "data",
                  "value": "{\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"phoneNo\": \"123-456-7890\",\n   \n    \"birthdate\": \"1990-05-15\",\n    \"addressCountry\": \"USA\",\n    \"addressStreet\": \"123 Main St\",\n    \"addressApt\": \"Apt 1\",\n    \"addressCity\": \"Anytown\",\n    \"addressState\": \"CA\",\n    \"addressZip\": \"90210\",\n    \"aboutMe\": \"A passionate developer.\",\n    \"school\": \"University of Example\",\n    \"work\": \"Software Engineer at Example Corp\",\n    \"music\": \"Rock, Jazz\",\n    \"livedIn\": \"New York, London\",\n    \"languages\": [\"English\", \"Spanish\"],\n    \"pets\": \"Dog, Cat\",\n    \"hangouts\": \"Hiking, Movies\",\n    \"birthYear\": \"1990\",\n    \"likes\": \"Coding, Reading\",\n    \"dislikes\": \"Traffic, Bad coffee\",\n    \"interests\": [\"Web Development\", \"AI\"],\n    \"showTravels\": true\n  \n}",
                  "description": "data = (object)[\n  \"firstName\",\n  \"lastName\",\n  \"emailAddress\",\n  \"phoneNo\",\n  \"birthdate\",\n  \"addressLat\",\n  \"addressLong\",\n  \"addressCountry\",\n  \"addressStreet\",\n  \"addressApt\",\n  \"addressCity\",\n  \"addressState\",\n  \"addressZip\",\n  \"validIdType\"\n]\n\nprofileImg\nvalidIdImg",
                  "type": "text"
                },
                {
                  "key": "profileImg",
                  "type": "file",
                  "src": [
                    "postman-cloud:///1efd2786-4e28-4510-941a-09022096879a",
                    "/C:/Users/berre/OneDrive/Pictures/Screenshots/Screenshot (221).png"
                  ],
                  "disabled": true
                },
                {
                  "key": "validIdImg",
                  "type": "file",
                  "src": "/C:/Users/berre/Desktop/sample_images/bird-thumbnail.jpg",
                  "disabled": true
                },
                {
                  "key": "data-full-copy",
                  "value": "{\n\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"phoneNo\": \"123-456-7890\",\n    \"emailAddress\": \"john.doe@example.com\",\n    \"birthdate\": \"1990-05-15\",\n    \"addressCountry\": \"USA\",\n    \"addressStreet\": \"123 Main St\",\n    \"addressApt\": \"Apt 1\",\n    \"addressCity\": \"Anytown\",\n    \"addressState\": \"CA\",\n    \"addressZip\": \"90210\",\n    \"aboutMe\": \"A passionate developer.\",\n    \"school\": \"University of Example\",\n    \"work\": \"Software Engineer at Example Corp\",\n    \"music\": \"Rock, Jazz\",\n    \"livedIn\": \"New York, London\",\n    \"languages\": [\"English\", \"Spanish\"],\n    \"pets\": \"Dog, Cat\",\n    \"hangouts\": \"Hiking, Movies\",\n    \"birthYear\": \"1990\",\n    \"likes\": \"Coding, Reading\",\n    \"dislikes\": \"Traffic, Bad coffee\",\n    \"interests\": [\"Web Development\", \"AI\"],\n    \"showTravels\": true\n  \n}",
                  "description": "not usable, backup only for data value\n",
                  "type": "text",
                  "disabled": true
                }
              ]
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/accounts/update-profile",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "accounts", "update-profile"]
            }
          },
          "response": []
        },
        {
          "name": "Update Preferred Currency",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "data",
                  "value": "{\n \"preferredCurrency\" : \"Philippine Peso\" \n}",
                  "description": "data = (object)[\n  \"firstName\",\n  \"lastName\",\n  \"emailAddress\",\n  \"phoneNo\",\n  \"birthdate\",\n  \"addressLat\",\n  \"addressLong\",\n  \"addressCountry\",\n  \"addressStreet\",\n  \"addressApt\",\n  \"addressCity\",\n  \"addressState\",\n  \"addressZip\",\n  \"validIdType\"\n]\n\nprofileImg\nvalidIdImg",
                  "type": "text"
                },
                {
                  "key": "data-full-copy",
                  "value": "{\n\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"phoneNo\": \"123-456-7890\",\n    \"emailAddress\": \"john.doe@example.com\",\n    \"birthdate\": \"1990-05-15\",\n    \"addressCountry\": \"USA\",\n    \"addressStreet\": \"123 Main St\",\n    \"addressApt\": \"Apt 1\",\n    \"addressCity\": \"Anytown\",\n    \"addressState\": \"CA\",\n    \"addressZip\": \"90210\",\n    \"aboutMe\": \"A passionate developer.\",\n    \"school\": \"University of Example\",\n    \"work\": \"Software Engineer at Example Corp\",\n    \"music\": \"Rock, Jazz\",\n    \"livedIn\": \"New York, London\",\n    \"languages\": [\"English\", \"Spanish\"],\n    \"pets\": \"Dog, Cat\",\n    \"hangouts\": \"Hiking, Movies\",\n    \"birthYear\": \"1990\",\n    \"likes\": \"Coding, Reading\",\n    \"dislikes\": \"Traffic, Bad coffee\",\n    \"interests\": [\"Web Development\", \"AI\"],\n    \"showTravels\": true\n  \n}",
                  "description": "not usable, backup only for data value\n",
                  "type": "text",
                  "disabled": true
                }
              ]
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/accounts/update-profile",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "accounts", "update-profile"]
            }
          },
          "response": []
        },
        {
          "name": "Refresh Token",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"refreshToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJmZDNkOTE3ZC1lZWQyLTQyMTEtYTE4Ni1lMTMzOGMwYmMyZTIiLCJpc0hvc3QiOmZhbHNlLCJoYXNQZW5kaW5nQXBwbGljYXRpb24iOmZhbHNlLCJkZXZpY2VJZCI6ImYxZGY0MWFlNmRmMzA1OTk2OTNhNmIzY2RiODllNjJlYzJlYmRkNTRlNTc5ZTdjMGMwNzQ2NDQwM2UyMDY2YTkiLCJpYXQiOjE3Mzk3NjE3MzcsImV4cCI6MTc0MjM1MzczN30.K2t66qgXO0P0YtBD8RokTnPo_1j-bNlm5sfPjTLdq-8\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/refresh-token",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "refresh-token"]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Bookings",
      "item": [
        {
          "name": "Create Check",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [],
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "data",
                  "value": "{\n\t\"pax\": 1,\n\t\"checkIn\": \"09/25/2025\",\n\t\"checkOut\": \"09/26/2025\",\n    \"listingId\": \"025d0605-8ff8-4e82-ac79-e4445f1becdd\",\n    \"listingSpotId\" : \"79cfa265-5462-48cf-aa9a-de447699a028\",\n\t\"messageToHost\": null,\n\t\"fullname\": \"full name\",\n\t\"phone\": \"0912312312\",\n\t\"email\": \"test@gmail.com\",\n    \"discountCode\" : \"\"\n}",
                  "description": "listingSpotId required if listing_type === 'Public'",
                  "type": "text"
                },
                {
                  "key": "travelersPhoto",
                  "type": "file",
                  "src": "postman-cloud:///1eff34c9-5edd-42f0-a98d-bd939706b3c5",
                  "disabled": true
                },
                {
                  "key": "governmentId",
                  "type": "file",
                  "src": "postman-cloud:///1f00ddb0-5b0d-4800-8769-2afce5046761",
                  "disabled": true
                }
              ]
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/check",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings", "check"]
            }
          },
          "response": []
        },
        {
          "name": "Create",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "data",
                  "value": "{\n\t\"paymentMethod\": \"Gcash\",\n\t\"amountPaid\": 110,\n\t\"pax\": 1,\n\t\"checkIn\": \"12/30/2026\",\n\t\"checkOut\": \"12/31/2026\",\n\"listingId\": \"158f2fca-d2bd-4b71-8c94-b99b7a31c0ef\",\n    \"listingSpotId\" : \"9bb7bda0-aacf-4c54-b00a-41b939e558fd\",\t\"messageToHost\": null,\n\t\"fullname\": \"full name\",\n\t\"phone\": \"0912312312\",\n\t\"email\": \"test@gmail.com\",\n    \"discountCode\" : \"\"\n}",
                  "description": "listingSpotId required if listing_type === 'Public'",
                  "type": "text"
                },
                {
                  "key": "travelersPhoto",
                  "type": "file",
                  "src": "/C:/Users/berre/Desktop/test-😀.png.png",
                  "disabled": true
                },
                {
                  "key": "governmentId",
                  "type": "file",
                  "src": "/C:/Users/berre/Desktop/test-😀.png.png",
                  "disabled": true
                }
              ]
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings"]
            }
          },
          "response": []
        },
        {
          "name": "Has Last Booking with Government ID",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/has-previous-id",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings", "has-previous-id"]
            }
          },
          "response": []
        },
        {
          "name": "Check Booking Payments",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [],
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "data",
                  "value": "{\n\t\"paymentMethod\": \"Gcash\",\n\t\"amountPaid\": 996.13,\n\t\"pax\": 1,\n\t\"checkOut\": \"10/06/2025\",\n\t\"checkIn\": \"10/05/2025\",\n\t\"listingId\": \"0f5d269d-adfb-4191-a598-29e117379f91\",\n    \"listingSpotId\" : null,\n\t\"messageToHost\": null,\n\t\"fullname\": \"full name\",\n\t\"phone\": \"0912312312\",\n\t\"email\": \"test@gmail.com\",\n    \"discountCode\" : \"LIS123\"\n}",
                  "description": "listingSpotId required if listing_type === 'Public'",
                  "type": "text"
                },
                {
                  "key": "travelersPhoto",
                  "type": "file",
                  "src": "postman-cloud:///1eff34c9-5edd-42f0-a98d-bd939706b3c5",
                  "disabled": true
                },
                {
                  "key": "governmentId",
                  "type": "file",
                  "src": "/C:/Users/berre/OneDrive/Pictures/camp images/tom-kulitze-t6j9rMuZO3k-unsplash-640x480.jpg",
                  "disabled": true
                }
              ]
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/check",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings", "check"]
            }
          },
          "response": []
        },
        {
          "name": "Check Discount",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"pax\" : 5,\r\n    \"subtotal\" : \"3000.00\",\r\n    \"code\" : \"SP1552\",\r\n    \"listingId\" : \"123\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/discount",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings", "discount"]
            }
          },
          "response": []
        },
        {
          "name": "Get All My Bookings",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings"],
              "query": [
                {
                  "key": "status",
                  "value": "Done",
                  "description": "For Approval | Pending | Upcoming | Cancelled | Done",
                  "disabled": true
                },
                {
                  "key": "search",
                  "value": "Mactan",
                  "description": "match listing name, location, address city or address country",
                  "disabled": true
                },
                {
                  "key": "startDate",
                  "value": "2020-05-01",
                  "description": "must pass both startDate and endDate to work",
                  "disabled": true
                },
                {
                  "key": "endDate",
                  "value": "2025-05-01",
                  "description": "YYYY-MM-DD",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "1",
                  "description": "must be passed both page and limit to work",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "1",
                  "description": "items per page",
                  "disabled": true
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get My Booking By Booking Number",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/:bookingNumber",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings", ":bookingNumber"],
              "variable": [
                {
                  "key": "bookingNumber",
                  "value": "ACPH-404793"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Rebook",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"bookingNo\" : \"ACPH-995815\",\r\n    \"newCheckIn\" : \"2025-07-10\", //YYYY-MM-DD\r\n    \"newCheckOut\" : \"2025-07-12\" //YYYY-MM-DD\r\n    ,\r\n    \"pax\": 2,\r\n    \"amountPaid\": 0,\r\n    \"paymentMethod\" : \"Gcash\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/rebook",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings", "rebook"]
            }
          },
          "response": []
        },
        {
          "name": "Check Rebook",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"bookingNo\" : \"ACPH-531536\",\r\n    \"newCheckIn\" : \"2025-07-10\", //YYYY-MM-DD\r\n    \"newCheckOut\" : \"2025-07-12\" //YYYY-MM-DD\r\n    ,\r\n    \"pax\": 2\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/rebook",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings", "rebook"]
            }
          },
          "response": []
        },
        {
          "name": "Modify",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"bookingNo\" : \"ACPH-810608\",\r\n    \"newPax\" : 1,\r\n    \"payment\" : 1.1,\r\n    \"paymentMethod\" : \"Debit/Credit\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/modify",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings", "modify"]
            }
          },
          "response": []
        },
        {
          "name": "Check Modify",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"bookingNo\" : \"ACPH-810608\",\r\n    \"newPax\" :2,\r\n    \"payment\" : 10000,\r\n    \"paymentMethod\" : \"Debit/Credit\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/modify",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings", "modify"]
            }
          },
          "response": []
        },
        {
          "name": "Cancel",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"reason\" : \"Others : fjislajflajlkaljkfasjkfaljkljkcgbljk2kj;\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/:bookingNumber/cancel",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings", ":bookingNumber", "cancel"],
              "variable": [
                {
                  "key": "bookingNumber",
                  "value": "ACPH-504613",
                  "description": "Booking No. not booking ID, only allows cancel on status : \"Upcoming\", \"Pen\nding\""
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Listing Spots",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/listings/spots/:listingId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "listings", "spots", ":listingId"],
              "variable": [
                {
                  "key": "listingId",
                  "value": "6c8f59b2-0ea4-4e66-a836-99a20e8ead38"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Listing Add Ons",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/listings/add-ons/:listingId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "listings", "add-ons", ":listingId"],
              "variable": [
                {
                  "key": "listingId",
                  "value": "22e42eed-0988-4679-bfc0-6b1edc579f76"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Listing Availability",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/listings/:listingId/availability?date=2025-05&endDate=2025-06",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "listings", ":listingId", "availability"],
              "query": [
                {
                  "key": "date",
                  "value": "2025-05",
                  "description": "YYYY-MM"
                },
                {
                  "key": "endDate",
                  "value": "2025-06",
                  "description": "optional"
                },
                {
                  "key": "",
                  "value": "",
                  "description": "`GET LISTING AVAILABILITY`\n--use date values and compare to maxCapacity and slots check availability\n--use date query params to check for different month",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "listingId",
                  "value": "0f5d269d-adfb-4191-a598-29e117379f91"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Response Booking Modification",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"bookingNo\" : \"ACPH-543397\",\r\n    \"status\" : \"Accepted\" //Accepted | Declined\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/modify-response",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings", "modify-response"]
            }
          },
          "response": []
        },
        {
          "name": "Pay Host Modified Booking",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"bookingNo\" : \"ACPH-543397\",\r\n    \"payment\" : 242,\r\n    \"paymentMethod\" : \"Gcash\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/bookings/modify-payment",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "bookings", "modify-payment"]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Chat System",
      "item": [
        {
          "name": "Conversations",
          "item": [
            {
              "name": "Get All Conversations",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1/users/chat",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1", "users", "chat"],
                  "query": [
                    {
                      "key": "status",
                      "value": "Active",
                      "disabled": true
                    },
                    {
                      "key": "isSeen",
                      "value": "false",
                      "disabled": true
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Messages",
          "item": [
            {
              "name": "Send Message",
              "request": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "key": "data",
                      "value": "{\n    \"convoId\": \"f64ba41d-8b7d-4503-9d94-5209338d783e\",\n    \"content\": \"okay na?\",\n    \"receiverId\": \"e45bbc97-8a3d-4f73-853f-e915127b8874\"\n}",
                      "type": "text"
                    },
                    {
                      "key": "messageAttachments",
                      "value": "",
                      "type": "file",
                      "disabled": true
                    }
                  ]
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1/users/chat",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1", "users", "chat"]
                }
              },
              "response": []
            },
            {
              "name": "Get All Messages By Convo ID",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1/users/chat/:convoId",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1", "users", "chat", ":convoId"],
                  "variable": [
                    {
                      "key": "convoId",
                      "value": "f64ba41d-8b7d-4503-9d94-5209338d783e"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Seen Messages",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "PATCH",
                "header": [],
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1/users/chat/:convoId",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1", "users", "chat", ":convoId"],
                  "variable": [
                    {
                      "key": "convoId",
                      "value": "eee0123f-060f-468f-9c79-04515dbaa7a8"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Get Host Profile",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/messages/host-profile/:hostId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "messages", "host-profile", ":hostId"],
              "variable": [
                {
                  "key": "hostId",
                  "value": "e71a0ebd-f906-485e-a16f-182a56220b00"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Listings",
      "item": [
        {
          "name": "Get Listing Images By Listing ID",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/listings-images/:listingId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "listings-images", ":listingId"],
              "variable": [
                {
                  "key": "listingId",
                  "value": "1897d130-20bc-43c1-8181-811d786c72e3"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "add ons",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/listings/add-ons/:listingId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "listings", "add-ons", ":listingId"],
              "variable": [
                {
                  "key": "listingId",
                  "value": "7f6716fa-9593-45dc-8380-119aca2e9fa2"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get All Listings",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/listings?type=Private",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "listings"],
              "query": [
                {
                  "key": "search",
                  "value": "Luxury",
                  "disabled": true
                },
                {
                  "key": "sortBy",
                  "value": "price",
                  "description": "averageRating or price",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "DESC",
                  "description": "ASC or DESC",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "10",
                  "disabled": true
                },
                {
                  "key": "long",
                  "value": "121.02",
                  "disabled": true
                },
                {
                  "key": "lat",
                  "value": "14.55",
                  "disabled": true
                },
                {
                  "key": "pax",
                  "value": "6",
                  "disabled": true
                },
                {
                  "key": "checkInDate",
                  "value": "2025-02-11",
                  "disabled": true
                },
                {
                  "key": "checkOutDate",
                  "value": "2025-02-21",
                  "disabled": true
                },
                {
                  "key": "type",
                  "value": "Private",
                  "description": "Public Private"
                },
                {
                  "key": "city",
                  "value": "Baliwag",
                  "disabled": true
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Listing By ID",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Response status code is 200\", function () {\r",
                  "    pm.expect(pm.response.code).to.equal(200);\r",
                  "});\r",
                  "\r",
                  "\r",
                  "pm.test(\"Response time is less than 200ms\", function () {\r",
                  "  pm.expect(pm.response.responseTime).to.be.below(200);\r",
                  "});\r",
                  "\r",
                  "\r",
                  "pm.test(\"Response has the required fields\", function () {\r",
                  "    const responseData = pm.response.json();\r",
                  "\r",
                  "    pm.expect(responseData).to.be.an('object');\r",
                  "    pm.expect(responseData).to.have.property('id');\r",
                  "    pm.expect(responseData).to.have.property('name');\r",
                  "    pm.expect(responseData).to.have.property('description');\r",
                  "    pm.expect(responseData).to.have.property('address');\r",
                  "    pm.expect(responseData).to.have.property('longitude');\r",
                  "    pm.expect(responseData).to.have.property('latitude');\r",
                  "    pm.expect(responseData).to.have.property('price');\r",
                  "    pm.expect(responseData).to.have.property('status');\r",
                  "    pm.expect(responseData).to.have.property('averageRating');\r",
                  "});\r",
                  "\r",
                  "\r",
                  "pm.test(\"Listing images contain non-empty image URLs\", function () {\r",
                  "  const responseData = pm.response.json();\r",
                  "  \r",
                  "  pm.expect(responseData.listingImages).to.be.an('array');\r",
                  "  responseData.listingImages.forEach(function(imageObj) {\r",
                  "    pm.expect(imageObj.image).to.be.a('string').and.to.have.lengthOf.at.least(1, \"Image URL should not be empty\");\r",
                  "  });\r",
                  "});\r",
                  "\r",
                  "\r",
                  "pm.test(\"Validate the host object properties\", function () {\r",
                  "    const responseData = pm.response.json();\r",
                  "    \r",
                  "    pm.expect(responseData).to.have.property('data');\r",
                  "    pm.expect(responseData.data.host).to.be.an('object');\r",
                  "    pm.expect(responseData.data.host).to.have.property('id').that.is.a('string').and.not.empty;\r",
                  "    pm.expect(responseData.data.host).to.have.property('firstname').that.is.a('string').and.not.empty;\r",
                  "    pm.expect(responseData.data.host).to.have.property('lastname').that.is.a('string').and.not.empty;\r",
                  "    pm.expect(responseData.data.host).to.have.property('hosting_date').that.is.null;\r",
                  "    pm.expect(responseData.data.host).to.have.property('averageRating').that.is.a('string').and.not.empty;\r",
                  "});\r",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "prerequest",
              "script": {
                "exec": [""],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/listings/:listingId?checkIn=2025-07-30&checkOut=2025-07-31",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "listings", ":listingId"],
              "query": [
                {
                  "key": "checkIn",
                  "value": "2025-07-30"
                },
                {
                  "key": "checkOut",
                  "value": "2025-07-31"
                }
              ],
              "variable": [
                {
                  "key": "listingId",
                  "value": "158f2fca-d2bd-4b71-8c94-b99b7a31c0ef"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Listing Cities",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/listings/cities",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "listings", "cities"]
            }
          },
          "response": []
        },
        {
          "name": "Get Top Cities",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/listings/top-cities?longitude=120&latitude=14",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "listings", "top-cities"],
              "query": [
                {
                  "key": "longitude",
                  "value": "120"
                },
                {
                  "key": "latitude",
                  "value": "14"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Listing Availability",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/listings/:listingId/availability?checkIn=2025-07-30&checkOut=2025-07-31",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "listings", ":listingId", "availability"],
              "query": [
                {
                  "key": "checkIn",
                  "value": "2025-07-30"
                },
                {
                  "key": "checkOut",
                  "value": "2025-07-31"
                }
              ],
              "variable": [
                {
                  "key": "listingId",
                  "value": "025d0605-8ff8-4e82-ac79-e4445f1becdd"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Listing Reviews",
      "item": [
        {
          "name": "Create Review",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"rating\" : 4, \r\n    \"content\" : \"Nice one\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/reviews/:bookingId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "reviews", ":bookingId"],
              "variable": [
                {
                  "key": "bookingId",
                  "value": "ab71bb9c-b5af-4f7d-9e9f-7f435af99ab4"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete Review",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/reviews/4d9005ed-5227-4789-bda1-d913c7b05139",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "reviews", "4d9005ed-5227-4789-bda1-d913c7b05139"]
            }
          },
          "response": []
        },
        {
          "name": "Update Review",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"rating\": 5,\r\n    \"content\" : \"THIS IS A REVIEW\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/reviews/09e97311-53fc-47ea-9b5f-e78376869544",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "reviews", "09e97311-53fc-47ea-9b5f-e78376869544"]
            }
          },
          "response": []
        },
        {
          "name": "Listing Reviews",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/reviews/:listingId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "reviews", ":listingId"],
              "variable": [
                {
                  "key": "listingId",
                  "value": "020434d7-7d11-406f-a750-e50f4dc33e8d"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Host Reviews",
      "item": [
        {
          "name": "Get Reviews by id",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/host-reviews/:hostId?page=1&limit=10",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "host-reviews", ":hostId"],
              "query": [
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "limit",
                  "value": "10"
                }
              ],
              "variable": [
                {
                  "key": "hostId",
                  "value": "787b2c9a-062e-4597-94e7-8ee7a33534bb"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create Review",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"rating\" : 5\r\n    // \"content\": \"\"\r\n}\r\n\r\n//content nullable",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/host-reviews/:bookingId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "host-reviews", ":bookingId"],
              "variable": [
                {
                  "key": "bookingId",
                  "value": "ab71bb9c-b5af-4f7d-9e9f-7f435af99ab4"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete Review",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/host-reviews/:reviewId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "host-reviews", ":reviewId"],
              "variable": [
                {
                  "key": "reviewId",
                  "value": "2302ec96-165f-46c2-9dd0-a794f2fc23aa"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update Review",
          "request": {
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"rating\" : 2,\r\n    \"content\" : null\r\n}\r\n\r\n//nullable content",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/host-reviews/:reviewId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "host-reviews", ":reviewId"],
              "variable": [
                {
                  "key": "reviewId",
                  "value": "ee421398-9f87-4024-a8ab-f57529d96f12"
                }
              ]
            }
          },
          "response": []
        }
      ],
      "auth": {
        "type": "bearer",
        "bearer": [
          {
            "key": "token",
            "value": "{{WEB_TOKEN}}",
            "type": "string"
          }
        ]
      },
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "type": "text/javascript",
            "packages": {},
            "exec": [""]
          }
        },
        {
          "listen": "test",
          "script": {
            "type": "text/javascript",
            "packages": {},
            "exec": [""]
          }
        }
      ]
    },
    {
      "name": "Host",
      "item": [
        {
          "name": "Get Host Profile",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/host-profile/:hostId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "host-profile", ":hostId"],
              "variable": [
                {
                  "key": "hostId",
                  "value": "07b747f1-52bf-47d6-8dfb-711a7bfe8b65"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Language",
      "item": [
        {
          "name": "Get Language",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/accounts/language",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "accounts", "language"]
            }
          },
          "response": []
        },
        {
          "name": "Update Language",
          "request": {
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"language\" : \"English123\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/accounts/language",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "accounts", "language"]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Users",
      "item": [
        {
          "name": "Profile Others",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/profiles/:userId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "profiles", ":userId"],
              "variable": [
                {
                  "key": "userId",
                  "value": "6572e1c8-6f69-4062-b306-c08ff1cb97d2"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Users Flags",
      "item": [
        {
          "name": "Get Flags",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/flags",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "flags"]
            }
          },
          "response": []
        },
        {
          "name": "Get Privacy Flags",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/privacy-flags",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "privacy-flags"]
            }
          },
          "response": []
        },
        {
          "name": "Update Flags",
          "request": {
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n   \"stayfinderLatestFeatures\": false,\r\n  \"stayfinderLatestFeaturesEmail\": false,\r\n//   \"stayfinderLatestFeaturesMessage\": false,\r\n//   \"travelAdvice\": true,\r\n  \"travelAdviceEmail\": false\r\n//   ,\r\n//   \"travelAdviceMessage\": true,\r\n//   \"accountManagementAndGuidelines\": true,\r\n//   \"accountManagementAndGuidelinesEmail\": false,\r\n//   \"accountManagementAndGuidelinesMessage\": true,\r\n//   \"travelersAndHostMessages\": true,\r\n//   \"travelersAndHostMessagesEmail\": false,\r\n//   \"travelersAndHostMessagesMessage\": true\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/flags",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "flags"]
            }
          },
          "response": []
        },
        {
          "name": "Update Privacy Flags",
          "request": {
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n \"readReceipts\": false,\r\n  \"viewMyOnListings\": false,\r\n  \"displayMyLocation\": false,\r\n  \"displayTripDetails\": false,\r\n  \"displayDurationOfVisit\": true\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/privacy-flags",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "privacy-flags"]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Recently Viewed Listings",
      "item": [
        {
          "name": "Get Recents",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/listings-recent",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "listings-recent"]
            }
          },
          "response": []
        },
        {
          "name": "Create Recent",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/listings-recent/:listingId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "listings-recent", ":listingId"],
              "variable": [
                {
                  "key": "listingId",
                  "value": "025d0605-8ff8-4e82-ac79-e4445f1becdd"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete Recent",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/listings-recent/:recentlyViewedListingId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "listings-recent", ":recentlyViewedListingId"],
              "variable": [
                {
                  "key": "recentlyViewedListingId",
                  "value": "c7a0c055-a67f-42de-ab97-f8057564af26"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Password Reset [users/accounts/]",
      "item": [
        {
          "name": "Request Password Reset",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"email\" : \"berresn050@gmail.com\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/accounts/password-reset/",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "accounts", "password-reset", ""]
            }
          },
          "response": []
        },
        {
          "name": "Reset Password",
          "request": {
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"newPass\" : \"123456789\",\r\n    \"confirmPass\" : \"123456789\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/accounts/password-reset/?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJmODdkYzc3My04OWZkLTRlNTMtYmUxNy05OGMxM2JhMmJiMWYiLCJpYXQiOjE3MzkxNDgwMDgsImV4cCI6MTczOTE0ODkwOH0.PhHWOWJAmpQiVLHQdWT4rLZcZE8k0p2vgt9OWK_JpHg",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "accounts", "password-reset", ""],
              "query": [
                {
                  "key": "token",
                  "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJmODdkYzc3My04OWZkLTRlNTMtYmUxNy05OGMxM2JhMmJiMWYiLCJpYXQiOjE3MzkxNDgwMDgsImV4cCI6MTczOTE0ODkwOH0.PhHWOWJAmpQiVLHQdWT4rLZcZE8k0p2vgt9OWK_JpHg",
                  "description": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJmODdkYzc3My04OWZkLTRlNTMtYmUxNy05OGMxM2JhMmJiMWYiLCJpYXQiOjE3Mzg5MTg3ODYsImV4cCI6MTczODkxOTY4Nn0.J_2seRm_RX-qvgld6TNrioKK6txXevyDElKim0kjYKQ"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Discounts",
      "item": [
        {
          "name": "Get Discounts [SUPER ADMIN]",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/discounts/all",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "discounts", "all"]
            }
          },
          "response": []
        },
        {
          "name": "Get Discounts By Id",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/discounts/:code",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "discounts", ":code"],
              "query": [
                {
                  "key": "",
                  "value": null,
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "code",
                  "value": "VAL25"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get My Discounts",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/discounts/me",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "discounts", "me"]
            }
          },
          "response": []
        },
        {
          "name": "Add Discount",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"code\" : \"LIS123\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/discounts/",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "discounts", ""]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Login Sessions",
      "item": [
        {
          "name": "Get All Login Sessions",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/users/sessions",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "users", "sessions"]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Favorites",
      "item": [
        {
          "name": "Create Favorite Listing",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    // \"folderId\": \"50f00710-5a92-40d2-9109-66fe6015a8bf\",\r\n    // \"name\" : \"new folder 123\",\r\n    \"listingId\": \"012f19bc-9787-452c-932e-3dc4e755a4b8\"\r\n}\r\n\r\n//pass folderId if adding to an existing folder\r\n//pass name without folderId to create a new folder\r\n//passing both folderId and name will disregard \"name\" and will add to folder with that ID\r\n//pass name only if want to create a blank folder\r\n//if you pass a folder name that already exists, listing will be added to that folder\r\n//if pass a name, it will create two favorite, one to that name and if listingId doesnt exists in address folder it will be added\r\n//if i pass listingId only, it will be added to a folder that has address as its name if it doesnt exists/\r\n\r\n//It automatically creates a new folder named after the address or add the listing to the existing address named folder",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/favorites/",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "favorites", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get Favorites Folder and Listings",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/favorites/",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "favorites", ""]
            }
          },
          "response": []
        },
        {
          "name": "Update Favorites Folder",
          "request": {
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"listingId\" : \"0a074a17-2270-47a2-865e-b29d241a5fc7\",\r\n    \"folderId\" : \"9e1bda1d-9550-4f29-a137-93e73c977b05\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/favorites/:folderId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "favorites", ":folderId"],
              "variable": [
                {
                  "key": "folderId",
                  "value": "553814ca-ab05-44e9-8ae7-e22c4877604a"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update Favorites Listing",
          "request": {
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"listingId\" : \"0a074a17-2270-47a2-865e-b29d241a5fc7\",\r\n    \"folderId\": \"9e1bda1d-9550-4f29-a137-93e73c977b05\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/favorites/",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "favorites", ""]
            }
          },
          "response": []
        },
        {
          "name": "Delete Favorites Folder",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/favorites/folders/:folderId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "favorites", "folders", ":folderId"],
              "variable": [
                {
                  "key": "folderId",
                  "value": "b03aab35-7b57-48dc-8109-66c6b40f1d9d"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete Favorites Listing",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/favorites/listings/:listingId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "favorites", "listings", ":listingId"],
              "variable": [
                {
                  "key": "listingId",
                  "value": "0a074a17-2270-47a2-865e-b29d241a5fc7"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Folders with Previews",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/favorites/folders",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "favorites", "folders"]
            }
          },
          "response": []
        },
        {
          "name": "Get Folder by Id",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1/customers/favorites/folders/:folderId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1", "customers", "favorites", "folders", ":folderId"],
              "variable": [
                {
                  "key": "folderId",
                  "value": "91c22019-c24d-4764-aa53-7dc72f325d42"
                }
              ]
            }
          },
          "response": []
        }
      ],
      "description": "UPDATES\n\n- delete favorite listing now uses listingId\n    \n- create listing will not allow same listing on different folders\n    \n\nADDITIONS\n\n- new PATCH route to move listing to another folder"
    },
    {
      "name": "Payment Methods [06-27]",
      "item": [
        {
          "name": "Get",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/payment-methods?type=Debit/Credit",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "payment-methods"],
              "query": [
                {
                  "key": "type",
                  "value": "Debit/Credit",
                  "description": "Gcash | Debit/Credit | Paypal"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "\r\n\r\n\r\n// {\r\n//     \"type\": \"Paypal\",\r\n//     \"name\": \"Juan Santos\",\r\n//     \"email\": \"09171234567\"\r\n//   }\r\n// {\r\n//     \"type\": \"Gcash\",\r\n//     \"name\": \"Juan Santos\",\r\n//     \"phone\": \"09171234567\"\r\n//   }\r\n\r\n//Gcash | Debit/Credit | Paypal\r\n\r\n// {  \"type\": \"Debit/Credit\",\r\n//             \"cardNumber\": \"GG\",\r\n//             \"expiration\": \"2025-07\",\r\n//             \"cvv\": \"GG\",\r\n//             \"nameOfCard\": \"GG\",\r\n//             \"name\": \"Juan Santos\",\r\n//             \"phone\": \"09171234567\",\r\n//             \"email\": \"GG\"}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/payment-methods",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "payment-methods"]
            }
          },
          "response": []
        },
        {
          "name": "Update",
          "request": {
            "method": "PUT",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"type\": \"Paypal\",\r\n    \"name\": \"Juan Santos***\",\r\n    \"email\": \"09171234567\"\r\n  }",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/payment-methods/:paymentMethodId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "payment-methods", ":paymentMethodId"],
              "variable": [
                {
                  "key": "paymentMethodId",
                  "value": "2968a944-3991-4262-9b42-9288f7f1cd57"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/payment-methods/:paymentMethodId",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "payment-methods", ":paymentMethodId"],
              "variable": [
                {
                  "key": "paymentMethodId",
                  "value": "2a3e176c-c0f4-4c14-8a31-4d3b953f3319"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Transactions",
      "item": [
        {
          "name": "HOST/SUPERADMIN TEST",
          "item": [
            {
              "name": "Update Transaction",
              "request": {
                "method": "PATCH",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"method\" : \"Gcash\",\r\n    \"status\" : \"Completed\",\r\n    \"amount\" : \"242\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1.1/customers/transactions/:transactionId",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1.1", "customers", "transactions", ":transactionId"],
                  "variable": [
                    {
                      "key": "transactionId",
                      "value": "327d0f7c-eec9-4b9a-ba0f-cf6e4f3e8391"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get All Transactions",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1.1/customers/transactions",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1.1", "customers", "transactions"]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Get User & Host own",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/customers/transactions",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "customers", "transactions"]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "🚮 Archive",
      "item": [
        {
          "name": "Bookings v1",
          "item": [
            {
              "name": "Create Booking",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"listingId\": \"0a074a17-2270-47a2-865e-b29d241a5fc7\",\r\n    \"checkIn\": \"2025-01-23\",\r\n    \"checkOut\": \"2025-01-27\",\r\n    \"pax\": 1,\r\n    \"paymentOption\": \"Pay Now\", // \"Pay Now\", \"Installment\"\r\n    \"phoneNo\": \"098765637849\",\r\n    \"paymentMethod\": \"Online\", //\"Online\", \"Cash\", \"Debit/Credit\"\r\n    \"amountPaid\": 700.00,\r\n    \"addOns\": [\r\n        {\r\n            \"name\": \"Extra Towel\",\r\n            \"price\": 100.00,\r\n            \"quantity\": 1\r\n        }\r\n    ]\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1/customers/bookings",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1", "customers", "bookings"]
                }
              },
              "response": []
            },
            {
              "name": "Get All My Bookings",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1/customers/bookings",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1", "customers", "bookings"],
                  "query": [
                    {
                      "key": "status",
                      "value": "Upcoming",
                      "disabled": true
                    },
                    {
                      "key": "search",
                      "value": null,
                      "disabled": true
                    },
                    {
                      "key": "startDate",
                      "value": null,
                      "disabled": true
                    },
                    {
                      "key": "endDate",
                      "value": null,
                      "disabled": true
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Cancel Booking",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "PATCH",
                "header": [],
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1/customers/bookings/:bookingNumber",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1", "customers", "bookings", ":bookingNumber"],
                  "variable": [
                    {
                      "key": "bookingNumber",
                      "value": "ACPH-240083",
                      "description": "Booking No. not booking ID, only allows cancel on status : \"Upcoming\", \"Pen\nding\""
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Listings v1 ❌",
          "item": [
            {
              "name": "Get All Listings",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1/customers/listings",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1", "customers", "listings"],
                  "query": [
                    {
                      "key": "search",
                      "value": "Luxury",
                      "disabled": true
                    },
                    {
                      "key": "sortBy",
                      "value": "rating",
                      "description": "averageRating or price",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "DESC",
                      "description": "ASC or DESC",
                      "disabled": true
                    },
                    {
                      "key": "page",
                      "value": "1",
                      "disabled": true
                    },
                    {
                      "key": "location_type",
                      "value": "Urban",
                      "description": "case sensitive, can be multiple by providing more than 1 with the same query name",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "10",
                      "disabled": true
                    },
                    {
                      "key": "long",
                      "value": "121.02",
                      "disabled": true
                    },
                    {
                      "key": "lat",
                      "value": "14.55",
                      "disabled": true
                    },
                    {
                      "key": "pax",
                      "value": "6",
                      "disabled": true
                    },
                    {
                      "key": "checkInDate",
                      "value": "2025-02-11",
                      "disabled": true
                    },
                    {
                      "key": "checkOutDate",
                      "value": "2025-02-21",
                      "disabled": true
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Listing By ID",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "pm.test(\"Response status code is 200\", function () {\r",
                      "    pm.expect(pm.response.code).to.equal(200);\r",
                      "});\r",
                      "\r",
                      "\r",
                      "pm.test(\"Response time is less than 200ms\", function () {\r",
                      "  pm.expect(pm.response.responseTime).to.be.below(200);\r",
                      "});\r",
                      "\r",
                      "\r",
                      "pm.test(\"Response has the required fields\", function () {\r",
                      "    const responseData = pm.response.json();\r",
                      "\r",
                      "    pm.expect(responseData).to.be.an('object');\r",
                      "    pm.expect(responseData).to.have.property('id');\r",
                      "    pm.expect(responseData).to.have.property('name');\r",
                      "    pm.expect(responseData).to.have.property('description');\r",
                      "    pm.expect(responseData).to.have.property('address');\r",
                      "    pm.expect(responseData).to.have.property('longitude');\r",
                      "    pm.expect(responseData).to.have.property('latitude');\r",
                      "    pm.expect(responseData).to.have.property('price');\r",
                      "    pm.expect(responseData).to.have.property('status');\r",
                      "    pm.expect(responseData).to.have.property('averageRating');\r",
                      "});\r",
                      "\r",
                      "\r",
                      "pm.test(\"Listing images contain non-empty image URLs\", function () {\r",
                      "  const responseData = pm.response.json();\r",
                      "  \r",
                      "  pm.expect(responseData.listingImages).to.be.an('array');\r",
                      "  responseData.listingImages.forEach(function(imageObj) {\r",
                      "    pm.expect(imageObj.image).to.be.a('string').and.to.have.lengthOf.at.least(1, \"Image URL should not be empty\");\r",
                      "  });\r",
                      "});\r",
                      "\r",
                      "\r",
                      "pm.test(\"Validate the host object properties\", function () {\r",
                      "    const responseData = pm.response.json();\r",
                      "    \r",
                      "    pm.expect(responseData).to.have.property('data');\r",
                      "    pm.expect(responseData.data.host).to.be.an('object');\r",
                      "    pm.expect(responseData.data.host).to.have.property('id').that.is.a('string').and.not.empty;\r",
                      "    pm.expect(responseData.data.host).to.have.property('firstname').that.is.a('string').and.not.empty;\r",
                      "    pm.expect(responseData.data.host).to.have.property('lastname').that.is.a('string').and.not.empty;\r",
                      "    pm.expect(responseData.data.host).to.have.property('hosting_date').that.is.null;\r",
                      "    pm.expect(responseData.data.host).to.have.property('averageRating').that.is.a('string').and.not.empty;\r",
                      "});\r",
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                },
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [""],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1/customers/listings/:listingId",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1", "customers", "listings", ":listingId"],
                  "variable": [
                    {
                      "key": "listingId",
                      "value": "03790cc5-73c5-4ce8-acae-f460874c2657"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Location Types",
          "item": [
            {
              "name": "Get Location Types",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1/customers/location-types",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1", "customers", "location-types"]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Payment History",
          "item": [
            {
              "name": "Get Payment History",
              "request": {
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{WEB_TOKEN}}",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{WEB_BASEURL}}/api/v1/customers/payment-history",
                  "host": ["{{WEB_BASEURL}}"],
                  "path": ["api", "v1", "customers", "payment-history"],
                  "query": [
                    {
                      "key": "status",
                      "value": "Upcoming",
                      "description": "Upcoming | Completed",
                      "disabled": true
                    },
                    {
                      "key": "startDate",
                      "value": "2025-02-08",
                      "description": "YYYY-MM-DD",
                      "disabled": true
                    },
                    {
                      "key": "endDate",
                      "value": "2025-02-10",
                      "description": "YYYY-MM-DD",
                      "disabled": true
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "register ❌ use v1",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {\r",
                  "    const token = pm.response.json().token;\r",
                  "    pm.globals.set(\"WEB_TOKEN\", token);\r",
                  "    pm.response.to.have.status(200);\r",
                  "});"
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"otpSendTo\" : \"email\",\r\n  \"emailAddress\": \"test@gmail.com\",\r\n//   \"email_address\": \"test@gmail.com\",\r\n  \"password\": \"Test12345!\",\r\n  \"firstname\": \"firstname\",\r\n  \"middlename\": \"middlename\",\r\n  \"lastname\": \"lastname\",\r\n  \"phoneNo\": \"0932465653\",\r\n  \"phoneNo2\": \"09324656545\",\r\n  \"email2\": \"email2\"\r\n}\r\n\r\n// --no phone 2\r\n// {\r\n//   \"emailAddress\": \"berresn050@gmail.com\",\r\n// //   \"email_address\": \"test@gmail.com\",\r\n//   \"password\": \"12345678\",\r\n//   \"firstname\": \"firstname\",\r\n//   \"middlename\": \"middlename\",\r\n//   \"lastname\": \"lastname\",\r\n//   \"phoneNo\": \"0932465653\"\r\n// //   ,\r\n// //   \"phoneNo2\": \"09324656545\",\r\n// //   \"email2\": \"email2\"\r\n// }",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/users/accounts/register",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "users", "accounts", "register"]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Banks",
      "item": [
        {
          "name": "Get banks",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/users/banks",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "users", "banks"]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Events",
      "item": [
        {
          "name": "Get Events",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/users/events",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "users", "events"],
              "query": [
                {
                  "key": "type",
                  "value": "upcoming",
                  "disabled": true
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Event By Id",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{WEB_TOKEN}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{WEB_BASEURL}}/api/v1.1/users/events/:id",
              "host": ["{{WEB_BASEURL}}"],
              "path": ["api", "v1.1", "users", "events", ":id"],
              "variable": [
                {
                  "key": "id",
                  "value": "e1a1f001-1a1b-4e1c-b1d1-111111111111"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Get Copy",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{WEB_BASEURL}}/api/v1.1/customers/payment-methods?type=Debit/Credit",
          "host": ["{{WEB_BASEURL}}"],
          "path": ["api", "v1.1", "customers", "payment-methods"],
          "query": [
            {
              "key": "type",
              "value": "Debit/Credit",
              "description": "Gcash | Debit/Credit | Paypal"
            }
          ]
        }
      },
      "response": []
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{WEB_TOKEN}}",
        "type": "string"
      }
    ]
  },
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "packages": {},
        "exec": [""]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "packages": {},
        "exec": [""]
      }
    }
  ]
}
