{"id":8038,"date":"2025-11-17T20:40:00","date_gmt":"2025-11-17T11:40:00","guid":{"rendered":"https:\/\/www.flow-state.jp\/amelia\/?post_type=bwl_kb&#038;p=8038"},"modified":"2025-11-17T21:10:03","modified_gmt":"2025-11-17T12:10:03","slug":"bookingsamelia-api-bookings","status":"publish","type":"bwl_kb","link":"https:\/\/www.flow-state.jp\/amelia\/mypage\/api-endpoints\/bookingsamelia-api-bookings\/","title":{"rendered":"\u4e88\u7d04\uff08Bookings\uff09"},"content":{"rendered":"<div class=\"p-blogParts post_content\" data-partsID=\"3489\">\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer u-mb-ctrl u-mb-0\"><\/div>\n\n\n\n<p class=\"has-text-align-center has-huge-font-size\"><span style=\"--the-icon-svg: url(data:image\/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjFlbSIgd2lkdGg9IjFlbSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBhcmlhLWhpZGRlbj0idHJ1ZSIgdmlld0JveD0iMCAwIDQ4IDQ4Ij48cGF0aCBkPSJNMTEuNyAxLjQgNi44IDVjLS41LjQtLjggMS0uOCAxLjZ2MjguN2MwIC44LjUgMS41IDEuMiAxLjhsMjQgMTAuM2MxLjMuNiAyLjgtLjQgMi44LTEuOFYxOWMwLS44LS41LTEuNS0xLjItMS44TDEwLjIgNy41bDIuOS0yLjJjLjktLjYgMi0uOCAzLS40bDIwLjYgOC44Yy43LjMgMS4yIDEgMS4yIDEuOFY0Mi45YzAgLjkgMSAxLjMgMS43LjhsMS43LTEuNWMuNC0uNC43LS45LjctMS41VjEzYzAtLjgtLjUtMS41LTEuMi0xLjhMMTYuNy44Yy0xLjctLjctMy42LS41LTUgLjZ6Ij48L3BhdGg+PC9zdmc+)\" data-icon=\"LsBook\" data-id=\"0\" aria-hidden=\"true\" class=\"swl-inline-icon\">\u2003<\/span> <strong>\u64cd\u4f5c\u30ac\u30a4\u30c9<\/strong><\/p>\n\n\n<p><form id=\"form\" action=\"https:\/\/www.flow-state.jp\/amelia\" autocomplete=\"off\" class=\"bkb-live-search-form bkb-sbox-layout-1 rounded-box\">\n                                                <div id=\"suggest\" class=\"bkb_filter_container\">\n                                                    <input type=\"text\" size=\"25\" value=\"\" id=\"s\" name=\"s\" class=\"s\" placeholder=\"\u304a\u63a2\u3057\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u533a\u5207\u308a\u306f\u534a\u89d2\u30b9\u30da\u30fc\u30b9\uff09\" data-search-box-unique-id=\"2585476933\" data-search_limit=\"30\" data-search_only_title=\"0\" data-search_both_tc=\"0\"\/>\n                                                    <span class=\"bkbm-btn-clear bkbm-dn\"><\/span>\n                                                    <div class=\"suggestionsBox\" id=\"suggestions_2585476933\" style=\"display: none;\">\n                                                        <div class=\"suggestionList\" id=\"suggestionsList_2585476933\"> &nbsp; <\/div>\n                                                    <\/div>\n                                                <\/div>\n                                            <\/form><\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\">Amelia API \u2013 \u4e88\u7d04\u60c5\u5831<\/h2>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001\u4e88\u7d04\u60c5\u5831\u306b\u95a2\u9023\u3059\u308bAPI\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092<strong>\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059<\/strong>\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_info\">\u30ea\u30af\u30a8\u30b9\u30c8\u3068\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4f8b\u3092\u542b\u3080\u3059\u3079\u3066\u306eAPI\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f\u3001<a href=\"https:\/\/www.flow-state.jp\/amelia\/wp-content\/uploads\/2025\/11\/amelia-api.json_.zip\">\u3053\u3061\u3089<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u308bAmelia API Postman\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3067<strong>\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059<\/strong>\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_info\">API\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306e\u4f7f\u7528\u306b\u306f\u4e00\u5b9a\u30ec\u30d9\u30eb\u306e\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30b9\u30ad\u30eb\u304c\u5fc5\u8981\u3067\u3042\u308a\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30b5\u30dd\u30fc\u30c8\u306b\u306f\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u8a8d\u8a3c<\/h3>\n\n\n\n<p>\u3059\u3079\u3066\u306e<strong>Amelia<\/strong>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f\u3001\u300c<strong>Amelia<\/strong>\u300d\u3068\u3044\u3046\u30d8\u30c3\u30c0\u30fc\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3057\u3066API\u30ad\u30fc\u8a8d\u8a3c\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d1\u30b9<\/h3>\n\n\n\n<p><strong>Amelia<\/strong> API\u306e\u30d1\u30b9\u306f <code>{{your_site_URL}}\/wp-admin\/admin-ajax.php?action=wpamelia_api&amp;call=\/api\/v1<\/code> \u3067\u59cb\u307e\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e88\u7d04\u306e\u8ffd\u52a0<\/h3>\n\n\n\n<p>\u4e88\u7d04\u3001\u30a4\u30d9\u30f3\u30c8\u3001\u307e\u305f\u306f<strong>\u30b3\u30fc\u30b9<\/strong>\u306e\u4e88\u7d04\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e1\u30bd\u30c3\u30c9<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f<code>POST<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d1\u30b9<\/strong><\/p>\n\n\n\n<p><code>\/bookings<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u4e88\u7d04\u306e\u4f5c\u6210<\/strong><\/h3>\n\n\n\n<p><strong>\u5fc5\u9808\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>type<\/code><\/td><td>string<\/td><td>\u4e88\u7d04\u306e\u30bf\u30a4\u30d7\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u5024\uff1a<code>appointment<\/code> (\u4e88\u7d04)\u3001<code>event<\/code> (\u30a4\u30d9\u30f3\u30c8)\u3001\u307e\u305f\u306f<code>package<\/code> (<strong>\u30b3\u30fc\u30b9<\/strong>)\u3002<\/td><\/tr><tr><td><code>bookings<\/code><\/td><td>array<\/td><td>1\u3064\u306e\u8981\u7d20\u3092\u6301\u3064\u914d\u5217\u3002<strong>\u304a\u5ba2\u69d8<\/strong>\u3068\u30ab\u30b9\u30bf\u30e0\u9805\u76ee\u60c5\u5831\u3092\u542b\u3080\u4e88\u7d04\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<\/td><\/tr><tr><td><code>bookingStart<\/code><\/td><td>string<\/td><td>\u4e88\u7d04\u306e\u958b\u59cb\u65e5\u6642\u3092<code>YYYY-MM-DD HH:mm<\/code>\u306e\u5f62\u5f0f\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/td><\/tr><tr><td><code>payment<\/code><\/td><td>object<\/td><td><code>gateway<\/code>\u3001<code>currency<\/code>\u3001\u304a\u3088\u3073<code>data<\/code>\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u6301\u3064\u652f\u6255\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<\/td><\/tr><tr><td><code>notifyParticipants<\/code><\/td><td>boolean<\/td><td><strong>\u304a\u5ba2\u69d8<\/strong>\u306b\u4e88\u7d04\u306b\u3064\u3044\u3066<strong>\u30e1\u30fc\u30eb<\/strong>\u3067\u901a\u77e5\u3059\u308b\u304b\u3069\u3046\u304b\u3002<\/td><\/tr><tr><td><code>locationId<\/code><\/td><td>integer<\/td><td>\u4e88\u7d04\u306e<strong>\u5834\u6240<\/strong>ID<\/td><\/tr><tr><td><code>providerId<\/code><\/td><td>integer<\/td><td><strong>\u30b9\u30bf\u30c3\u30d5<\/strong>\u306eID<\/td><\/tr><tr><td><code>serviceId<\/code><\/td><td>integer<\/td><td>\u30b5\u30fc\u30d3\u30b9\u306eID<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u305d\u306e\u4ed6\u306e\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>locale<\/code><\/td><td>string<\/td><td><strong>\u304a\u5ba2\u69d8<\/strong>\u306e\u30ed\u30b1\u30fc\u30eb\u3002\u4f8b\uff1a<code>en_US<\/code><\/td><\/tr><tr><td><code>timeZone<\/code><\/td><td>string<\/td><td><strong>\u304a\u5ba2\u69d8<\/strong>\u306e\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3002\u4f8b\uff1a<code>Europe\/Belgrade<\/code><\/td><\/tr><tr><td><code>recurring<\/code><\/td><td>array<\/td><td>\u6700\u521d\u306e1\u3064\u3092\u9664\u304f\u3001\u3059\u3079\u3066\u306e\u7e70\u308a\u8fd4\u3057\u4e88\u7d04\u306e\u914d\u5217\u3067\u3059\u3002<\/td><\/tr><tr><td><code>couponCode<\/code><\/td><td>string<\/td><td>\u30af\u30fc\u30dd\u30f3\u30b3\u30fc\u30c9\u3002<\/td><\/tr><tr><td><code>runInstantPostBookingActions<\/code><\/td><td>boolean<\/td><td>\u3053\u306eAPI\u547c\u3073\u51fa\u3057\u3067\u4e88\u7d04\u5f8c\u306e\u30a2\u30af\u30b7\u30e7\u30f3\uff08<strong>\u30e1\u30fc\u30eb<\/strong>\u306e\u9001\u4fe1\u3001Google\u30ab\u30ec\u30f3\u30c0\u30fc\u30a4\u30d9\u30f3\u30c8\u306e\u8ffd\u52a0\u3001<strong>Zoom<\/strong>\u30df\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u4f5c\u6210\u306a\u3069\uff09\u3092\u5b9f\u884c\u3059\u308b\u304b\u3069\u3046\u304b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f<code>false<\/code>\u3067\u3059\u3002\u305d\u306e\u5834\u5408\u306f\u3001\u4ee3\u308f\u308a\u306b<code>\/bookings\/success\/{booking_id}<\/code>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location &#39;http:\/\/localhost\/amelia\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/bookings&#39; \\\n--header &#39;Content-Type: application\/json&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39; \\\n--data-raw &#39;{\n&quot;type&quot;: &quot;appointment&quot;,\n&quot;bookings&quot;: [\n{\n&quot;extras&quot;: [],\n&quot;customFields&quot;: {\n&quot;1&quot;: {\n&quot;label&quot;: &quot;text&quot;,\n&quot;type&quot;: &quot;text&quot;,\n&quot;value&quot;: &quot;custom field value&quot;\n}\n},\n&quot;deposit&quot;: true,\n&quot;locale&quot;: &quot;en_US&quot;,\n&quot;utcOffset&quot;: null,\n&quot;persons&quot;: 1,\n&quot;customerId&quot;: null,\n&quot;customer&quot;: {\n&quot;id&quot;: null,\n&quot;firstName&quot;: &quot;Rob&quot;,\n&quot;lastName&quot;: &quot;Stark&quot;,\n&quot;email&quot;: &quot;robstark@test.test&quot;,\n&quot;phone&quot;: &quot;&quot;,\n&quot;countryPhoneIso&quot;: &quot;&quot;,\n&quot;externalId&quot;: null\n},\n&quot;duration&quot;: 1800\n}\n],\n&quot;payment&quot;: {\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;currency&quot;: &quot;USD&quot;,\n&quot;data&quot;: {}\n},\n&quot;bookingStart&quot;: &quot;2023-10-05 13:00&quot;,\n&quot;notifyParticipants&quot;: 1,\n&quot;locationId&quot;: 2,\n&quot;providerId&quot;: 1,\n&quot;serviceId&quot;: 1\n}&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: &quot;Successfully added booking&quot;,\n&quot;data&quot;: {\n&quot;type&quot;: &quot;appointment&quot;,\n&quot;appointment&quot;: {\n&quot;id&quot;: 742,\n&quot;bookings&quot;: [\n{\n&quot;id&quot;: 980,\n&quot;customerId&quot;: 64,\n&quot;customer&quot;: {\n&quot;id&quot;: 64,\n&quot;firstName&quot;: &quot;Rob&quot;,\n&quot;lastName&quot;: &quot;Stark&quot;,\n&quot;birthday&quot;: null,\n&quot;email&quot;: &quot;robstark@test.test&quot;,\n&quot;phone&quot;: null,\n&quot;type&quot;: &quot;\u304a\u5ba2\u69d8&quot;,\n&quot;status&quot;: null,\n&quot;note&quot;: null,\n&quot;zoomUserId&quot;: null,\n&quot;countryPhoneIso&quot;: null,\n&quot;externalId&quot;: null,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;translations&quot;: &quot;{\\&quot;defaultLanguage\\&quot;:\\&quot;en_US\\&quot;}&quot;,\n&quot;gender&quot;: null\n},\n&quot;status&quot;: &quot;approved&quot;,\n&quot;extras&quot;: [],\n&quot;couponId&quot;: null,\n&quot;price&quot;: 23,\n&quot;coupon&quot;: null,\n&quot;customFields&quot;: &quot;{\\&quot;1\\&quot;:{\\&quot;label\\&quot;:\\&quot;text\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;,\\&quot;value\\&quot;:\\&quot;custom field value\\&quot;}}&quot;,\n&quot;info&quot;: &quot;{\\&quot;firstName\\&quot;:\\&quot;Rob\\&quot;,\\&quot;lastName\\&quot;:\\&quot;Stark\\&quot;,\\&quot;phone\\&quot;:null,\\&quot;locale\\&quot;:\\&quot;en_US\\&quot;,\\&quot;timeZone\\&quot;:\\&quot;Europe\\\\\/Belgrade\\&quot;,\\&quot;urlParams\\&quot;:null}&quot;,\n&quot;appointmentId&quot;: 742,\n&quot;persons&quot;: 1,\n&quot;token&quot;: &quot;08a4df18c0&quot;,\n&quot;payments&quot;: [\n{\n&quot;id&quot;: 1001,\n&quot;customerBookingId&quot;: 980,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-10-05 11:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null,\n&quot;transactionId&quot;: null\n}\n],\n&quot;utcOffset&quot;: null,\n&quot;aggregatedPrice&quot;: true,\n&quot;isChangedStatus&quot;: null,\n&quot;isLastBooking&quot;: null,\n&quot;packageCustomerService&quot;: null,\n&quot;ticketsData&quot;: [],\n&quot;duration&quot;: 1800,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: false,\n&quot;isUpdated&quot;: null\n}\n],\n&quot;notifyParticipants&quot;: 1,\n&quot;internalNotes&quot;: &quot;&quot;,\n&quot;status&quot;: &quot;approved&quot;,\n&quot;serviceId&quot;: 1,\n&quot;parentId&quot;: null,\n&quot;providerId&quot;: 1,\n&quot;locationId&quot;: 2,\n&quot;provider&quot;: null,\n&quot;service&quot;: null,\n&quot;location&quot;: {\n&quot;id&quot;: 2,\n&quot;status&quot;: &quot;visible&quot;,\n&quot;name&quot;: &quot;Location2&quot;,\n&quot;description&quot;: &quot;&quot;,\n&quot;address&quot;: &quot;Velisava Vulovi\u0107a 18, Belgrade, Serbia&quot;,\n&quot;phone&quot;: &quot;&quot;,\n&quot;latitude&quot;: 44.767476,\n&quot;longitude&quot;: 20.455081,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;pin&quot;: &quot;&quot;,\n&quot;translations&quot;: null\n},\n&quot;googleCalendarEventId&quot;: &quot;hlda2snvbh7llqbupsgnels3io&quot;,\n&quot;googleMeetUrl&quot;: null,\n&quot;outlookCalendarEventId&quot;: null,\n&quot;zoomMeeting&quot;: null,\n&quot;lessonSpace&quot;: null,\n&quot;bookingStart&quot;: &quot;2023-10-05 11:00:00&quot;,\n&quot;bookingEnd&quot;: &quot;2023-10-05 11:30:00&quot;,\n&quot;type&quot;: &quot;appointment&quot;,\n&quot;isRescheduled&quot;: null,\n&quot;isFull&quot;: null,\n&quot;resources&quot;: []\n},\n&quot;booking&quot;: {\n&quot;id&quot;: 980,\n&quot;customerId&quot;: 64,\n&quot;customer&quot;: {\n&quot;id&quot;: 64,\n&quot;firstName&quot;: &quot;Rob&quot;,\n&quot;lastName&quot;: &quot;Stark&quot;,\n&quot;birthday&quot;: null,\n&quot;email&quot;: &quot;robstark@test.test&quot;,\n&quot;phone&quot;: null,\n&quot;type&quot;: &quot;\u304a\u5ba2\u69d8&quot;,\n&quot;status&quot;: &quot;approved&quot;,\n&quot;extras&quot;: [],\n&quot;couponId&quot;: null,\n&quot;price&quot;: 23,\n&quot;coupon&quot;: null,\n&quot;customFields&quot;: &quot;{\\&quot;1\\&quot;:{\\&quot;label\\&quot;:\\&quot;text\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;,\\&quot;value\\&quot;:\\&quot;custom field value\\&quot;}}&quot;,\n&quot;info&quot;: &quot;{\\&quot;firstName\\&quot;:\\&quot;Rob\\&quot;,\\&quot;lastName\\&quot;:\\&quot;Stark\\&quot;,\\&quot;phone\\&quot;:null,\\&quot;locale\\&quot;:\\&quot;en_US\\&quot;,\\&quot;timeZone\\&quot;:\\&quot;Europe\\\\\/Belgrade\\&quot;,\\&quot;urlParams\\&quot;:null}&quot;,\n&quot;appointmentId&quot;: 742,\n&quot;persons&quot;: 1,\n&quot;token&quot;: &quot;08a4df18c0&quot;,\n&quot;payments&quot;: [\n{\n&quot;id&quot;: 1001,\n&quot;customerBookingId&quot;: 980,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-10-05 11:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null,\n&quot;transactionId&quot;: null\n}\n],\n&quot;utcOffset&quot;: null,\n&quot;aggregatedPrice&quot;: true,\n&quot;isChangedStatus&quot;: null,\n&quot;isLastBooking&quot;: null,\n&quot;packageCustomerService&quot;: null,\n&quot;ticketsData&quot;: [],\n&quot;duration&quot;: 1800,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: false,\n&quot;isUpdated&quot;: null\n},\n&quot;utcTime&quot;: [\n{\n&quot;start&quot;: &quot;2023-10-05 09:00:00&quot;,\n&quot;end&quot;: &quot;2023-10-05 09:30:00&quot;\n}\n],\n&quot;appointmentStatusChanged&quot;: true,\n&quot;recurring&quot;: [],\n&quot;package&quot;: [],\n&quot;packageId&quot;: null,\n&quot;customer&quot;: {\n&quot;id&quot;: 64,\n&quot;firstName&quot;: &quot;Rob&quot;,\n&quot;lastName&quot;: &quot;Stark&quot;,\n&quot;birthday&quot;: null,\n&quot;email&quot;: &quot;robstark@test.test&quot;,\n&quot;phone&quot;: null,\n&quot;type&quot;: &quot;\u304a\u5ba2\u69d8&quot;,\n&quot;status&quot;: null,\n&quot;note&quot;: null,\n&quot;zoomUserId&quot;: null,\n&quot;countryPhoneIso&quot;: null,\n&quot;externalId&quot;: null,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;translations&quot;: &quot;{\\&quot;defaultLanguage\\&quot;:\\&quot;en_US\\&quot;}&quot;,\n&quot;gender&quot;: null,\n&quot;locale&quot;: &quot;en_US&quot;,\n&quot;timeZone&quot;: &quot;Europe\/Belgrade&quot;\n},\n&quot;bookable&quot;: {\n&quot;id&quot;: 1,\n&quot;name&quot;: &quot;amelia service&quot;,\n&quot;description&quot;: &quot;location address: %location_address%&quot;,\n&quot;color&quot;: &quot;#1788FB&quot;,\n&quot;price&quot;: 23,\n&quot;deposit&quot;: 14,\n&quot;depositPayment&quot;: &quot;fixed&quot;,\n&quot;depositPerPerson&quot;: true,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;extras&quot;: [\n{\n&quot;id&quot;: 17,\n&quot;name&quot;: &quot;extra&quot;,\n&quot;description&quot;: null,\n&quot;price&quot;: 0,\n&quot;maxQuantity&quot;: 1,\n&quot;position&quot;: 1,\n&quot;duration&quot;: 600,\n&quot;serviceId&quot;: null,\n&quot;aggregatedPrice&quot;: false,\n&quot;translations&quot;: null\n}\n],\n&quot;coupons&quot;: [],\n&quot;position&quot;: null,\n&quot;settings&quot;: &quot;{\\&quot;payments\\&quot;:{\\&quot;mollie\\&quot;:{\\&quot;enabled\\&quot;:true},\\&quot;paymentLinks\\&quot;:{\\&quot;enabled\\&quot;:true,\\&quot;changeBookingStatus\\&quot;:false,\\&quot;redirectUrl\\&quot;:null},\\&quot;onSite\\&quot;:true,\\&quot;payPal\\&quot;:{\\&quot;enabled\\&quot;:true},\\&quot;stripe\\&quot;:{\\&quot;enabled\\&quot;:false},\\&quot;razorpay\\&quot;:{\\&quot;enabled\\&quot;:false}},\\&quot;zoom\\&quot;:{\\&quot;enabled\\&quot;:true},\\&quot;lessonSpace\\&quot;:{\\&quot;enabled\\&quot;:true},\\&quot;activation\\&quot;:{\\&quot;version\\&quot;:\\&quot;6.6\\&quot;}}&quot;,\n&quot;fullPayment&quot;: true,\n&quot;minCapacity&quot;: 1,\n&quot;maxCapacity&quot;: 10,\n&quot;duration&quot;: 1800,\n&quot;timeBefore&quot;: 1800,\n&quot;timeAfter&quot;: 1800,\n&quot;bringingAnyone&quot;: true,\n&quot;show&quot;: true,\n&quot;aggregatedPrice&quot;: true,\n&quot;status&quot;: &quot;visible&quot;,\n&quot;categoryId&quot;: 1,\n&quot;category&quot;: null,\n&quot;priority&quot;: [],\n&quot;gallery&quot;: [],\n&quot;recurringCycle&quot;: null,\n&quot;recurringSub&quot;: null,\n&quot;recurringPayment&quot;: 999,\n&quot;translations&quot;: null,\n&quot;minSelectedExtras&quot;: null,\n&quot;mandatoryExtra&quot;: null,\n&quot;customPricing&quot;: &quot;{\\&quot;enabled\\&quot;:false,\\&quot;durations\\&quot;:{\\&quot;3600\\&quot;:{\\&quot;price\\&quot;:30,\\&quot;rules\\&quot;:[]},\\&quot;5400\\&quot;:{\\&quot;price\\&quot;:40,\\&quot;rules\\&quot;:[]}}}&quot;,\n&quot;maxExtraPeople&quot;: null,\n&quot;limitPerCustomer&quot;: &quot;{\\&quot;enabled\\&quot;:false,\\&quot;numberOfApp\\&quot;:1,\\&quot;timeFrame\\&quot;:\\&quot;day\\&quot;,\\&quot;period\\&quot;:1,\\&quot;from\\&quot;:\\&quot;bookingDate\\&quot;}&quot;\n},\n&quot;paymentId&quot;: 1001,\n&quot;packageCustomerId&quot;: null,\n&quot;payment&quot;: {\n&quot;id&quot;: 1001,\n&quot;customerBookingId&quot;: 980,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-10-05 11:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null,\n&quot;transactionId&quot;: null\n},\n&quot;customerCabinetUrl&quot;: &quot;http:\/\/localhost\/amelia\/index.php\/\u304a\u5ba2\u69d8\u30de\u30a4\u30da\u30fc\u30b8&quot;\n}\n}\n<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u30a4\u30d9\u30f3\u30c8\u306e\u4e88\u7d04<\/h3>\n\n\n\n<p><strong>\u5fc5\u9808\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>type<\/code><\/td><td>string<\/td><td>\u4e88\u7d04\u306e\u30bf\u30a4\u30d7\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u5024\uff1a<code>appointment<\/code> (\u4e88\u7d04)\u3001<code>event<\/code> (\u30a4\u30d9\u30f3\u30c8)\u3001\u307e\u305f\u306f<code>package<\/code> (<strong>\u30b3\u30fc\u30b9<\/strong>)\u3002<\/td><\/tr><tr><td><code>bookings<\/code><\/td><td>array<\/td><td>1\u3064\u306e\u8981\u7d20\u3092\u6301\u3064\u914d\u5217\u3002<strong>\u304a\u5ba2\u69d8<\/strong>\u3068\u30ab\u30b9\u30bf\u30e0\u9805\u76ee\u60c5\u5831\u3092\u542b\u3080\u4e88\u7d04\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<\/td><\/tr><tr><td><code>payment<\/code><\/td><td>object<\/td><td><code>gateway<\/code>\u3001<code>currency<\/code>\u3001\u304a\u3088\u3073<code>data<\/code>\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u6301\u3064\u652f\u6255\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<\/td><\/tr><tr><td><code>eventId<\/code><\/td><td>integer<\/td><td>\u30a4\u30d9\u30f3\u30c8ID<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u305d\u306e\u4ed6\u306e\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>locale<\/code><\/td><td>string<\/td><td><strong>\u304a\u5ba2\u69d8<\/strong>\u306e\u30ed\u30b1\u30fc\u30eb\u3002\u4f8b\uff1a<code>en_US<\/code><\/td><\/tr><tr><td><code>timeZone<\/code><\/td><td>string<\/td><td><strong>\u304a\u5ba2\u69d8<\/strong>\u306e\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3002\u4f8b\uff1a<code>Europe\/Belgrade<\/code><\/td><\/tr><tr><td><code>couponCode<\/code><\/td><td>string<\/td><td>\u30af\u30fc\u30dd\u30f3\u30b3\u30fc\u30c9\u3002<\/td><\/tr><tr><td><code>runInstantPostBookingActions<\/code><\/td><td>boolean<\/td><td>\u3053\u306eAPI\u547c\u3073\u51fa\u3057\u3067\u4e88\u7d04\u5f8c\u306e\u30a2\u30af\u30b7\u30e7\u30f3\uff08<strong>\u30e1\u30fc\u30eb<\/strong>\u306e\u9001\u4fe1\u3001Google\u30ab\u30ec\u30f3\u30c0\u30fc\u30a4\u30d9\u30f3\u30c8\u306e\u8ffd\u52a0\u3001<strong>Zoom<\/strong>\u30df\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u4f5c\u6210\u306a\u3069\uff09\u3092\u5b9f\u884c\u3059\u308b\u304b\u3069\u3046\u304b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f<code>false<\/code>\u3067\u3059\u3002\u305d\u306e\u5834\u5408\u306f\u3001\u4ee3\u308f\u308a\u306b<code>\/bookings\/success\/{booking_id}<\/code>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location &#39;http:\/\/localhost\/amelia2\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/bookings&#39; \\\n--data-raw &#39;{\n&quot;type&quot;: &quot;event&quot;,\n&quot;bookings&quot;: [\n{\n&quot;customer&quot;: {\n&quot;email&quot;: &quot;amelia@test.test&quot;,\n&quot;externalId&quot;: null,\n&quot;firstName&quot;: &quot;Amelia&quot;,\n&quot;lastName&quot;: &quot;Test&quot;,\n&quot;phone&quot;: &quot;&quot;,\n&quot;countryPhoneIso&quot;: &quot;rs&quot;\n},\n&quot;customFields&quot;: {\n&quot;1&quot;: {\n&quot;label&quot;: &quot;text&quot;,\n&quot;value&quot;: &quot;&quot;,\n&quot;type&quot;: &quot;text&quot;\n}\n},\n&quot;customerId&quot;: 0,\n&quot;persons&quot;: 1, \/\/ \u30a4\u30d9\u30f3\u30c8\u304c\u30c1\u30b1\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u306a\u3044\u5834\u5408\u306fpersons\u3092\u4f7f\u7528\n&quot;ticketsData&quot;: [ \/\/ \u30a4\u30d9\u30f3\u30c8\u304c\u30c1\u30b1\u30c3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306fticketsData\u3092\u4f7f\u7528\n{\n&quot;eventTicketId&quot;: 25,\n&quot;persons&quot;: 0,\n&quot;price&quot;: 20\n},\n{\n&quot;eventTicketId&quot;: 24,\n&quot;persons&quot;: 2,\n&quot;price&quot;: 10\n}\n],\n&quot;utcOffset&quot;: null,\n&quot;deposit&quot;: false\n}\n],\n&quot;payment&quot;: {\n&quot;amount&quot;: &quot;40.00&quot;,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;currency&quot;: &quot;USD&quot;\n},\n&quot;recaptcha&quot;: false,\n&quot;locale&quot;: &quot;en_US&quot;,\n&quot;timeZone&quot;: &quot;Europe\/Belgrade&quot;,\n&quot;couponCode&quot;: &quot;&quot;,\n&quot;eventId&quot;: 54\n}&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: &quot;Successfully added booking&quot;,\n&quot;data&quot;: {\n&quot;type&quot;: &quot;event&quot;,\n&quot;event&quot;: {\n&quot;id&quot;: 54,\n&quot;name&quot;: &quot;tickets event&quot;,\n&quot;description&quot;: &quot;&quot;,\n&quot;color&quot;: &quot;#1788FB&quot;,\n&quot;price&quot;: 0,\n&quot;deposit&quot;: 0,\n&quot;depositPayment&quot;: &quot;disabled&quot;,\n&quot;depositPerPerson&quot;: true,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;extras&quot;: [],\n&quot;coupons&quot;: [],\n&quot;position&quot;: null,\n&quot;settings&quot;: &quot;{\\&quot;payments\\&quot;:{\\&quot;paymentLinks\\&quot;:{\\&quot;enabled\\&quot;:true,\\&quot;changeBookingStatus\\&quot;:false,\\&quot;redirectUrl\\&quot;:null},\\&quot;onSite\\&quot;:true,\\&quot;payPal\\&quot;:{\\&quot;enabled\\&quot;:false},\\&quot;stripe\\&quot;:{\\&quot;enabled\\&quot;:false},\\&quot;mollie\\&quot;:{\\&quot;enabled\\&quot;:false},\\&quot;razorpay\\&quot;:{\\&quot;enabled\\&quot;:false}},\\&quot;general\\&quot;:{\\&quot;minimumTimeRequirementPriorToCanceling\\&quot;:null,\\&quot;redirectUrlAfterAppointment\\&quot;:null},\\&quot;zoom\\&quot;:{\\&quot;enabled\\&quot;:true},\\&quot;lessonSpace\\&quot;:{\\&quot;enabled\\&quot;:false}}&quot;,\n&quot;fullPayment&quot;: false,\n&quot;bookings&quot;: []\n},\n&quot;booking&quot;: {\n&quot;id&quot;: 786,\n&quot;customerId&quot;: 2,\n&quot;customer&quot;: {\n&quot;id&quot;: 2,\n&quot;firstName&quot;: &quot;Amelia&quot;,\n&quot;lastName&quot;: &quot;Test&quot;,\n&quot;birthday&quot;: null,\n&quot;email&quot;: &quot;amelia@test.test&quot;,\n&quot;phone&quot;: null,\n&quot;type&quot;: &quot;\u304a\u5ba2\u69d8&quot;,\n&quot;status&quot;: null,\n&quot;note&quot;: null,\n&quot;zoomUserId&quot;: null,\n&quot;countryPhoneIso&quot;: null,\n&quot;externalId&quot;: null,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;translations&quot;: &quot;{\\&quot;defaultLanguage\\&quot;:\\&quot;en_US\\&quot;}&quot;,\n&quot;gender&quot;: null\n},\n&quot;status&quot;: &quot;approved&quot;,\n&quot;extras&quot;: [],\n&quot;couponId&quot;: null,\n&quot;price&quot;: 40,\n&quot;coupon&quot;: null,\n&quot;customFields&quot;: &quot;{\\&quot;1\\&quot;:{\\&quot;label\\&quot;:\\&quot;text\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;,\\&quot;value\\&quot;:\\&quot;\\&quot;}}&quot;,\n&quot;info&quot;: &quot;{\\&quot;firstName\\&quot;:\\&quot;Amelia\\&quot;,\\&quot;lastName\\&quot;:\\&quot;Test\\&quot;,\\&quot;phone\\&quot;:null,\\&quot;locale\\&quot;:\\&quot;en_US\\&quot;,\\&quot;timeZone\\&quot;:\\&quot;Europe\\\\\/Belgrade\\&quot;,\\&quot;urlParams\\&quot;:null}&quot;,\n&quot;appointmentId&quot;: null,\n&quot;persons&quot;: 1,\n&quot;token&quot;: &quot;4690382d55&quot;,\n&quot;payments&quot;: [\n{\n&quot;id&quot;: 1024,\n&quot;customerBookingId&quot;: 786,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 40,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2024-06-03 14:04:19&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;event&quot;,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null,\n&quot;transactionId&quot;: null\n}\n],\n&quot;utcOffset&quot;: null,\n&quot;aggregatedPrice&quot;: true,\n&quot;isChangedStatus&quot;: null,\n&quot;isLastBooking&quot;: null,\n&quot;packageCustomerService&quot;: null,\n&quot;ticketsData&quot;: [\n{\n&quot;id&quot;: 150,\n&quot;customerBookingId&quot;: 786,\n&quot;eventTicketId&quot;: 25,\n&quot;price&quot;: 20,\n&quot;persons&quot;: 0,\n&quot;eventTicket&quot;: {\n&quot;id&quot;: 25,\n&quot;name&quot;: &quot;ticket 2&quot;,\n&quot;price&quot;: 20,\n&quot;spots&quot;: 100,\n&quot;date&quot;: &quot;2024-06-11 10:00:00&quot;,\n&quot;eventId&quot;: 54,\n&quot;translations&quot;: null\n}\n},\n{\n&quot;id&quot;: 151,\n&quot;customerBookingId&quot;: 786,\n&quot;eventTicketId&quot;: 24,\n&quot;price&quot;: 10,\n&quot;persons&quot;: 2,\n&quot;eventTicket&quot;: {\n&quot;id&quot;: 24,\n&quot;name&quot;: &quot;ticket 1&quot;,\n&quot;price&quot;: 10,\n&quot;spots&quot;: 100,\n&quot;date&quot;: &quot;2024-06-11 10:00:00&quot;,\n&quot;eventId&quot;: 54,\n&quot;translations&quot;: null\n}\n}\n],\n&quot;duration&quot;: null,\n&quot;created&quot;: &quot;2024-06-03 12:04:19&quot;,\n&quot;actionsCompleted&quot;: false,\n&quot;isUpdated&quot;: null\n},\n&quot;customer&quot;: {\n&quot;id&quot;: 2,\n&quot;firstName&quot;: &quot;Amelia&quot;,\n&quot;lastName&quot;: &quot;Test&quot;,\n&quot;birthday&quot;: null,\n&quot;email&quot;: &quot;amelia@test.test&quot;,\n&quot;phone&quot;: null,\n&quot;type&quot;: &quot;\u304a\u5ba2\u69d8&quot;,\n&quot;status&quot;: null,\n&quot;note&quot;: null,\n&quot;zoomUserId&quot;: null,\n&quot;countryPhoneIso&quot;: null,\n&quot;externalId&quot;: null,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;translations&quot;: &quot;{\\&quot;defaultLanguage\\&quot;:\\&quot;en_US\\&quot;}&quot;,\n&quot;gender&quot;: null,\n&quot;locale&quot;: &quot;en_US&quot;,\n&quot;timeZone&quot;: &quot;Europe\/Belgrade&quot;\n},\n&quot;utcTime&quot;: [\n{\n&quot;start&quot;: &quot;2024-06-11 08:00:00&quot;,\n&quot;end&quot;: &quot;2024-06-11 09:00:00&quot;\n}\n],\n&quot;appointmentStatusChanged&quot;: true,\n&quot;recurring&quot;: [],\n&quot;package&quot;: [],\n&quot;packageId&quot;: null,\n&quot;paymentId&quot;: 1024,\n&quot;payment&quot;: {\n&quot;id&quot;: 1024,\n&quot;customerBookingId&quot;: 786,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 40,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2024-06-03 14:04:19&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;event&quot;,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null,\n&quot;transactionId&quot;: null\n},\n&quot;customerCabinetUrl&quot;: &quot;http:\/\/localhost\/amelia2\/index.php\/\u304a\u5ba2\u69d8\u30de\u30a4\u30da\u30fc\u30b8&quot;\n}\n}\n<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u30b3\u30fc\u30b9<\/strong>\u306e\u4e88\u7d04<\/h3>\n\n\n\n<p><strong>\u5fc5\u9808\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>bookings<\/code><\/td><td>array<\/td><td><strong>\u304a\u5ba2\u69d8<\/strong>\u3068\u30ab\u30b9\u30bf\u30e0\u9805\u76ee\u60c5\u5831\u3092\u542b\u3080\u3001\u4e88\u7d04\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u914d\u5217\u3067\u3059\u3002<\/td><\/tr><tr><td><code>payment<\/code><\/td><td>object<\/td><td><code>gateway<\/code>\u3001<code>currency<\/code>\u3001\u304a\u3088\u3073<code>data<\/code>\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u6301\u3064\u652f\u6255\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<\/td><\/tr><tr><td><code>packageId<\/code><\/td><td>integer<\/td><td><strong>\u30b3\u30fc\u30b9<\/strong>ID<\/td><\/tr><tr><td><code>customer<\/code><\/td><td>object<\/td><td><code>firstName<\/code>\u3001<code>lastName<\/code>\u3001<code>email<\/code>\u3001\u304a\u3088\u3073<code>phone<\/code>\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u6301\u3064<strong>\u304a\u5ba2\u69d8<\/strong>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<\/td><\/tr><tr><td><code>type<\/code><\/td><td>string<\/td><td>\u4e88\u7d04\u306e\u30bf\u30a4\u30d7\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u5024\uff1a<code>appointment<\/code> (\u4e88\u7d04)\u3001<code>event<\/code> (\u30a4\u30d9\u30f3\u30c8)\u3001\u307e\u305f\u306f<code>package<\/code> (<strong>\u30b3\u30fc\u30b9<\/strong>)\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u305d\u306e\u4ed6\u306e\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>locale<\/code><\/td><td>string<\/td><td><strong>\u304a\u5ba2\u69d8<\/strong>\u306e\u30ed\u30b1\u30fc\u30eb\u3002\u4f8b\uff1a<code>en_US<\/code><\/td><\/tr><tr><td><code>timeZone<\/code><\/td><td>string<\/td><td><strong>\u304a\u5ba2\u69d8<\/strong>\u306e\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3002\u4f8b\uff1a<code>Europe\/Belgrade<\/code><\/td><\/tr><tr><td><code>couponCode<\/code><\/td><td>string<\/td><td>\u30af\u30fc\u30dd\u30f3\u30b3\u30fc\u30c9\u3002<\/td><\/tr><tr><td><code>packageRules<\/code><\/td><td>array<\/td><td><strong>\u30b3\u30fc\u30b9<\/strong>\u5185\u306e\u4e88\u7d04\u306e\u30eb\u30fc\u30eb\u3002<\/td><\/tr><tr><td><code>runInstantPostBookingActions<\/code><\/td><td>boolean<\/td><td>\u3053\u306eAPI\u547c\u3073\u51fa\u3057\u3067\u4e88\u7d04\u5f8c\u306e\u30a2\u30af\u30b7\u30e7\u30f3\uff08<strong>\u30e1\u30fc\u30eb<\/strong>\u306e\u9001\u4fe1\u3001Google\u30ab\u30ec\u30f3\u30c0\u30fc\u30a4\u30d9\u30f3\u30c8\u306e\u8ffd\u52a0\u3001<strong>Zoom<\/strong>\u30df\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u4f5c\u6210\u306a\u3069\uff09\u3092\u5b9f\u884c\u3059\u308b\u304b\u3069\u3046\u304b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f<code>false<\/code>\u3067\u3059\u3002\u305d\u306e\u5834\u5408\u306f\u3001\u4ee3\u308f\u308a\u306b<code>\/bookings\/success\/{booking_id}<\/code>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location &#39;http:\/\/localhost\/amelia2\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/bookings&#39; \\\n--header &#39;Content-Type: application\/json&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39; \\\n--data-raw &#39;{\n&quot;customer&quot;: {\n&quot;firstName&quot;: &quot;Amelia&quot;,\n&quot;lastName&quot;: &quot;Test&quot;,\n&quot;email&quot;: &quot;amelia@test.test&quot;,\n&quot;phone&quot;: &quot;&quot;,\n&quot;countryPhoneIso&quot;: &quot;rs&quot;\n},\n&quot;type&quot;: &quot;package&quot;,\n&quot;bookings&quot;: [\n{\n&quot;bookingStart&quot;: &quot;2024-06-05 11:30&quot;,\n&quot;serviceId&quot;: 1,\n&quot;providerId&quot;: 4,\n&quot;locationId&quot;: 8,\n&quot;utcOffset&quot;: 120,\n&quot;notifyParticipants&quot;: 1\n},\n{\n&quot;bookingStart&quot;: &quot;2024-06-04 12:00&quot;,\n&quot;serviceId&quot;: 11,\n&quot;providerId&quot;: 3,\n&quot;locationId&quot;: 1,\n&quot;utcOffset&quot;: 120,\n&quot;notifyParticipants&quot;: 1\n}\n],\n&quot;payment&quot;: {\n&quot;gateway&quot;: &quot;payPal&quot;,\n&quot;currency&quot;: &quot;USD&quot;,\n&quot;amount&quot;: &quot;40.00&quot;\n},\n&quot;packageId&quot;: 1,\n&quot;packageRules&quot;: [\n{\n&quot;serviceId&quot;: 1,\n&quot;providerId&quot;: 4,\n&quot;locationId&quot;: 8\n},\n{\n&quot;serviceId&quot;: 11,\n&quot;providerId&quot;: 3,\n&quot;locationId&quot;: 1\n}\n],\n&quot;utcOffset&quot;: 120,\n&quot;couponCode&quot;: null\n}&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: &quot;Successfully added booking&quot;,\n&quot;data&quot;: {\n&quot;type&quot;: &quot;package&quot;,\n&quot;package&quot;: [\n{\n&quot;type&quot;: &quot;appointment&quot;,\n&quot;appointment&quot;: {\n&quot;id&quot;: 580,\n&quot;bookings&quot;: [\n{\n&quot;id&quot;: 766,\n&quot;customerId&quot;: 2,\n&quot;customer&quot;: {\n&quot;id&quot;: 2,\n&quot;firstName&quot;: &quot;Amelia&quot;,\n&quot;lastName&quot;: &quot;Test&quot;,\n&quot;birthday&quot;: null,\n&quot;email&quot;: &quot;amelia@test.test&quot;,\n&quot;phone&quot;: null,\n&quot;type&quot;: &quot;\u304a\u5ba2\u69d8&quot;,\n&quot;status&quot;: null,\n&quot;note&quot;: null,\n&quot;zoomUserId&quot;: null,\n&quot;countryPhoneIso&quot;: null,\n&quot;externalId&quot;: null,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;translations&quot;: &quot;{\\&quot;defaultLanguage\\&quot;:\\&quot;en_US\\&quot;}&quot;,\n&quot;gender&quot;: null\n},\n&quot;status&quot;: &quot;approved&quot;,\n&quot;extras&quot;: [],\n&quot;couponId&quot;: null,\n&quot;price&quot;: 20,\n&quot;coupon&quot;: null,\n&quot;customFields&quot;: &quot;{\\&quot;2\\&quot;:{\\&quot;label\\&quot;:\\&quot;Text\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;,\\&quot;value\\&quot;:\\&quot;\\&quot;}}&quot;,\n&quot;info&quot;: &quot;{\\&quot;firstName\\&quot;:\\&quot;Amelia\\&quot;,\\&quot;lastName\\&quot;:\\&quot;Test\\&quot;,\\&quot;phone\\&quot;:null,\\&quot;locale\\&quot;:\\&quot;en_US\\&quot;,\\&quot;timeZone\\&quot;:\\&quot;Europe\\\\\/Belgrade\\&quot;,\\&quot;urlParams\\&quot;:null}&quot;,\n&quot;appointmentId&quot;: 580,\n&quot;persons&quot;: 1,\n&quot;token&quot;: &quot;48dd3639c1&quot;,\n&quot;payments&quot;: [],\n&quot;utcOffset&quot;: 120,\n&quot;aggregatedPrice&quot;: true,\n&quot;isChangedStatus&quot;: null,\n&quot;isLastBooking&quot;: null,\n&quot;packageCustomerService&quot;: {\n&quot;id&quot;: 129,\n&quot;serviceId&quot;: 1,\n&quot;providerId&quot;: null,\n&quot;locationId&quot;: null,\n&quot;bookingsCount&quot;: 1,\n&quot;packageCustomer&quot;: {\n&quot;id&quot;: 104,\n&quot;packageId&quot;: 1,\n&quot;customerId&quot;: 2,\n&quot;price&quot;: 40,\n&quot;payments&quot;: [],\n&quot;start&quot;: &quot;2024-05-27 10:35:52&quot;,\n&quot;end&quot;: &quot;2024-06-17 12:35:52&quot;,\n&quot;purchased&quot;: &quot;2024-05-27 10:35:52&quot;,\n&quot;status&quot;: null,\n&quot;bookingsCount&quot;: 0,\n&quot;couponId&quot;: null,\n&quot;coupon&quot;: null\n}\n},\n&quot;ticketsData&quot;: [],\n&quot;duration&quot;: null,\n&quot;created&quot;: &quot;2024-05-27 12:35:52&quot;,\n&quot;actionsCompleted&quot;: false,\n&quot;isUpdated&quot;: null\n}\n],\n&quot;notifyParticipants&quot;: 1,\n&quot;internalNotes&quot;: null,\n&quot;status&quot;: &quot;approved&quot;,\n&quot;serviceId&quot;: 1,\n&quot;parentId&quot;: null,\n&quot;providerId&quot;: 4,\n&quot;locationId&quot;: 8,\n&quot;provider&quot;: null,\n&quot;service&quot;: null,\n&quot;location&quot;: {\n&quot;id&quot;: 8,\n&quot;status&quot;: &quot;visible&quot;,\n&quot;name&quot;: &quot;lokacija5&quot;,\n&quot;description&quot;: &quot;&quot;,\n&quot;address&quot;: &quot;Velisava Vulovi\u0107a, Belgrade, Serbia&quot;,\n&quot;phone&quot;: &quot;&quot;,\n&quot;latitude&quot;: 44.764132,\n&quot;longitude&quot;: 20.455622,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;pin&quot;: &quot;&quot;,\n&quot;translations&quot;: null\n},\n&quot;googleCalendarEventId&quot;: null,\n&quot;googleMeetUrl&quot;: null,\n&quot;outlookCalendarEventId&quot;: null,\n&quot;zoomMeeting&quot;: null,\n&quot;lessonSpace&quot;: null,\n&quot;bookingStart&quot;: &quot;2024-06-05 09:30:00&quot;,\n&quot;bookingEnd&quot;: &quot;2024-06-05 10:00:00&quot;,\n&quot;type&quot;: &quot;appointment&quot;,\n&quot;isRescheduled&quot;: null,\n&quot;isFull&quot;: null,\n&quot;resources&quot;: []\n},\n&quot;booking&quot;: {\n&quot;id&quot;: 766,\n&quot;customerId&quot;: 2,\n&quot;customer&quot;: {\n&quot;id&quot;: 2,\n&quot;firstName&quot;: &quot;Amelia&quot;,\n&quot;lastName&quot;: &quot;Test&quot;,\n&quot;birthday&quot;: null,\n&quot;email&quot;: &quot;amelia@test.test&quot;,\n&quot;phone&quot;: null,\n&quot;type&quot;: &quot;\u304a\u5ba2\u69d8&quot;,\n&quot;status&quot;: null,\n&quot;note&quot;: null,\n&quot;zoomUserId&quot;: null,\n&quot;countryPhoneIso&quot;: null,\n&quot;externalId&quot;: null,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;translations&quot;: &quot;{\\&quot;defaultLanguage\\&quot;:\\&quot;en_US\\&quot;}&quot;,\n&quot;gender&quot;: null\n},\n&quot;status&quot;: &quot;approved&quot;,\n&quot;extras&quot;: [],\n&quot;couponId&quot;: null,\n&quot;price&quot;: 20,\n&quot;coupon&quot;: null,\n&quot;customFields&quot;: &quot;{\\&quot;2\\&quot;:{\\&quot;label\\&quot;:\\&quot;Text\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;,\\&quot;value\\&quot;:\\&quot;\\&quot;}}&quot;,\n&quot;info&quot;: &quot;{\\&quot;firstName\\&quot;:\\&quot;Amelia\\&quot;,\\&quot;lastName\\&quot;:\\&quot;Test\\&quot;,\\&quot;phone\\&quot;:null,\\&quot;locale\\&quot;:\\&quot;en_US\\&quot;,\\&quot;timeZone\\&quot;:\\&quot;Europe\\\\\/Belgrade\\&quot;,\\&quot;urlParams\\&quot;:null}&quot;,\n&quot;appointmentId&quot;: 580,\n&quot;persons&quot;: 1,\n&quot;token&quot;: &quot;48dd3639c1&quot;,\n&quot;payments&quot;: [],\n&quot;utcOffset&quot;: 120,\n&quot;aggregatedPrice&quot;: true,\n&quot;isChangedStatus&quot;: null,\n&quot;isLastBooking&quot;: null,\n&quot;packageCustomerService&quot;: {\n&quot;id&quot;: 129,\n&quot;serviceId&quot;: 1,\n&quot;providerId&quot;: null,\n&quot;locationId&quot;: null,\n&quot;bookingsCount&quot;: 1,\n&quot;packageCustomer&quot;: {\n&quot;id&quot;: 104,\n&quot;packageId&quot;: 1,\n&quot;customerId&quot;: 2,\n&quot;price&quot;: 40,\n&quot;payments&quot;: [],\n&quot;start&quot;: &quot;2024-05-27 10:35:52&quot;,\n&quot;end&quot;: &quot;2024-06-17 12:35:52&quot;,\n&quot;purchased&quot;: &quot;2024-05-27 10:35:52&quot;,\n&quot;status&quot;: null,\n&quot;bookingsCount&quot;: 0,\n&quot;couponId&quot;: null,\n&quot;coupon&quot;: null\n}\n},\n&quot;ticketsData&quot;: [],\n&quot;duration&quot;: null,\n&quot;created&quot;: &quot;2024-05-27 12:35:52&quot;,\n&quot;actionsCompleted&quot;: false,\n&quot;isUpdated&quot;: null\n},\n&quot;utcTime&quot;: [\n{\n&quot;start&quot;: &quot;2024-06-05 07:30:00&quot;,\n&quot;end&quot;: &quot;2024-06-05 08:00:00&quot;\n}\n],\n&quot;appointmentStatusChanged&quot;: true,\n&quot;recurring&quot;: [],\n&quot;package&quot;: [],\n&quot;packageId&quot;: null,\n&quot;customer&quot;: {\n&quot;id&quot;: 2,\n&quot;firstName&quot;: &quot;Amelia&quot;,\n&quot;lastName&quot;: &quot;Test&quot;,\n&quot;birthday&quot;: null,\n&quot;email&quot;: &quot;amelia@test.test&quot;,\n&quot;phone&quot;: null,\n&quot;type&quot;: &quot;\u304a\u5ba2\u69d8&quot;,\n&quot;status&quot;: null,\n&quot;note&quot;: null,\n&quot;zoomUserId&quot;: null,\n&quot;countryPhoneIso&quot;: null,\n&quot;externalId&quot;: null,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;translations&quot;: &quot;{\\&quot;defaultLanguage\\&quot;:\\&quot;en_US\\&quot;}&quot;,\n&quot;gender&quot;: null,\n&quot;locale&quot;: &quot;en_US&quot;,\n&quot;timeZone&quot;: &quot;Europe\/Belgrade&quot;\n},\n&quot;bookable&quot;: {\n&quot;id&quot;: 1,\n&quot;name&quot;: &quot;amelia service&quot;,\n&quot;description&quot;: &quot;location address: %location_address%&quot;,\n&quot;color&quot;: &quot;#1788FB&quot;,\n&quot;price&quot;: 23,\n&quot;deposit&quot;: 14,\n&quot;depositPayment&quot;: &quot;fixed&quot;,\n&quot;depositPerPerson&quot;: true,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;extras&quot;: [\n{\n&quot;id&quot;: 17,\n&quot;name&quot;: &quot;extra&quot;,\n&quot;description&quot;: null,\n&quot;price&quot;: 0,\n&quot;maxQuantity&quot;: 1,\n&quot;position&quot;: 1,\n&quot;duration&quot;: 600,\n&quot;serviceId&quot;: null,\n&quot;aggregatedPrice&quot;: false,\n&quot;translations&quot;: null\n}\n],\n&quot;coupons&quot;: [],\n&quot;position&quot;: null,\n&quot;settings&quot;: &quot;{\\&quot;payments\\&quot;:{\\&quot;mollie\\&quot;:{\\&quot;enabled\\&quot;:true},\\&quot;paymentLinks\\&quot;:{\\&quot;enabled\\&quot;:true,\\&quot;changeBookingStatus\\&quot;:false,\\&quot;redirectUrl\\&quot;:null},\\&quot;onSite\\&quot;:true,\\&quot;payPal\\&quot;:{\\&quot;enabled\\&quot;:true},\\&quot;stripe\\&quot;:{\\&quot;enabled\\&quot;:false},\\&quot;razorpay\\&quot;:{\\&quot;enabled\\&quot;:false}},\\&quot;zoom\\&quot;:{\\&quot;enabled\\&quot;:true},\\&quot;lessonSpace\\&quot;:{\\&quot;enabled\\&quot;:true},\\&quot;activation\\&quot;:{\\&quot;version\\&quot;:\\&quot;6.6\\&quot;}}&quot;,\n&quot;fullPayment&quot;: true,\n&quot;minCapacity&quot;: 1,\n&quot;maxCapacity&quot;: 10,\n&quot;duration&quot;: 1800,\n&quot;timeBefore&quot;: 1800,\n&quot;timeAfter&quot;: 1800,\n&quot;bringingAnyone&quot;: true,\n&quot;show&quot;: true,\n&quot;aggregatedPrice&quot;: true,\n&quot;status&quot;: &quot;visible&quot;,\n&quot;categoryId&quot;: 1,\n&quot;category&quot;: null,\n&quot;priority&quot;: [],\n&quot;gallery&quot;: [],\n&quot;recurringCycle&quot;: null,\n&quot;recurringSub&quot;: null,\n&quot;recurringPayment&quot;: 999,\n&quot;translations&quot;: null,\n&quot;minSelectedExtras&quot;: null,\n&quot;mandatoryExtra&quot;: null,\n&quot;customPricing&quot;: &quot;{\\&quot;enabled\\&quot;:false,\\&quot;durations\\&quot;:{\\&quot;3600\\&quot;:{\\&quot;price\\&quot;:30,\\&quot;rules\\&quot;:[]},\\&quot;5400\\&quot;:{\\&quot;price\\&quot;:40,\\&quot;rules\\&quot;:[]}}}&quot;,\n&quot;maxExtraPeople&quot;: null,\n&quot;limitPerCustomer&quot;: &quot;{\\&quot;enabled\\&quot;:false,\\&quot;numberOfApp\\&quot;:1,\\&quot;timeFrame\\&quot;:\\&quot;day\\&quot;,\\&quot;period\\&quot;:1,\\&quot;from\\&quot;:\\&quot;bookingDate\\&quot;}&quot;\n},\n&quot;paymentId&quot;: 1001,\n&quot;packageCustomerId&quot;: null,\n&quot;payment&quot;: {\n&quot;id&quot;: 1001,\n&quot;customerBookingId&quot;: 980,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-10-05 11:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null,\n&quot;transactionId&quot;: null\n},\n&quot;customerCabinetUrl&quot;: &quot;http:\/\/localhost\/amelia\/index.php\/\u304a\u5ba2\u69d8\u30de\u30a4\u30da\u30fc\u30b8&quot;\n}\n]\n}\n}\n<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e88\u7d04\u5f8c\u306e\u30a2\u30af\u30b7\u30e7\u30f3<\/h3>\n\n\n\n<p>\u4e88\u7d04\u5f8c\u306e\u30a2\u30af\u30b7\u30e7\u30f3\uff08<strong>\u30e1\u30fc\u30eb<\/strong>\u306e\u9001\u4fe1\u3001Google\u30ab\u30ec\u30f3\u30c0\u30fc\u30a4\u30d9\u30f3\u30c8\u306e\u4f5c\u6210\u3001<strong>Zoom<\/strong>\u30df\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u4f5c\u6210\u306a\u3069\uff09\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306f\u3001\u4e88\u7d04\u306e\u8ffd\u52a0\u6642\u306b<code>runInstantPostBookingActions<\/code>\u304c<code>false<\/code>\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u305f\u5834\u5408\u306b\u547c\u3073\u51fa\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e1\u30bd\u30c3\u30c9<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f<code>POST<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d1\u30b9<\/strong><\/p>\n\n\n\n<p><code>\/bookings\/success\/{booking_id}<\/code><\/p>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location --request POST &#39;http:\/\/localhost\/amelia\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/bookings\/success\/974&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: &quot;Successfully run post booking actions for booking&quot;,\n&quot;data&quot;: {\n&quot;actionsCompleted&quot;: true,\n&quot;status&quot;: &quot;approved&quot;,\n&quot;type&quot;: &quot;appointment&quot;\n}\n}\n<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u65e5\u6642\u306e\u5909\u66f4<\/h3>\n\n\n\n<p>\u4e88\u7d04\u306e\u65e5\u6642\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e1\u30bd\u30c3\u30c9<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f<code>POST<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d1\u30b9<\/strong><\/p>\n\n\n\n<p><code>\/bookings\/reschedule\/{booking_id}<\/code><\/p>\n\n\n\n<p><strong>\u5fc5\u9808\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>bookingStart<\/code><\/td><td>string<\/td><td>\u4e88\u7d04\u306e\u65b0\u3057\u3044\u958b\u59cb\u65e5\u6642\u3092<code>YYYY-MM-DD HH:mm<\/code>\u306e\u5f62\u5f0f\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u305d\u306e\u4ed6\u306e\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>serviceId<\/code><\/td><td>integer<\/td><td>\u4e88\u7d04\u306e\u65b0\u3057\u3044\u30b5\u30fc\u30d3\u30b9ID<\/td><\/tr><tr><td><code>providerId<\/code><\/td><td>integer<\/td><td>\u4e88\u7d04\u306e\u65b0\u3057\u3044<strong>\u30b9\u30bf\u30c3\u30d5<\/strong>ID<\/td><\/tr><tr><td><code>locationId<\/code><\/td><td>integer<\/td><td>\u4e88\u7d04\u306e\u65b0\u3057\u3044<strong>\u5834\u6240<\/strong>ID<\/td><\/tr><tr><td><code>notifyParticipants<\/code><\/td><td>boolean<\/td><td><strong>\u304a\u5ba2\u69d8<\/strong>\u306b\u4e88\u7d04\u306b\u3064\u3044\u3066<strong>\u30e1\u30fc\u30eb<\/strong>\u3067\u901a\u77e5\u3059\u308b\u304b\u3069\u3046\u304b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f<code>true<\/code>\u3067\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location --request POST &#39;http:\/\/localhost\/amelia\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/bookings\/reschedule\/974&#39; \\\n--header &#39;Content-Type: application\/json&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39; \\\n--data-raw &#39;{\n&quot;bookingStart&quot;: &quot;2023-10-05 13:00&quot;,\n&quot;notifyParticipants&quot;: 1\n}&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: &quot;Successfully rescheduled booking&quot;,\n&quot;data&quot;: {\n&quot;type&quot;: &quot;appointment&quot;,\n&quot;appointment&quot;: {\n&quot;id&quot;: 738,\n&quot;bookings&quot;: [\n{\n&quot;id&quot;: 974,\n&quot;customerId&quot;: 64,\n&quot;customer&quot;: {\n&quot;id&quot;: 64,\n&quot;firstName&quot;: &quot;Rob&quot;,\n&quot;lastName&quot;: &quot;Stark&quot;,\n&quot;birthday&quot;: null,\n&quot;email&quot;: &quot;robstark@test.test&quot;,\n&quot;phone&quot;: null,\n&quot;type&quot;: &quot;\u304a\u5ba2\u69d8&quot;,\n&quot;status&quot;: null,\n&quot;note&quot;: null,\n&quot;zoomUserId&quot;: null,\n&quot;countryPhoneIso&quot;: null,\n&quot;externalId&quot;: null,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;translations&quot;: &quot;{\\&quot;defaultLanguage\\&quot;:\\&quot;en_US\\&quot;}&quot;,\n&quot;gender&quot;: null\n},\n&quot;status&quot;: &quot;approved&quot;,\n&quot;extras&quot;: [],\n&quot;couponId&quot;: null,\n&quot;price&quot;: 23,\n&quot;coupon&quot;: null,\n&quot;customFields&quot;: &quot;{\\&quot;1\\&quot;:{\\&quot;label\\&quot;:\\&quot;text\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;,\\&quot;value\\&quot;:\\&quot;custom field value\\&quot;}}&quot;,\n&quot;info&quot;: &quot;{\\&quot;firstName\\&quot;:\\&quot;Rob\\&quot;,\\&quot;lastName\\&quot;:\\&quot;Stark\\&quot;,\\&quot;phone\\&quot;:null,\\&quot;locale\\&quot;:\\&quot;en_US\\&quot;,\\&quot;timeZone\\&quot;:\\&quot;Europe\\\\\/Belgrade\\&quot;,\\&quot;urlParams\\&quot;:null}&quot;,\n&quot;appointmentId&quot;: 738,\n&quot;persons&quot;: 1,\n&quot;token&quot;: null,\n&quot;payments&quot;: [\n{\n&quot;id&quot;: 995,\n&quot;customerBookingId&quot;: 974,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-10-05 11:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null,\n&quot;transactionId&quot;: null\n}\n],\n&quot;utcOffset&quot;: null,\n&quot;aggregatedPrice&quot;: true,\n&quot;isChangedStatus&quot;: null,\n&quot;isLastBooking&quot;: null,\n&quot;packageCustomerService&quot;: null,\n&quot;ticketsData&quot;: [],\n&quot;duration&quot;: 1800,\n&quot;created&quot;: &quot;2023-09-25 14:06:14&quot;,\n&quot;actionsCompleted&quot;: null,\n&quot;isUpdated&quot;: null\n}\n],\n&quot;notifyParticipants&quot;: 1,\n&quot;internalNotes&quot;: &quot;&quot;,\n&quot;status&quot;: &quot;approved&quot;,\n&quot;serviceId&quot;: 1,\n&quot;parentId&quot;: null,\n&quot;providerId&quot;: 1,\n&quot;locationId&quot;: 2,\n&quot;provider&quot;: null,\n&quot;service&quot;: null,\n&quot;location&quot;: {\n&quot;id&quot;: 2,\n&quot;status&quot;: &quot;visible&quot;,\n&quot;name&quot;: &quot;Location2&quot;,\n&quot;description&quot;: &quot;&quot;,\n&quot;address&quot;: &quot;Velisava Vulovi\u0107a 18, Belgrade, Serbia&quot;,\n&quot;phone&quot;: &quot;&quot;,\n&quot;latitude&quot;: 44.767476,\n&quot;longitude&quot;: 20.455081,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;pin&quot;: &quot;&quot;,\n&quot;translations&quot;: null\n},\n&quot;googleCalendarEventId&quot;: null,\n&quot;googleMeetUrl&quot;: null,\n&quot;outlookCalendarEventId&quot;: null,\n&quot;zoomMeeting&quot;: null,\n&quot;lessonSpace&quot;: null,\n&quot;bookingStart&quot;: &quot;2023-10-05 11:00:00&quot;,\n&quot;bookingEnd&quot;: &quot;2023-10-05 11:30:00&quot;,\n&quot;type&quot;: &quot;appointment&quot;,\n&quot;isRescheduled&quot;: 1,\n&quot;isFull&quot;: null,\n&quot;resources&quot;: []\n},\n&quot;booking&quot;: {\n&quot;id&quot;: 974,\n&quot;customerId&quot;: 64,\n&quot;customer&quot;: {\n&quot;id&quot;: 64,\n&quot;firstName&quot;: &quot;Rob&quot;,\n&quot;lastName&quot;: &quot;Stark&quot;,\n&quot;birthday&quot;: null,\n&quot;email&quot;: &quot;robstark@test.test&quot;,\n&quot;phone&quot;: null,\n&quot;type&quot;: &quot;\u304a\u5ba2\u69d8&quot;,\n&quot;status&quot;: null,\n&quot;note&quot;: null,\n&quot;zoomUserId&quot;: null,\n&quot;countryPhoneIso&quot;: null,\n&quot;externalId&quot;: null,\n&quot;pictureFullPath&quot;: null,\n&quot;pictureThumbPath&quot;: null,\n&quot;translations&quot;: &quot;{\\&quot;defaultLanguage\\&quot;:\\&quot;en_US\\&quot;}&quot;,\n&quot;gender&quot;: null\n},\n&quot;status&quot;: &quot;approved&quot;,\n&quot;extras&quot;: [],\n&quot;couponId&quot;: null,\n&quot;price&quot;: 23,\n&quot;coupon&quot;: null,\n&quot;customFields&quot;: &quot;{\\&quot;1\\&quot;:{\\&quot;label\\&quot;:\\&quot;text\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;,\\&quot;value\\&quot;:\\&quot;custom field value\\&quot;}}&quot;,\n&quot;info&quot;: &quot;{\\&quot;firstName\\&quot;:\\&quot;Rob\\&quot;,\\&quot;lastName\\&quot;:\\&quot;Stark\\&quot;,\\&quot;phone\\&quot;:null,\\&quot;locale\\&quot;:\\&quot;en_US\\&quot;,\\&quot;timeZone\\&quot;:\\&quot;Europe\\\\\/Belgrade\\&quot;,\\&quot;urlParams\\&quot;:null}&quot;,\n&quot;appointmentId&quot;: 738,\n&quot;persons&quot;: 1,\n&quot;token&quot;: null,\n&quot;payments&quot;: [\n{\n&quot;id&quot;: 995,\n&quot;customerBookingId&quot;: 974,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-10-05 11:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null,\n&quot;transactionId&quot;: null\n}\n],\n&quot;utcOffset&quot;: null,\n&quot;aggregatedPrice&quot;: true,\n&quot;isChangedStatus&quot;: null,\n&quot;isLastBooking&quot;: null,\n&quot;packageCustomerService&quot;: null,\n&quot;ticketsData&quot;: [],\n&quot;duration&quot;: 1800,\n&quot;created&quot;: &quot;2023-09-25 14:06:14&quot;,\n&quot;actionsCompleted&quot;: null,\n&quot;isUpdated&quot;: null\n},\n&quot;utcTime&quot;: [\n{\n&quot;start&quot;: &quot;2023-10-05 09:00:00&quot;,\n&quot;end&quot;: &quot;2023-10-05 09:30:00&quot;\n}\n],\n&quot;appointmentStatusChanged&quot;: true,\n&quot;recurring&quot;: [],\n&quot;package&quot;: [],\n&quot;packageId&quot;: null,\n&quot;paymentId&quot;: 995,\n&quot;customerCabinetUrl&quot;: &quot;http:\/\/localhost\/amelia\/index.php\/\u304a\u5ba2\u69d8\u30de\u30a4\u30da\u30fc\u30b8&quot;\n}\n}\n<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u30ad\u30e3\u30f3\u30bb\u30eb<\/h3>\n\n\n\n<p>\u4e88\u7d04\u3092\u30ad\u30e3\u30f3\u30bb\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e1\u30bd\u30c3\u30c9<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f<code>POST<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d1\u30b9<\/strong><\/p>\n\n\n\n<p><code>\/bookings\/cancel\/{{booking_id}}<\/code><\/p>\n\n\n\n<p><strong>\u305d\u306e\u4ed6\u306e\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table u-mb-ctrl u-mb-20\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u30ad\u30fc<\/strong><\/td><td><strong>\u30bf\u30a4\u30d7<\/strong><\/td><td><strong>\u8aac\u660e<\/strong><\/td><\/tr><\/thead><tbody><tr><td><code>notifyParticipants<\/code><\/td><td>boolean<\/td><td><strong>\u304a\u5ba2\u69d8<\/strong>\u306b\u4e88\u7d04\u306b\u3064\u3044\u3066<strong>\u30e1\u30fc\u30eb<\/strong>\u3067\u901a\u77e5\u3059\u308b\u304b\u3069\u3046\u304b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f<code>true<\/code>\u3067\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location --request POST &#39;http:\/\/localhost\/amelia\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/bookings\/cancel\/974&#39; \\\n--header &#39;Content-Type: application\/json&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39; \\\n--data-raw &#39;{\n&quot;notifyParticipants&quot;: 1\n}&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: &quot;Successfully cancelled booking&quot;,\n&quot;data&quot;: {\n&quot;type&quot;: &quot;appointment&quot;,\n&quot;appointment&quot;: {\n&quot;id&quot;: 738,\n&quot;bookings&quot;: [\n{\n&quot;id&quot;: 974,\n&quot;customerId&quot;: 64,\n&quot;customer&quot;: null,\n&quot;status&quot;: &quot;canceled&quot;,\n&quot;extras&quot;: [],\n&quot;couponId&quot;: null,\n&quot;price&quot;: 23,\n&quot;coupon&quot;: null,\n&quot;customFields&quot;: &quot;{\\&quot;1\\&quot;:{\\&quot;label\\&quot;:\\&quot;text\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;,\\&quot;value\\&quot;:\\&quot;custom field value\\&quot;}}&quot;,\n&quot;info&quot;: &quot;{\\&quot;firstName\\&quot;:\\&quot;Rob\\&quot;,\\&quot;lastName\\&quot;:\\&quot;Stark\\&quot;,\\&quot;phone\\&quot;:null,\\&quot;locale\\&quot;:\\&quot;en_US\\&quot;,\\&quot;timeZone\\&quot;:\\&quot;Europe\\\\\/Belgrade\\&quot;,\\&quot;urlParams\\&quot;:null}&quot;,\n&quot;appointmentId&quot;: 738,\n&quot;persons&quot;: 1,\n&quot;token&quot;: null,\n&quot;payments&quot;: [\n{\n&quot;id&quot;: 995,\n&quot;customerBookingId&quot;: 974,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-10-05 11:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null,\n&quot;transactionId&quot;: null\n}\n],\n&quot;utcOffset&quot;: null,\n&quot;aggregatedPrice&quot;: true,\n&quot;isChangedStatus&quot;: true,\n&quot;isLastBooking&quot;: null,\n&quot;packageCustomerService&quot;: null,\n&quot;ticketsData&quot;: [],\n&quot;duration&quot;: 1800,\n&quot;created&quot;: &quot;2023-09-25 14:06:14&quot;,\n&quot;actionsCompleted&quot;: null,\n&quot;isUpdated&quot;: null\n}\n],\n&quot;notifyParticipants&quot;: 1,\n&quot;internalNotes&quot;: &quot;&quot;,\n&quot;status&quot;: &quot;rejected&quot;,\n&quot;serviceId&quot;: 1,\n&quot;parentId&quot;: null,\n&quot;providerId&quot;: 1,\n&quot;locationId&quot;: 2,\n&quot;provider&quot;: null,\n&quot;service&quot;: null,\n&quot;location&quot;: null,\n&quot;googleCalendarEventId&quot;: null,\n&quot;googleMeetUrl&quot;: null,\n&quot;outlookCalendarEventId&quot;: null,\n&quot;zoomMeeting&quot;: null,\n&quot;lessonSpace&quot;: null,\n&quot;bookingStart&quot;: &quot;2023-10-05 11:00:00&quot;,\n&quot;bookingEnd&quot;: &quot;2023-10-05 11:30:00&quot;,\n&quot;type&quot;: &quot;appointment&quot;,\n&quot;isRescheduled&quot;: null,\n&quot;isFull&quot;: null,\n&quot;resources&quot;: []\n},\n&quot;appointmentStatusChanged&quot;: true,\n&quot;booking&quot;: {\n&quot;id&quot;: 974,\n&quot;customerId&quot;: 64,\n&quot;customer&quot;: null,\n&quot;status&quot;: &quot;canceled&quot;,\n&quot;extras&quot;: [],\n&quot;couponId&quot;: null,\n&quot;price&quot;: 23,\n&quot;coupon&quot;: null,\n&quot;customFields&quot;: &quot;{\\&quot;1\\&quot;:{\\&quot;label\\&quot;:\\&quot;text\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;,\\&quot;value\\&quot;:\\&quot;custom field value\\&quot;}}&quot;,\n&quot;info&quot;: &quot;{\\&quot;firstName\\&quot;:\\&quot;Rob\\&quot;,\\&quot;lastName\\&quot;:\\&quot;Stark\\&quot;,\\&quot;phone\\&quot;:null,\\&quot;locale\\&quot;:\\&quot;en_US\\&quot;,\\&quot;timeZone\\&quot;:\\&quot;Europe\\\\\/Belgrade\\&quot;,\\&quot;urlParams\\&quot;:null}&quot;,\n&quot;appointmentId&quot;: 738,\n&quot;persons&quot;: 1,\n&quot;token&quot;: null,\n&quot;payments&quot;: [\n{\n&quot;id&quot;: 995,\n&quot;customerBookingId&quot;: 974,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-10-05 11:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: &quot;appointment&quot;,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null,\n&quot;transactionId&quot;: null\n}\n],\n&quot;utcOffset&quot;: null,\n&quot;aggregatedPrice&quot;: true,\n&quot;isChangedStatus&quot;: null,\n&quot;isLastBooking&quot;: null,\n&quot;packageCustomerService&quot;: null,\n&quot;ticketsData&quot;: [],\n&quot;duration&quot;: 1800,\n&quot;created&quot;: &quot;2023-09-25 14:06:14&quot;,\n&quot;actionsCompleted&quot;: null,\n&quot;isUpdated&quot;: null\n},\n&quot;type&quot;: &quot;appointment&quot;,\n&quot;status&quot;: &quot;canceled&quot;,\n&quot;message&quot;: &quot;Appointment status has been changed to canceled&quot;\n}\n}\n<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u524a\u9664<\/h3>\n\n\n\n<p>\u4e88\u7d04\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e1\u30bd\u30c3\u30c9<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f<code>POST<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d1\u30b9<\/strong><\/p>\n\n\n\n<p><code>\/bookings\/delete\/{{booking_id}}<\/code><\/p>\n\n\n\n<p><strong>\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl --location --request POST &#39;http:\/\/localhost\/amelia\/wp-admin\/admin-ajax.php?action=wpamelia_api&call=\/api\/v1\/bookings\/delete\/974&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39;\n<\/code><\/pre><\/div>\n<\/div><\/details>\n\n\n\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-caret-down\"><\/i><i class=\"__icon--opened icon-caret-up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{\n&quot;message&quot;: &quot;Successfully deleted booking&quot;,\n&quot;data&quot;: {\n&quot;appointment&quot;: {\n&quot;id&quot;: 738,\n&quot;bookings&quot;: [\n{\n&quot;id&quot;: 974,\n&quot;customerId&quot;: 64,\n&quot;customer&quot;: null,\n&quot;status&quot;: &quot;approved&quot;,\n&quot;extras&quot;: [],\n&quot;couponId&quot;: null,\n&quot;price&quot;: 23,\n&quot;coupon&quot;: null,\n&quot;customFields&quot;: &quot;{\\&quot;1\\&quot;:{\\&quot;label\\&quot;:\\&quot;text\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;,\\&quot;value\\&quot;:\\&quot;custom field value\\&quot;}}&quot;,\n&quot;info&quot;: &quot;{\\&quot;firstName\\&quot;:\\&quot;Rob\\&quot;,\\&quot;lastName\\&quot;:\\&quot;Stark\\&quot;,\\&quot;phone\\&quot;:null,\\&quot;locale\\&quot;:\\&quot;en_US\\&quot;,\\&quot;timeZone\\&quot;:\\&quot;Europe\\\\\/Belgrade\\&quot;,\\&quot;urlParams\\&quot;:null}&quot;,\n&quot;appointmentId&quot;: 738,\n&quot;persons&quot;: 1,\n&quot;token&quot;: null,\n&quot;payments&quot;: [\n{\n&quot;id&quot;: 995,\n&quot;customerBookingId&quot;: 974,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-10-05 11:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: null,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null,\n&quot;transactionId&quot;: null\n}\n],\n&quot;utcOffset&quot;: null,\n&quot;aggregatedPrice&quot;: true,\n&quot;isChangedStatus&quot;: true,\n&quot;isLastBooking&quot;: null,\n&quot;packageCustomerService&quot;: null,\n&quot;ticketsData&quot;: [],\n&quot;duration&quot;: 1800,\n&quot;created&quot;: &quot;2023-09-25 14:06:14&quot;,\n&quot;actionsCompleted&quot;: null,\n&quot;isUpdated&quot;: null\n}\n],\n&quot;notifyParticipants&quot;: 1,\n&quot;internalNotes&quot;: &quot;&quot;,\n&quot;status&quot;: &quot;rejected&quot;,\n&quot;serviceId&quot;: 1,\n&quot;parentId&quot;: null,\n&quot;providerId&quot;: 1,\n&quot;locationId&quot;: 2,\n&quot;provider&quot;: null,\n&quot;service&quot;: null,\n&quot;location&quot;: null,\n&quot;googleCalendarEventId&quot;: null,\n&quot;googleMeetUrl&quot;: null,\n&quot;outlookCalendarEventId&quot;: null,\n&quot;zoomMeeting&quot;: null,\n&quot;lessonSpace&quot;: null,\n&quot;bookingStart&quot;: &quot;2023-10-05 11:00:00&quot;,\n&quot;bookingEnd&quot;: &quot;2023-10-05 11:30:00&quot;,\n&quot;type&quot;: &quot;appointment&quot;,\n&quot;isRescheduled&quot;: null,\n&quot;isFull&quot;: null,\n&quot;resources&quot;: []\n},\n&quot;bookingsWithChangedStatus&quot;: [\n{\n&quot;id&quot;: 974,\n&quot;customerId&quot;: 64,\n&quot;customer&quot;: null,\n&quot;status&quot;: &quot;approved&quot;,\n&quot;extras&quot;: [],\n&quot;couponId&quot;: null,\n&quot;price&quot;: 23,\n&quot;coupon&quot;: null,\n&quot;customFields&quot;: &quot;{\\&quot;1\\&quot;:{\\&quot;label\\&quot;:\\&quot;text\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;,\\&quot;value\\&quot;:\\&quot;custom field value\\&quot;}}&quot;,\n&quot;info&quot;: &quot;{\\&quot;firstName\\&quot;:\\&quot;Rob\\&quot;,\\&quot;lastName\\&quot;:\\&quot;Stark\\&quot;,\\&quot;phone\\&quot;:null,\\&quot;locale\\&quot;:\\&quot;en_US\\&quot;,\\&quot;timeZone\\&quot;:\\&quot;Europe\\\\\/Belgrade\\&quot;,\\&quot;urlParams\\&quot;:null}&quot;,\n&quot;appointmentId&quot;: 738,\n&quot;persons&quot;: 1,\n&quot;token&quot;: null,\n&quot;payments&quot;: [\n{\n&quot;id&quot;: 995,\n&quot;customerBookingId&quot;: 974,\n&quot;packageCustomerId&quot;: null,\n&quot;parentId&quot;: null,\n&quot;amount&quot;: 0,\n&quot;gateway&quot;: &quot;onSite&quot;,\n&quot;gatewayTitle&quot;: &quot;&quot;,\n&quot;dateTime&quot;: &quot;2023-10-05 11:00:00&quot;,\n&quot;status&quot;: &quot;pending&quot;,\n&quot;data&quot;: &quot;&quot;,\n&quot;entity&quot;: null,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: null,\n&quot;wcOrderId&quot;: null,\n&quot;wcOrderUrl&quot;: null,\n&quot;wcItemCouponValue&quot;: null,\n&quot;wcItemTaxValue&quot;: null,\n&quot;transactionId&quot;: null\n}\n],\n&quot;utcOffset&quot;: null,\n&quot;aggregatedPrice&quot;: true,\n&quot;isChangedStatus&quot;: null,\n&quot;isLastBooking&quot;: null,\n&quot;packageCustomerService&quot;: null,\n&quot;ticketsData&quot;: [],\n&quot;duration&quot;: 1800,\n&quot;created&quot;: &quot;2023-09-25 14:06:14&quot;,\n&quot;actionsCompleted&quot;: null,\n&quot;isUpdated&quot;: null\n}\n],\n&quot;bookingDeleted&quot;: true,\n&quot;appointmentDeleted&quot;: true\n}\n}<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n","protected":false},"author":1,"parent":0,"template":"","bkb_category":[78],"bkb_tags":[],"class_list":["post-8038","bwl_kb","type-bwl_kb","status-publish","hentry","bkb_category-api-endpoints"],"_links":{"self":[{"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bwl_kb\/8038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bwl_kb"}],"about":[{"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/types\/bwl_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":2,"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bwl_kb\/8038\/revisions"}],"predecessor-version":[{"id":8135,"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bwl_kb\/8038\/revisions\/8135"}],"wp:attachment":[{"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/media?parent=8038"}],"wp:term":[{"taxonomy":"bkb_category","embeddable":true,"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bkb_category?post=8038"},{"taxonomy":"bkb_tags","embeddable":true,"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bkb_tags?post=8038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}