{"id":37,"date":"2026-04-04T17:07:20","date_gmt":"2026-04-04T22:07:20","guid":{"rendered":"https:\/\/spa.yachayphu.com\/index.php\/book-appointment\/"},"modified":"2026-04-04T17:07:20","modified_gmt":"2026-04-04T22:07:20","slug":"book-appointment","status":"publish","type":"page","link":"https:\/\/spa.yachayphu.com\/index.php\/book-appointment\/","title":{"rendered":"Book Appointment"},"content":{"rendered":"        <form id=\"appointment-form\" method=\"post\" action=\"https:\/\/spa.yachayphu.com\/wp-admin\/admin-post.php\">\n            <input type=\"hidden\" id=\"book_appointment_nonce\" name=\"book_appointment_nonce\" value=\"0e0d28742b\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php\/wp-json\/wp\/v2\/pages\/37\" \/>            <input type=\"hidden\" name=\"action\" value=\"submit_appointment_booking\"> <!-- Custom form action -->\n\n            \n            <h3>Select Service<\/h3>\n            <select name=\"service_id\" id=\"service-select\" required>\n                <option value=\"\">Select a service<\/option>\n                            <\/select>\n\n            <h3>Select Date<\/h3>\n            <input type=\"date\" name=\"booking_date\" required>\n\n            <h3>Select Time<\/h3>\n            <input type=\"time\" id=\"booking_time\" step=\"900\" name=\"booking_time\" required>\n\n            <h3>Enter Your Details<\/h3>\n            <label for=\"name\">Name:<\/label>\n            <input type=\"text\" name=\"name\" id=\"name\" required \/>\n\n            <label for=\"email\">Email:<\/label>\n            <input type=\"email\" name=\"email\" id=\"email\" required \/>\n\n            <label for=\"phone\">Phone:<\/label>\n            <input type=\"tel\" name=\"phone\" id=\"phone\" required \/>\n\n            <h3>Summary<\/h3>\n            <div id=\"appointment-summary\">\n                <p><strong>Service:<\/strong> <span id=\"selected-service\"><\/span><\/p>\n                <p><strong>Price:<\/strong> $<span id=\"selected-price\"><\/span><\/p>\n                <p><strong>Date:<\/strong> <span id=\"selected-date\"><\/span><\/p>\n                <p><strong>Time:<\/strong> <span id=\"selected-time\"><\/span><\/p>\n            <\/div>\n\n            <button type=\"submit\" name=\"book_appointment\">Book Appointment<\/button>\n\n        <\/form>\n        \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-37","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/spa.yachayphu.com\/index.php\/wp-json\/wp\/v2\/pages\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spa.yachayphu.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/spa.yachayphu.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/spa.yachayphu.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spa.yachayphu.com\/index.php\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":0,"href":"https:\/\/spa.yachayphu.com\/index.php\/wp-json\/wp\/v2\/pages\/37\/revisions"}],"wp:attachment":[{"href":"https:\/\/spa.yachayphu.com\/index.php\/wp-json\/wp\/v2\/media?parent=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}