{"info":{"_postman_id":"7569a1aa-c3e9-4493-8178-f95958b4c3f6","name":"FaveBooking API","description":"This is all APIs that using for booking appointment in FaveSalon system","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"#1 - Get booking settings","id":"0b0d4a9f-4d69-4730-b43e-226be153e228","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","description":"You can fetch Salon booking settings via a `GET` to `http://13.57.216.170/api/salon/config-booking`\n\n##### Query Parameters\n| Parameter | Required | Description |\n| --------- | -------- | ----------- |\n| id        | yes      | Salon ID    |"},"response":[{"id":"db3156af-5a6c-4ab7-b04f-366bfe4f4c97","name":"1 - Get booking settings","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://13.57.216.170/api/salon/config-booking?id=49989","protocol":"http","host":["13","57","216","170"],"path":["api","salon","config-booking"],"query":[{"key":"id","value":"49989"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"paging\": [],\n    \"data\": {\n        \"accept_all_appointments\": 0,\n        \"accept_booking_on_sat\": 1,\n        \"schedule\": {\n            \"Monday\": \"8:00 AM - 11:30 PM\",\n            \"Tuesday\": \"8:00 AM - 5:00 PM\",\n            \"Friday\": \"8:00 AM - 5:00 PM\",\n            \"Wednesday\": \"8:00 AM - 9:00 PM\",\n            \"Thursday\": \"8:00 AM - 5:00 PM\",\n            \"Sunday\": \"8:00 AM - 11:00 PM\",\n            \"Saturday\": \"8:00 AM - 9:00 PM\"\n        },\n        \"accept_booking_on_wed\": 1,\n        \"accept_online_payment\": 1,\n        \"accept_booking_on_tue\": 1,\n        \"group_accept_online_payment\": 0,\n        \"accept_booking_on_fri\": 0,\n        \"accept_booking_on_thu\": 1,\n        \"group_require_pay_online\": 1,\n        \"accept_booking_online\": 1,\n        \"accept_booking_on_sun\": 1,\n        \"require_pay_online\": 0,\n        \"minimum_advanced_booking_hours\": 3,\n        \"maximum_advanced_booking_days\": 60,\n        \"hide_no_preference\": 0,\n        \"accept_booking_on_mon\": 1\n    },\n    \"message\": \"Success.\"\n}"}],"_postman_id":"0b0d4a9f-4d69-4730-b43e-226be153e228"},{"name":"#2 - Get services","id":"a530958b-8c4c-4ce8-bda7-f7263e310e25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","description":"You can fetch available services via a `GET` to `http://13.57.216.170/api/salon/services`\n\n##### Query Parameters\n| Parameter | Required | Description |\n| --------- | -------- | ----------- |\n| v     \t| no       | Attach `v=2` to request if you want to group services by category    |\n| id        | yes      | Salon ID    |\n| stylist_id| no       | Stylist ID that specified from Dashboard    |"},"response":[{"id":"f06ee32f-7206-4c69-ac5a-e1c86d7d038f","name":"2 - Get services","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://13.57.216.170/api/salon/services?v=2&id=49989&stylist_id=43826","protocol":"http","host":["13","57","216","170"],"path":["api","salon","services"],"query":[{"key":"v","value":"2"},{"key":"id","value":"49989"},{"key":"stylist_id","value":"43826"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Tue, 24 Dec 2019 17:34:00 GMT"},{"key":"Connection","value":"close"},{"key":"Vary","value":"Host, Accept-Language, Cookie, Accept-Encoding"},{"key":"Content-Length","value":"1264"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Language","value":"en-us"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"paging\": [],\n    \"data\": [\n        {\n            \"category\": \"Dipping Powder\",\n            \"name\": \"Nails\",\n            \"thumb_image\": \"uploads/service/nails.png\",\n            \"service_id\": 8,\n            \"service_groups\": [\n                {\n                    \"category\": \"Dipping Powder\",\n                    \"service_id\": 8,\n                    \"services\": [\n                        {\n                            \"id\": 43824,\n                            \"category\": \"Dipping Powder\",\n                            \"name\": \"ANC Dipping Powder\",\n                            \"price_info\": \"35.0\",\n                            \"time_info\": \"60\",\n                            \"description\": \"None\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [\n                                {\n                                    \"src\": \"https://favesalon.s3.amazonaws.com/public/media/uploads/photos/3739057ed31858-13b2-11e9-9550-02e527659f20.png\",\n                                    \"photo_id\": 31155,\n                                    \"beautician_name\": \"\",\n                                    \"album_id\": 6311,\n                                    \"service_name\": \"Nails\",\n                                    \"tags\": \"redmani\",\n                                    \"product_brand_used\": \"\",\n                                    \"total_like\": 0,\n                                    \"caption\": \"my holiday nail designs\",\n                                    \"total_view_count\": 0,\n                                    \"salon_service_id\": 43824,\n                                    \"total_shared\": 0,\n                                    \"salon_id\": 49989,\n                                    \"service_id\": 8,\n                                    \"beautician_id\": null,\n                                    \"salon_service_name\": \"ANC Dipping Powder\",\n                                    \"total_booking\": 0\n                                }\n                            ],\n                            \"can_perform\": 0,\n                            \"status\": 0\n                        },\n                        {\n                            \"id\": 43781,\n                            \"category\": \"Dipping Powder\",\n                            \"name\": \"SNS Dipping Powder\",\n                            \"price_info\": \"45.0\",\n                            \"time_info\": \"60\",\n                            \"description\": \"None\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [],\n                            \"can_perform\": 0,\n                            \"status\": 1\n                        }\n                    ],\n                    \"order\": 1\n                },\n                {\n                    \"category\": \"Manicure\",\n                    \"service_id\": 8,\n                    \"services\": [\n                        {\n                            \"id\": 43780,\n                            \"category\": \"Manicure\",\n                            \"name\": \"Express Mani\",\n                            \"price_info\": \"25.0\",\n                            \"time_info\": \"30\",\n                            \"description\": \"Clean cuticle, file and shape nails, polish and top coat\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [],\n                            \"can_perform\": 0,\n                            \"status\": 1\n                        }\n                    ],\n                    \"order\": 3\n                },\n                {\n                    \"category\": \"Pedicure\",\n                    \"service_id\": 8,\n                    \"services\": [\n                        {\n                            \"id\": 44381,\n                            \"category\": \"Pedicure\",\n                            \"name\": \"Express Pedicure\",\n                            \"price_info\": \"25.0\",\n                            \"time_info\": \"30\",\n                            \"description\": \"None\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [],\n                            \"can_perform\": 0,\n                            \"status\": 1\n                        }\n                    ],\n                    \"order\": 4\n                },\n                {\n                    \"category\": \"Spa Packages\",\n                    \"service_id\": 8,\n                    \"services\": [\n                        {\n                            \"id\": 44378,\n                            \"category\": \"Spa Packages\",\n                            \"name\": \"Sooth Pedicure \",\n                            \"price_info\": \"75.0\",\n                            \"time_info\": \"45\",\n                            \"description\": \"None\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [],\n                            \"can_perform\": 0,\n                            \"status\": 1\n                        },\n                        {\n                            \"id\": 44377,\n                            \"category\": \"Spa Packages\",\n                            \"name\": \"Deluxe Pedicure 2\",\n                            \"price_info\": \"85.0\",\n                            \"time_info\": \"60\",\n                            \"description\": \"None\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [],\n                            \"can_perform\": 0,\n                            \"status\": 1\n                        },\n                        {\n                            \"id\": 44379,\n                            \"category\": \"Spa Packages\",\n                            \"name\": \"California Spa Pedicure\",\n                            \"price_info\": \"60.0\",\n                            \"time_info\": \"45\",\n                            \"description\": \"None\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [],\n                            \"can_perform\": 0,\n                            \"status\": 1\n                        },\n                        {\n                            \"id\": 44380,\n                            \"category\": \"Spa Packages\",\n                            \"name\": \"Seasonal Pedicure Treatment\",\n                            \"price_info\": \"99.0\",\n                            \"time_info\": \"60\",\n                            \"description\": \"None\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [],\n                            \"can_perform\": 0,\n                            \"status\": 1\n                        }\n                    ],\n                    \"order\": 5\n                }\n            ],\n            \"order\": 1\n        },\n        {\n            \"category\": \"Baber\",\n            \"name\": \"Barber\",\n            \"thumb_image\": \"uploads/service/barber.png\",\n            \"service_id\": 1,\n            \"service_groups\": [\n                {\n                    \"category\": \"Baber\",\n                    \"service_id\": 1,\n                    \"services\": [\n                        {\n                            \"id\": 43817,\n                            \"category\": \"Baber\",\n                            \"name\": \"Men's Hair Cut\",\n                            \"price_info\": \"40.0\",\n                            \"time_info\": \"45\",\n                            \"description\": \"Get the latest cut trend\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [],\n                            \"can_perform\": 0,\n                            \"status\": 0\n                        }\n                    ],\n                    \"order\": 9\n                }\n            ],\n            \"order\": 9\n        },\n        {\n            \"category\": \"Blow Dry\",\n            \"name\": \"Blow Dry\",\n            \"thumb_image\": \"uploads/service/blow-dry.png\",\n            \"service_id\": 2,\n            \"service_groups\": [\n                {\n                    \"category\": \"Blow Dry\",\n                    \"service_id\": 2,\n                    \"services\": [\n                        {\n                            \"id\": 43818,\n                            \"category\": \"Blow Dry\",\n                            \"name\": \"blow dry\",\n                            \"price_info\": \"40.0\",\n                            \"time_info\": \"15\",\n                            \"description\": \"None\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [],\n                            \"can_perform\": 0,\n                            \"status\": 1\n                        }\n                    ],\n                    \"order\": 10\n                }\n            ],\n            \"order\": 10\n        },\n        {\n            \"category\": \"Eyelash Extension\",\n            \"name\": \"Eyelash Extension\",\n            \"thumb_image\": \"uploads/service/eye-lash.png\",\n            \"service_id\": 3,\n            \"service_groups\": [\n                {\n                    \"category\": \"Eyelash Extension\",\n                    \"service_id\": 3,\n                    \"services\": [\n                        {\n                            \"id\": 43819,\n                            \"category\": null,\n                            \"name\": \"Eyelash Extension\",\n                            \"price_info\": \"70.0\",\n                            \"time_info\": \"60\",\n                            \"description\": \"None\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [\n                                {\n                                    \"src\": \"https://favesalon.s3.amazonaws.com/public/media/uploads/photos/3739057a047f24-e964-11e8-ad63-02e527659f20.png\",\n                                    \"photo_id\": 19062,\n                                    \"beautician_name\": \"Jennifer Jones\",\n                                    \"album_id\": 4088,\n                                    \"service_name\": \"Eyelash Extension\",\n                                    \"tags\": \"\",\n                                    \"product_brand_used\": \"\",\n                                    \"total_like\": 0,\n                                    \"caption\": \"new lashes\",\n                                    \"total_view_count\": 0,\n                                    \"salon_service_id\": 43819,\n                                    \"total_shared\": 0,\n                                    \"salon_id\": 49989,\n                                    \"service_id\": 3,\n                                    \"beautician_id\": 373809,\n                                    \"salon_service_name\": \"Eyelash Extension\",\n                                    \"total_booking\": 0\n                                },\n                                {\n                                    \"src\": \"https://favesalon.s3.amazonaws.com/public/media/uploads/photos/373905d6770d6a-e966-11e8-b401-02e527659f20.png\",\n                                    \"photo_id\": 19063,\n                                    \"beautician_name\": \"Jennifer Jones\",\n                                    \"album_id\": 4089,\n                                    \"service_name\": \"Eyelash Extension\",\n                                    \"tags\": \"\",\n                                    \"product_brand_used\": \"\",\n                                    \"total_like\": 0,\n                                    \"caption\": \"lashes\",\n                                    \"total_view_count\": 0,\n                                    \"salon_service_id\": 43819,\n                                    \"total_shared\": 0,\n                                    \"salon_id\": 49989,\n                                    \"service_id\": 3,\n                                    \"beautician_id\": 373809,\n                                    \"salon_service_name\": \"Eyelash Extension\",\n                                    \"total_booking\": 0\n                                },\n                                {\n                                    \"src\": \"https://favesalon.s3.amazonaws.com/public/media/uploads/photos/373905d6d30ebc-e966-11e8-b401-02e527659f20.png\",\n                                    \"photo_id\": 19064,\n                                    \"beautician_name\": \"Jennifer Jones\",\n                                    \"album_id\": 4089,\n                                    \"service_name\": \"Eyelash Extension\",\n                                    \"tags\": \"\",\n                                    \"product_brand_used\": \"\",\n                                    \"total_like\": 0,\n                                    \"caption\": \"lashes\",\n                                    \"total_view_count\": 0,\n                                    \"salon_service_id\": 43819,\n                                    \"total_shared\": 0,\n                                    \"salon_id\": 49989,\n                                    \"service_id\": 3,\n                                    \"beautician_id\": 373809,\n                                    \"salon_service_name\": \"Eyelash Extension\",\n                                    \"total_booking\": 0\n                                },\n                                {\n                                    \"src\": \"https://favesalon.s3.amazonaws.com/public/media/uploads/photos/37390579b7c2c4-e964-11e8-b751-02e527659f20.png\",\n                                    \"photo_id\": 19061,\n                                    \"beautician_name\": \"Jennifer Jones\",\n                                    \"album_id\": 4088,\n                                    \"service_name\": \"Eyelash Extension\",\n                                    \"tags\": \"\",\n                                    \"product_brand_used\": \"\",\n                                    \"total_like\": 0,\n                                    \"caption\": \"new lashes\",\n                                    \"total_view_count\": 0,\n                                    \"salon_service_id\": 43819,\n                                    \"total_shared\": 0,\n                                    \"salon_id\": 49989,\n                                    \"service_id\": 3,\n                                    \"beautician_id\": 373809,\n                                    \"salon_service_name\": \"Eyelash Extension\",\n                                    \"total_booking\": 0\n                                }\n                            ],\n                            \"can_perform\": 0,\n                            \"status\": 1\n                        }\n                    ],\n                    \"order\": 11\n                }\n            ],\n            \"order\": 11\n        },\n        {\n            \"category\": \"Waxing\",\n            \"name\": \"Waxing\",\n            \"thumb_image\": \"uploads/service/waxing.png\",\n            \"service_id\": 12,\n            \"service_groups\": [\n                {\n                    \"category\": \"Waxing\",\n                    \"service_id\": 12,\n                    \"services\": [\n                        {\n                            \"id\": 43828,\n                            \"category\": null,\n                            \"name\": \"Waxing\",\n                            \"price_info\": \"25.0\",\n                            \"time_info\": \"15\",\n                            \"description\": \"None\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [],\n                            \"can_perform\": 0,\n                            \"status\": 0\n                        }\n                    ],\n                    \"order\": 12\n                }\n            ],\n            \"order\": 12\n        },\n        {\n            \"category\": \"Makeup\",\n            \"name\": \"Makeup\",\n            \"thumb_image\": \"uploads/service/makeup.png\",\n            \"service_id\": 5,\n            \"service_groups\": [\n                {\n                    \"category\": \"Makeup\",\n                    \"service_id\": 5,\n                    \"services\": [\n                        {\n                            \"id\": 43821,\n                            \"category\": null,\n                            \"name\": \"Makeup \",\n                            \"price_info\": \"30.0\",\n                            \"time_info\": \"15\",\n                            \"description\": \"None\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [],\n                            \"can_perform\": 0,\n                            \"status\": 0\n                        }\n                    ],\n                    \"order\": 13\n                }\n            ],\n            \"order\": 13\n        },\n        {\n            \"category\": \"Threading\",\n            \"name\": \"Threading\",\n            \"thumb_image\": \"uploads/service/threading.png\",\n            \"service_id\": 11,\n            \"service_groups\": [\n                {\n                    \"category\": \"Threading\",\n                    \"service_id\": 11,\n                    \"services\": [\n                        {\n                            \"id\": 43827,\n                            \"category\": null,\n                            \"name\": \"Threading\",\n                            \"price_info\": \"55.0\",\n                            \"time_info\": \"60\",\n                            \"description\": \"None\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [],\n                            \"can_perform\": 0,\n                            \"status\": 0\n                        }\n                    ],\n                    \"order\": 14\n                }\n            ],\n            \"order\": 14\n        },\n        {\n            \"category\": \"Hair\",\n            \"name\": \"Hair\",\n            \"thumb_image\": \"uploads/service/hair.png\",\n            \"service_id\": 4,\n            \"service_groups\": [\n                {\n                    \"category\": \"Hair\",\n                    \"service_id\": 4,\n                    \"services\": [\n                        {\n                            \"id\": 43820,\n                            \"category\": null,\n                            \"name\": \"hair style\",\n                            \"price_info\": \"100.0\",\n                            \"time_info\": \"45\",\n                            \"description\": \"None\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [],\n                            \"can_perform\": 0,\n                            \"status\": 0\n                        }\n                    ],\n                    \"order\": 15\n                }\n            ],\n            \"order\": 15\n        },\n        {\n            \"category\": \"Skincare\",\n            \"name\": \"Skincare\",\n            \"thumb_image\": \"uploads/service/skin.png\",\n            \"service_id\": 9,\n            \"service_groups\": [\n                {\n                    \"category\": \"Skincare\",\n                    \"service_id\": 9,\n                    \"services\": [\n                        {\n                            \"id\": 43825,\n                            \"category\": null,\n                            \"name\": \"Skincare\",\n                            \"price_info\": \"60.0\",\n                            \"time_info\": \"60\",\n                            \"description\": \"None\",\n                            \"thumb_image\": \"\",\n                            \"valid\": 1,\n                            \"photo_link\": [],\n                            \"can_perform\": 0,\n                            \"status\": 0\n                        }\n                    ],\n                    \"order\": 16\n                }\n            ],\n            \"order\": 16\n        }\n    ],\n    \"message\": \"Success.\"\n}"}],"_postman_id":"a530958b-8c4c-4ce8-bda7-f7263e310e25"},{"name":"#3 - Get stylists","id":"6fa09ac4-2f06-4373-ab2a-351539fea53d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","description":"You can fetch available stylists for selected services via a `GET` to `http://13.57.216.170/api/salon/stylists`\n\n##### Query Parameters\n| Parameter  | Required | Description |\n| ---------  | -------- | ----------- |\n| id         | yes      | Salon ID    |\n| service_ids| yes      | List of service ids, separate by a `,` |\n| available_match_day | no | Selected date from calendar |\n| available_match_time | no | Selected time from calendar |\n| selected_stylist_id | no | Tt tell API return selected stylist information |"},"response":[{"id":"b45a7d36-b4a0-4c7c-9986-35a1d29d04bc","name":"3 - Get stylists","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://13.57.216.170/api/salon/stylists?id=49989&service_ids=43824,43781&available_match_day=2019-12-27&available_match_time=11:30%20AM&selected_stylist_id=373864","protocol":"http","host":["13","57","216","170"],"path":["api","salon","stylists"],"query":[{"key":"id","value":"49989"},{"key":"service_ids","value":"43824,43781"},{"key":"available_match_day","value":"2019-12-27"},{"key":"available_match_time","value":"11:30%20AM"},{"key":"selected_stylist_id","value":"373864"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Tue, 24 Dec 2019 17:34:00 GMT"},{"key":"Connection","value":"close"},{"key":"Vary","value":"Host, Accept-Language, Cookie, Accept-Encoding"},{"key":"Content-Length","value":"1264"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Language","value":"en-us"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"paging\": [],\n    \"data\": {\n        \"selected_stylist\": {\n            \"enable_online_booking\": 1,\n            \"services\": [],\n            \"rating_percent\": 100.0,\n            \"expertise\": null,\n            \"off_today\": 0,\n            \"full_profile_image\": \"https://fave.style/public/media/uploads/avatar/beautician-default.png\",\n            \"stylist_id\": 373864,\n            \"profile_image\": \"/public/media/uploads/avatar/beautician-default.png\",\n            \"can_perform\": 0,\n            \"stylist_name\": \"Son Kim\"\n        },\n        \"stylists\": [\n            {\n                \"enable_online_booking\": 1,\n                \"services\": [\n                    {\n                        \"service_id\": 43824,\n                        \"time_info\": \"60\",\n                        \"service_name\": \"ANC Dipping Powder\"\n                    },\n                    {\n                        \"service_id\": 43781,\n                        \"time_info\": \"60\",\n                        \"service_name\": \"SNS Dipping Powder\"\n                    }\n                ],\n                \"rating_percent\": 55.0,\n                \"expertise\": null,\n                \"off_today\": 0,\n                \"full_profile_image\": \"https://favesalon.s3.amazonaws.com/public/media/uploads/avatar/3738732977ca3e-fdb9-11e8-baaa-02e527659f20.png-200.png\",\n                \"stylist_id\": 373810,\n                \"profile_image\": \"uploads/avatar/3738732977ca3e-fdb9-11e8-baaa-02e527659f20.png\",\n                \"stylist_name\": \"Laurie Stien\"\n            },\n            {\n                \"enable_online_booking\": 1,\n                \"services\": [\n                    {\n                        \"service_id\": 43824,\n                        \"time_info\": \"60\",\n                        \"service_name\": \"ANC Dipping Powder\"\n                    },\n                    {\n                        \"service_id\": 43781,\n                        \"time_info\": \"60\",\n                        \"service_name\": \"SNS Dipping Powder\"\n                    }\n                ],\n                \"rating_percent\": 100.0,\n                \"expertise\": null,\n                \"off_today\": 0,\n                \"full_profile_image\": \"https://fave.style/public/media/uploads/avatar/beautician-default.png\",\n                \"stylist_id\": 373864,\n                \"profile_image\": \"/public/media/uploads/avatar/beautician-default.png\",\n                \"stylist_name\": \"Son Kim\"\n            },\n            {\n                \"enable_online_booking\": 1,\n                \"services\": [\n                    {\n                        \"service_id\": 43781,\n                        \"time_info\": \"60\",\n                        \"service_name\": \"SNS Dipping Powder\"\n                    },\n                    {\n                        \"service_id\": 43824,\n                        \"time_info\": \"60\",\n                        \"service_name\": \"ANC Dipping Powder\"\n                    }\n                ],\n                \"rating_percent\": 0.0,\n                \"expertise\": null,\n                \"off_today\": 0,\n                \"full_profile_image\": \"https://favesalon.s3.amazonaws.com/public/media/uploads/avatar/412063c6c98914-e3cb-11e9-9ebb-024d65a390cf.png-200.png\",\n                \"stylist_id\": 373951,\n                \"profile_image\": \"uploads/avatar/412063c6c98914-e3cb-11e9-9ebb-024d65a390cf.png\",\n                \"stylist_name\": \"Vanessa Tran\"\n            },\n            {\n                \"enable_online_booking\": 1,\n                \"services\": [\n                    {\n                        \"service_id\": 43781,\n                        \"time_info\": \"60\",\n                        \"service_name\": \"SNS Dipping Powder\"\n                    },\n                    {\n                        \"service_id\": 43824,\n                        \"time_info\": \"60\",\n                        \"service_name\": \"ANC Dipping Powder\"\n                    }\n                ],\n                \"rating_percent\": 0.0,\n                \"expertise\": null,\n                \"off_today\": 0,\n                \"full_profile_image\": \"https://favesalon.s3.amazonaws.com/public/media/uploads/avatar/4120924a6ad576-e650-11e9-8599-024d65a390cf.png-200.png\",\n                \"stylist_id\": 373958,\n                \"profile_image\": \"uploads/avatar/4120924a6ad576-e650-11e9-8599-024d65a390cf.png\",\n                \"stylist_name\": \"Son Lee\"\n            },\n            {\n                \"enable_online_booking\": 1,\n                \"services\": [\n                    {\n                        \"service_id\": 43824,\n                        \"time_info\": \"60\",\n                        \"service_name\": \"ANC Dipping Powder\"\n                    },\n                    {\n                        \"service_id\": 43781,\n                        \"time_info\": \"60\",\n                        \"service_name\": \"SNS Dipping Powder\"\n                    }\n                ],\n                \"rating_percent\": 86.0,\n                \"expertise\": null,\n                \"off_today\": 0,\n                \"full_profile_image\": \"https://favesalon.s3.amazonaws.com/public/media/uploads/avatar/4051003ca9ee3c-7cbe-11e9-b4e7-02e527659f20.png-200.png\",\n                \"stylist_id\": 373888,\n                \"profile_image\": \"uploads/avatar/4051003ca9ee3c-7cbe-11e9-b4e7-02e527659f20.png\",\n                \"stylist_name\": \"Alexis La\"\n            }\n        ]\n    },\n    \"message\": \"Success.\"\n}"}],"_postman_id":"6fa09ac4-2f06-4373-ab2a-351539fea53d"},{"name":"#4 - Get available date of selected stylists","id":"1a54ce95-586c-48b7-af7d-57cc4f2c8c4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","description":"You can fetch available dates for selected stylists via a `GET` to `http://13.57.216.170/api/salon/stylists/available-day`\n\n##### Query Parameters\n| Parameter  | Required | Description |\n| ---------  | -------- | ----------- |\n| id         | yes      | Salon ID    |\n| stylist_ids| yes      | List of stylist ids, separate by a `,` |"},"response":[{"id":"cbf8fb8c-ed2d-4665-9fdd-a7926f338813","name":"4 -  Get available date of selected stylists","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://13.57.216.170/api/salon/stylists/available-day?id=49989&stylist_ids=373810,373958","protocol":"http","host":["13","57","216","170"],"path":["api","salon","stylists","available-day"],"query":[{"key":"id","value":"49989"},{"key":"stylist_ids","value":"373810,373958"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Tue, 24 Dec 2019 17:34:00 GMT"},{"key":"Connection","value":"close"},{"key":"Vary","value":"Host, Accept-Language, Cookie, Accept-Encoding"},{"key":"Content-Length","value":"1264"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Language","value":"en-us"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": true,\n  \"paging\": [\n    \n  ],\n  \"data\": {\n    \"wed\": 1,\n    \"sun\": 0,\n    \"thu\": 1,\n    \"tue\": 1,\n    \"mon\": 1,\n    \"fri\": 1,\n    \"sat\": 1\n  },\n  \"message\": \"Success.\"\n}"}],"_postman_id":"1a54ce95-586c-48b7-af7d-57cc4f2c8c4e"},{"name":"#5 - Get available time of selected stylists","id":"e93d8c14-f3d2-411f-8de3-9f930d2d04ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","description":"You can fetch available times for selected stylists via a `GET` to `http://13.57.216.170/api/salon/stylists/available-day`\n\n##### Query Parameters\n| Parameter  | Required | Description |\n| ---------  | -------- | ----------- |\n| id         | yes      | Salon ID    |\n| stylist_ids| yes      | List of stylist ids, separate by a `,` |\n| available_match_day| yes | Selected date |"},"response":[{"id":"b7cfd2b0-eda2-496e-8220-6c53e59fa5b1","name":"5 - Get available time of selected stylists","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://13.57.216.170/api/salon/get-stylist-available-time?id=49989&booking_date=2019-08-18&duration=60&stylist_id=373888","protocol":"http","host":["13","57","216","170"],"path":["api","salon","get-stylist-available-time"],"query":[{"key":"id","value":"49989"},{"key":"booking_date","value":"2019-08-18"},{"key":"duration","value":"60"},{"key":"stylist_id","value":"373888"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Tue, 24 Dec 2019 17:34:00 GMT"},{"key":"Connection","value":"close"},{"key":"Vary","value":"Host, Accept-Language, Cookie, Accept-Encoding"},{"key":"Content-Length","value":"1264"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Language","value":"en-us"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{ \n  \"status\": true,\n  \"paging\": [\n    \n  ],\n  \"data\": [\n    \"10:00 AM\",\n    \"10:15 AM\",\n    \"10:30 AM\",\n    \"10:45 AM\",\n    \"11:00 AM\",\n    \"11:15 AM\",\n    \"11:30 AM\",\n    \"11:45 AM\",\n    \"12:00 PM\",\n    \"12:15 PM\",\n    \"12:30 PM\",\n    \"12:45 PM\",\n    \"1:00 PM\",\n    \"1:15 PM\",\n    \"1:30 PM\",\n    \"1:45 PM\",\n    \"2:00 PM\",\n    \"2:15 PM\",\n    \"2:30 PM\",\n    \"2:45 PM\",\n    \"3:00 PM\",\n    \"3:15 PM\",\n    \"3:30 PM\",\n    \"10:00 AM\",\n    \"10:15 AM\",\n    \"10:30 AM\",\n    \"10:45 AM\",\n    \"11:00 AM\",\n    \"11:15 AM\",\n    \"11:30 AM\",\n    \"11:45 AM\",\n    \"12:00 PM\",\n    \"12:15 PM\",\n    \"12:30 PM\",\n    \"12:45 PM\",\n    \"1:00 PM\",\n    \"1:15 PM\",\n    \"1:30 PM\",\n    \"1:45 PM\",\n    \"2:00 PM\",\n    \"2:15 PM\",\n    \"2:30 PM\",\n    \"2:45 PM\",\n    \"3:00 PM\",\n    \"3:15 PM\",\n    \"3:30 PM\"\n  ],\n  \"message\": \"Success.\"\n}"}],"_postman_id":"e93d8c14-f3d2-411f-8de3-9f930d2d04ef"},{"name":"#6 - Book appointment","id":"db15d4cf-acf3-4101-b4f5-0a86ce51f1d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"","description":"You can book an appointment via a `POST` to `http://13.57.216.170/api/user/booking-apointment/salon/?call=one_page_booking`"},"response":[{"id":"4122d9e2-f7b1-4269-8104-d0790148afa4","name":"#6 - Book appointment","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"\n{\n  \"salon_id\": 49989,\n  \"stylist_id\": 373810,\n  \"booking_date_time\": \"08-24-2019 10:30AM\",\n  \"special_attention\": \"note for booking\",\n  \"service_list\": \"Men's Hair Cut, blow dry\",\n  \"service_ids\": \"43817,43818\",\n  \"duration\": 60,\n  \"email_phone\": \"(097) 343-4146\",\n  \"email_or_phone\": 2,\n  \"first_name\": \"Tinh\",\n  \"last_name\": \"Nguyen\",\n  \"source\": \"\",\n  \"billing_zipcode\": \"12345\",\n  \"user_id\": -1,\n  \"group_stylist\": [{\n\t  \"stylist_id\": 373810, \n\t  \"services\": [43817,43818]\n\t},\n\t{\n\t  \"stylist_id\": 373839, \n\t  \"services\": [43832]\n\t}\n  ],\n  \"group_booking\": [\n    {\n      \"first_name\": \"Tinh\",\n      \"last_name\": \"Nguyen\",\n      \"phone\": \"(097) 343-4146\",\n      \"group_stylist\": [\n\t     {\n\t       \"stylist_id\": 373810, \n\t       \"services\": [43817]\n\t     },\n\t     {\n\t       \"stylist_id\": 373839, \n\t       \"services\": [43832]\n\t     }\n      ]\n    },\n    {\n      \"first_name\": \"Trung\",\n      \"last_name\": \"Luu\",\n      \"phone\": \"\",\n      \"group_stylist\": [\n\t     {\n\t       \"stylist_id\": -1, \n\t       \"services\": [43818]\n\t     },\n\t     {\n\t       \"stylist_id\": 373839, \n\t       \"services\": [43832]\n\t     }\n\t  ]\n    },\n    {\n      \"first_name\": \"Nick\",\n      \"last_name\": \"\",\n      \"phone\": \"(714) 600-8686\",\n      \"group_stylist\": [\n\t     {\n\t       \"stylist_id\": 373810, \n\t       \"services\": [43817]\n\t     },\n\t     {\n\t       \"stylist_id\": -1, \n\t       \"services\": [43832]\n\t     }\n\t  ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://13.57.216.170/api/user/booking-apointment/salon/?call=one_page_booking","protocol":"http","host":["13","57","216","170"],"path":["api","user","booking-apointment","salon",""],"query":[{"key":"call","value":"one_page_booking"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Tue, 24 Dec 2019 17:34:00 GMT"},{"key":"Connection","value":"close"},{"key":"Vary","value":"Host, Accept-Language, Cookie, Accept-Encoding"},{"key":"Content-Length","value":"1264"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Language","value":"en-us"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{ \n  \"status\": true,\n  \"paging\": [\n    \n  ],\n  \"data\": [\n    \"10:00 AM\",\n    \"10:15 AM\",\n    \"10:30 AM\",\n    \"10:45 AM\",\n    \"11:00 AM\",\n    \"11:15 AM\",\n    \"11:30 AM\",\n    \"11:45 AM\",\n    \"12:00 PM\",\n    \"12:15 PM\",\n    \"12:30 PM\",\n    \"12:45 PM\",\n    \"1:00 PM\",\n    \"1:15 PM\",\n    \"1:30 PM\",\n    \"1:45 PM\",\n    \"2:00 PM\",\n    \"2:15 PM\",\n    \"2:30 PM\",\n    \"2:45 PM\",\n    \"3:00 PM\",\n    \"3:15 PM\",\n    \"3:30 PM\",\n    \"10:00 AM\",\n    \"10:15 AM\",\n    \"10:30 AM\",\n    \"10:45 AM\",\n    \"11:00 AM\",\n    \"11:15 AM\",\n    \"11:30 AM\",\n    \"11:45 AM\",\n    \"12:00 PM\",\n    \"12:15 PM\",\n    \"12:30 PM\",\n    \"12:45 PM\",\n    \"1:00 PM\",\n    \"1:15 PM\",\n    \"1:30 PM\",\n    \"1:45 PM\",\n    \"2:00 PM\",\n    \"2:15 PM\",\n    \"2:30 PM\",\n    \"2:45 PM\",\n    \"3:00 PM\",\n    \"3:15 PM\",\n    \"3:30 PM\"\n  ],\n  \"message\": \"Success.\"\n}"}],"_postman_id":"db15d4cf-acf3-4101-b4f5-0a86ce51f1d1"},{"name":"#7 - Search users by phone","id":"1c420fbb-244d-4e67-a86f-68f0fb83555e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","description":"You can search users via a `GET` to `http://13.57.216.170/api/salon/consumer/search`\n\n##### Query Parameters\n| Parameter  | Required | Description |\n| ---------  | -------- | ----------- |\n| id         | yes      | Salon ID    |\n| keyword    | yes      | Phone number |"},"response":[{"id":"06992fb2-f97f-4b43-a3a2-d644c9a78104","name":"#7 - Search users by phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"\n{\n  \"salon_id\": 49989,\n  \"stylist_id\": 373810,\n  \"booking_date_time\": \"08-24-2019 10:30AM\",\n  \"special_attention\": \"note for booking\",\n  \"service_list\": \"Men's Hair Cut, blow dry\",\n  \"service_ids\": \"43817,43818\",\n  \"duration\": 60,\n  \"email_phone\": \"(097) 343-4146\",\n  \"email_or_phone\": 2,\n  \"first_name\": \"Tinh\",\n  \"last_name\": \"Nguyen\",\n  \"source\": \"\",\n  \"billing_zipcode\": \"12345\",\n  \"user_id\": -1,\n  \"group_stylist\": [{\n\t  \"stylist_id\": 373810, \n\t  \"services\": [43817,43818]\n\t},\n\t{\n\t  \"stylist_id\": 373839, \n\t  \"services\": [43832]\n\t}\n  ],\n  \"group_booking\": [\n    {\n      \"first_name\": \"Tinh\",\n      \"last_name\": \"Nguyen\",\n      \"phone\": \"(097) 343-4146\",\n      \"group_stylist\": [\n\t     {\n\t       \"stylist_id\": 373810, \n\t       \"services\": [43817]\n\t     },\n\t     {\n\t       \"stylist_id\": 373839, \n\t       \"services\": [43832]\n\t     }\n      ]\n    },\n    {\n      \"first_name\": \"Trung\",\n      \"last_name\": \"Luu\",\n      \"phone\": \"\",\n      \"group_stylist\": [\n\t     {\n\t       \"stylist_id\": -1, \n\t       \"services\": [43818]\n\t     },\n\t     {\n\t       \"stylist_id\": 373839, \n\t       \"services\": [43832]\n\t     }\n\t  ]\n    },\n    {\n      \"first_name\": \"Nick\",\n      \"last_name\": \"\",\n      \"phone\": \"(714) 600-8686\",\n      \"group_stylist\": [\n\t     {\n\t       \"stylist_id\": 373810, \n\t       \"services\": [43817]\n\t     },\n\t     {\n\t       \"stylist_id\": -1, \n\t       \"services\": [43832]\n\t     }\n\t  ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://13.57.216.170/api/salon/consumer/search?id=49989&keyword=600","protocol":"http","host":["13","57","216","170"],"path":["api","salon","consumer","search"],"query":[{"key":"id","value":"49989"},{"key":"keyword","value":"600"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Tue, 24 Dec 2019 17:34:00 GMT"},{"key":"Connection","value":"close"},{"key":"Vary","value":"Host, Accept-Language, Cookie, Accept-Encoding"},{"key":"Content-Length","value":"1264"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Language","value":"en-us"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{ \n  \"status\": true,\n  \"paging\": [\n    \n  ],\n  \"data\": [\n\t{\n\t  \"first_name\": \"nick\",\n\t  \"last_name\": \"la\",\n\t  \"user_id\": 379589,\n\t  \"mobile_phone\": \"(714) 600-1234\"\n\t},\n\t{\n\t  \"first_name\": \"Nick\",\n\t  \"last_name\": \"La\",\n\t  \"user_id\": 379650,\n\t  \"mobile_phone\": \"(714) 600-8682\"\n\t}\n  ],\n  \"message\": \"Success.\"\n}"}],"_postman_id":"1c420fbb-244d-4e67-a86f-68f0fb83555e"},{"name":"#8 - Get Stripe card","id":"13c35eb7-e49d-410c-a443-9eec6eb53dae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","description":"You can get card tokens via a `GET` to `https://api.stripe.com/v1/tokens`\n\n##### Query Parameters\n| Parameter  | Required | Description |\n| ---------  | -------- | ----------- |\n| card[name] | yes      | Name on card |\n| card[number]    | yes | Card number |\n| card[exp_month] | yes | Expiry month |\n| card[exp_year]  | yes | Expiry year |\n| card[cvc]       | yes | Card Virification code |"},"response":[{"id":"53636557-c491-4f64-adea-4a8ae0f3eb2d","name":"#8 - Get Stripe card","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"\n{\n  \"card[name]\": \"Trung Luu\",\n  \"card[number]\": 4111111111111111,\n  \"card[exp_month]\": 10,\n  \"card[exp_year]\": 2024,\n  \"card[cvc]\": 123\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stripe.com/v1/tokens"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Tue, 24 Dec 2019 17:34:00 GMT"},{"key":"Connection","value":"close"},{"key":"Vary","value":"Host, Accept-Language, Cookie, Accept-Encoding"},{"key":"Content-Length","value":"1264"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Language","value":"en-us"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"tok_1Fu1eTKbTE2ZjZLAuLpJ7BfI\",\n  \"object\": \"token\",\n  \"card\": {\n    \"id\": \"card_1Fu1eTKbTE2ZjZLA5Wv6UFDc\",\n    \"object\": \"card\",\n    \"address_city\": null,\n    \"address_country\": null,\n    \"address_line1\": null,\n    \"address_line1_check\": null,\n    \"address_line2\": null,\n    \"address_state\": null,\n    \"address_zip\": null,\n    \"address_zip_check\": null,\n    \"brand\": \"Visa\",\n    \"country\": \"US\",\n    \"cvc_check\": \"unchecked\",\n    \"dynamic_last4\": null,\n    \"exp_month\": 10,\n    \"exp_year\": 2024,\n    \"funding\": \"unknown\",\n    \"last4\": \"1111\",\n    \"metadata\": {\n    },\n    \"name\": \"Trung Luu\",\n    \"tokenization_method\": null\n  },\n  \"client_ip\": \"1.55.183.150\",\n  \"created\": 1577387141,\n  \"livemode\": false,\n  \"type\": \"card\",\n  \"used\": false\n}\n"}],"_postman_id":"13c35eb7-e49d-410c-a443-9eec6eb53dae"}]}