{"id":8031,"date":"2025-11-17T20:36:26","date_gmt":"2025-11-17T11:36:26","guid":{"rendered":"https:\/\/www.flow-state.jp\/amelia\/?post_type=bwl_kb&#038;p=8031"},"modified":"2025-11-17T21:10:44","modified_gmt":"2025-11-17T12:10:44","slug":"wp-hooks-package-purchases","status":"publish","type":"bwl_kb","link":"https:\/\/www.flow-state.jp\/amelia\/mypage\/api-endpoints\/wp-hooks-package-purchases\/","title":{"rendered":"\u30b3\u30fc\u30b9\u306e\u8cfc\u5165"},"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=\"2518796323\" 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_2518796323\" style=\"display: none;\">\n                                                        <div class=\"suggestionList\" id=\"suggestionsList_2518796323\"> &nbsp; <\/div>\n                                                    <\/div>\n                                                <\/div>\n                                            <\/form><\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\"><strong>Amelia API \u2013 \u30b3\u30fc\u30b9\u8cfc\u5165<\/strong><\/h2>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001<strong>\u30b3\u30fc\u30b9<\/strong>\u8cfc\u5165\u306b\u95a2\u9023\u3059\u308bAPI\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_info\">\u3059\u3079\u3066\u306eAPI\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3068\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u304a\u3088\u3073\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4f8b\u306f\u3001<a href=\"https:\/\/www.flow-state.jp\/amelia\/wp-content\/uploads\/2025\/11\/amelia-api.json_.zip\" data-type=\"attachment\" data-id=\"8545\">\u3053\u3061\u3089\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a>\u3067\u304d\u308b<strong>Amelia<\/strong> API Postman\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\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\u3001\u4e00\u5b9a\u306e\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30b9\u30ad\u30eb\u304c\u5fc5\u8981\u3067\u3042\u308a\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u63d0\u4f9b\u3055\u308c\u308b\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<code>Amelia<\/code>\u3068\u3044\u3046\u540d\u524d\u306e\u30d8\u30c3\u30c0\u30fc\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3057\u305fAPI\u30ad\u30fc\u8a8d\u8a3c\u3092\u63a1\u7528\u3057\u3066\u3044\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\u4ee5\u4e0b\u3067\u59cb\u307e\u308a\u307e\u3059\uff1a<code>{{your_site_URL}}\/wp-admin\/admin-ajax.php?action=wpamelia_api&amp;call=\/api\/v1<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b3\u30fc\u30b9\u8cfc\u5165\u306e\u8ffd\u52a0<\/h3>\n\n\n\n<p><strong>\u30b3\u30fc\u30b9<\/strong>\u8cfc\u5165\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>\/packages\/customers<\/code><\/p>\n\n\n\n<p><strong>\u5fc5\u9808\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u5fc5\u9808\u3067\u3059\u3002<\/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>packageId<\/code><\/td><td>integer<\/td><td><strong>\u30b3\u30fc\u30b9<\/strong>ID\u3002<\/td><\/tr><tr><td><code>customerId<\/code><\/td><td>integer<\/td><td><strong>\u304a\u5ba2\u69d8<\/strong>ID\u3002<\/td><\/tr><tr><td><code>notify<\/code><\/td><td>boolean<\/td><td><strong>\u304a\u5ba2\u69d8<\/strong>\u306b\u3053\u306e\u8cfc\u5165\u306b\u3064\u3044\u3066\u901a\u77e5\u3059\u308b\u304b\u3069\u3046\u304b\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\/packages\/customers&#39; \\\n--header &#39;Content-Type: application\/json&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39; \\\n--data &#39;{ &quot;packageId&quot;: 14, &quot;customerId&quot;: 16, &quot;notify&quot;: true }&#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 new package booking.&quot;,\n&quot;data&quot;: {\n&quot;packageCustomerId&quot;: 115,\n&quot;notify&quot;: true,\n&quot;paymentId&quot;: 1154,\n&quot;onlyOneEmployee&quot;: null\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\">\u30b3\u30fc\u30b9\u4e88\u7d04\u306e\u8ffd\u52a0<\/h3>\n\n\n\n<p><strong>\u30b3\u30fc\u30b9<\/strong>\u8cfc\u5165\u306b\u4e88\u7d04\u3092\u8ffd\u52a0\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>\/appointments<\/code><\/p>\n\n\n\n<p><strong>\u5fc5\u9808\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u5fc5\u9808\u3067\u3059\u3002<\/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>\u4e88\u7d04\u306e\u914d\u5217\u3002<\/td><\/tr><tr><td><code>serviceId<\/code><\/td><td>integer<\/td><td>\u30b5\u30fc\u30d3\u30b9ID\u3002<\/td><\/tr><tr><td><code>providerId<\/code><\/td><td>integer<\/td><td><strong>\u30b9\u30bf\u30c3\u30d5<\/strong>ID\u3002<\/td><\/tr><tr><td><code>bookingStart<\/code><\/td><td>string<\/td><td>\u4e88\u7d04\u958b\u59cb\u306e\u65e5\u6642\u3002\u5f62\u5f0f\uff1a<code>YYYY-MM-DD HH:mm<\/code>\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u30aa\u30d7\u30b7\u30e7\u30f3\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>integer<\/td><td><strong>\u304a\u5ba2\u69d8<\/strong>\u306b\u901a\u77e5\u3059\u308b\u304b\u3069\u3046\u304b\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u5024\uff1a<code>1<\/code>\u3001<code>0<\/code>\u3002<\/td><\/tr><tr><td><code>internalNotes<\/code><\/td><td>string<\/td><td>\u4e88\u7d04\u306e\u5185\u90e8\u30e1\u30e2\u3002<\/td><\/tr><tr><td><code>lessonSpace<\/code><\/td><td>string<\/td><td>\u4f7f\u7528\u3059\u308b\u30ec\u30c3\u30b9\u30f3\u30eb\u30fc\u30e0\u306eID\u3002<\/td><\/tr><tr><td><code>locationId<\/code><\/td><td>integer<\/td><td><strong>\u5834\u6240<\/strong>ID\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\/appointments&#39; \\\n--header &#39;Content-Type: application\/json&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39; \\\n--data &#39;{ &quot;serviceId&quot;: 1, &quot;providerId&quot;: 1, &quot;locationId&quot;: 2, &quot;bookings&quot;: [ { &quot;customerId&quot;: 16, &quot;status&quot;: &quot;approved&quot;, &quot;duration&quot;: 3600, &quot;persons&quot;: 1, &quot;extras&quot;: [], &quot;customFields&quot;: &quot;{\\&quot;1\\&quot;:{\\&quot;label\\&quot;:\\&quot;text\\&quot;,\\&quot;value\\&quot;:\\&quot;\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;},\\&quot;4\\&quot;:{\\&quot;label\\&quot;:\\&quot;Adresa\\&quot;,\\&quot;value\\&quot;:\\&quot;\\&quot;,\\&quot;type\\&quot;:\\&quot;address\\&quot;}}&quot;, &quot;packageCustomerService&quot;: { &quot;packageCustomer&quot;: { &quot;id&quot;: 115 } } } ], &quot;bookingStart&quot;: &quot;2023-11-22 09:30&quot;, &quot;notifyParticipants&quot;: 1, &quot;internalNotes&quot;: &quot;&quot;, &quot;lessonSpace&quot;: null }&#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 new appointment&quot;,\n&quot;data&quot;: {\n&quot;appointment&quot;: {\n&quot;id&quot;: 851,\n&quot;bookings&quot;: [\n{\n&quot;id&quot;: 1147,\n&quot;customerId&quot;: 16,\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;value\\&quot;:\\&quot;\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;},\\&quot;4\\&quot;:{\\&quot;label\\&quot;:\\&quot;Adresa\\&quot;,\\&quot;value\\&quot;:\\&quot;\\&quot;,\\&quot;type\\&quot;:\\&quot;address\\&quot;}}&quot;,\n&quot;info&quot;: null,\n&quot;appointmentId&quot;: 851,\n&quot;persons&quot;: 1,\n&quot;token&quot;: &quot;8c614c916d&quot;,\n&quot;payments&quot;: [],\n&quot;utcOffset&quot;: null,\n&quot;aggregatedPrice&quot;: true,\n&quot;isChangedStatus&quot;: true,\n&quot;isLastBooking&quot;: null,\n&quot;packageCustomerService&quot;: {\n&quot;id&quot;: 179,\n&quot;serviceId&quot;: null,\n&quot;providerId&quot;: null,\n&quot;locationId&quot;: null,\n&quot;bookingsCount&quot;: null,\n&quot;packageCustomer&quot;: {\n&quot;id&quot;: 115,\n&quot;packageId&quot;: null,\n&quot;customerId&quot;: null,\n&quot;price&quot;: null,\n&quot;payments&quot;: [],\n&quot;start&quot;: null,\n&quot;end&quot;: null,\n&quot;purchased&quot;: null,\n&quot;status&quot;: null,\n&quot;bookingsCount&quot;: null,\n&quot;couponId&quot;: null,\n&quot;coupon&quot;: null\n}\n},\n&quot;ticketsData&quot;: [],\n&quot;duration&quot;: 3600,\n&quot;created&quot;: null,\n&quot;actionsCompleted&quot;: false,\n&quot;isUpdated&quot;: null\n},\n...\n],\n&quot;notifyParticipants&quot;: 0,\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;: 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-11-22 09:30:00&quot;,\n&quot;bookingEnd&quot;: &quot;2023-11-22 10: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;recurring&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\">\u30b3\u30fc\u30b9\u8cfc\u5165\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u66f4\u65b0<\/h3>\n\n\n\n<p><strong>\u30b3\u30fc\u30b9<\/strong>\u8cfc\u5165\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u66f4\u65b0\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>\/packages\/customers\/{{package_customer_id}}<\/code><\/p>\n\n\n\n<p><strong>\u5fc5\u9808\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u5fc5\u9808\u3067\u3059\u3002<\/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>status<\/code><\/td><td>string<\/td><td><strong>\u30b3\u30fc\u30b9<\/strong>\u8cfc\u5165\u306e\u65b0\u3057\u3044\u30b9\u30c6\u30fc\u30bf\u30b9\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u5024\uff1a<code>approved<\/code>\uff08\u627f\u8a8d\u6e08\u307f\uff09\u3001<code>canceled<\/code>\uff08\u30ad\u30e3\u30f3\u30bb\u30eb\u6e08\u307f\uff09<\/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\/packages\/customers\/115&#39; \\\n--header &#39;Content-Type: application\/json&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39; \\\n--data &#39;{ &quot;status&quot;: &quot;canceled&quot; }&#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 updated package&quot;,\n&quot;data&quot;: {\n&quot;packageCustomerId&quot;: &quot;115&quot;,\n&quot;status&quot;: &quot;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\">\u5229\u7528\u53ef\u80fd\u306a\u30b3\u30fc\u30b9\u306e\u6642\u9593\u67a0\u306e\u53d6\u5f97<\/h3>\n\n\n\n<p><strong>\u30b3\u30fc\u30b9<\/strong>\u8cfc\u5165\u3067\u5229\u7528\u53ef\u80fd\u306a<strong>\u6642\u9593\u67a0<\/strong>\u306e\u6570\u3092\u53d6\u5f97\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>GET<\/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>\/package-purchases\/slots<\/code><\/p>\n\n\n\n<p><strong>\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><\/p>\n\n\n\n<p><strong>\u30b3\u30fc\u30b9<\/strong>\u8cfc\u5165\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3059\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u30af\u30a8\u30ea\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/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>packageId<\/code><\/td><td>int<\/td><td><strong>\u30b3\u30fc\u30b9<\/strong>\u306eID<\/td><\/tr><tr><td><code>customerId<\/code><\/td><td>int<\/td><td><strong>\u304a\u5ba2\u69d8<\/strong>\u306eID<\/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\/package-purchases\/slots&packageId=3&customerId=3&#39; \\\n--header &#39;Amelia: s7nC4\/uAb0dPHnFevx06GKJGryzFxnVeiCwPNmZRD\/a+&#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 retrieved available package slots&quot;,\n&quot;data&quot;: [\n{\n&quot;customerId&quot;: 3,\n&quot;packages&quot;: [\n{\n&quot;packageId&quot;: 3,\n&quot;purchases&quot;: [\n{\n&quot;purchase&quot;: [\n{\n&quot;serviceId&quot;: 1,\n&quot;available&quot;: 3,\n&quot;total&quot;: 4\n},\n{\n&quot;serviceId&quot;: 5,\n&quot;available&quot;: 3,\n&quot;total&quot;: 4\n}\n],\n&quot;purchased&quot;: &quot;2024-03-29 16:42&quot;,\n&quot;packageCustomerId&quot;: 79\n}\n]\n}\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\">\u30b3\u30fc\u30b9\u8cfc\u5165\u306e\u524a\u9664<\/h3>\n\n\n\n<p><strong>\u30b3\u30fc\u30b9<\/strong>\u8cfc\u5165\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>\/packages\/customers\/delete\/{{package_customer_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\/packages\/customers\/delete\/115&#39; \\\n--header &#39;Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0&#39; \\\n--data &#39;&#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 package purchase.&quot;,\n&quot;data&quot;: {\n&quot;packageCustomer&quot;: {\n&quot;id&quot;: 115,\n&quot;packageId&quot;: 14,\n&quot;customerId&quot;: 16,\n&quot;price&quot;: 180,\n&quot;payments&quot;: [],\n&quot;start&quot;: &quot;2023-11-06 15:25:58&quot;,\n&quot;end&quot;: null,\n&quot;purchased&quot;: &quot;2023-11-06 15:25:58&quot;,\n&quot;status&quot;: &quot;canceled&quot;,\n&quot;bookingsCount&quot;: 0,\n&quot;couponId&quot;: null,\n&quot;coupon&quot;: null\n},\n&quot;appointments&quot;: {\n&quot;updatedAppointments&quot;: [\n{\n&quot;appointment&quot;: {\n&quot;id&quot;: 851,\n&quot;bookings&quot;: [\n{\n&quot;id&quot;: 1146,\n&quot;customerId&quot;: 16,\n&quot;customer&quot;: {\n&quot;id&quot;: 16,\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.com&quot;,\n&quot;phone&quot;: &quot;+381601234567&quot;,\n&quot;type&quot;: &quot;\u304a\u5ba2\u69d8&quot;,\n&quot;status&quot;: &quot;visible&quot;,\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;: null,\n&quot;gender&quot;: null\n},\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;2\\&quot;:{\\&quot;label\\&quot;:\\&quot;Select1\\&quot;,\\&quot;value\\&quot;:\\&quot;\\&quot;,\\&quot;type\\&quot;:\\&quot;select\\&quot;},\\&quot;5\\&quot;:{\\&quot;label\\&quot;:\\&quot;text3\\&quot;,\\&quot;value\\&quot;:\\&quot;\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;},\\&quot;7\\&quot;:{\\&quot;label\\&quot;:\\&quot;My address\\&quot;,\\&quot;value\\&quot;:\\&quot;\\&quot;,\\&quot;type\\&quot;:\\&quot;address\\&quot;},\\&quot;9\\&quot;:{\\&quot;label\\&quot;:\\&quot;address4\\&quot;,\\&quot;value\\&quot;:\\&quot;\\&quot;,\\&quot;type\\&quot;:\\&quot;address\\&quot;},\\&quot;13\\&quot;:{\\&quot;label\\&quot;:\\&quot;file\\&quot;,\\&quot;value\\&quot;:\\&quot;\\&quot;,\\&quot;type\\&quot;:\\&quot;file\\&quot;}}&quot;,\n&quot;info&quot;: &quot;{\\&quot;firstName\\&quot;:\\&quot;Amelia\\&quot;,\\&quot;lastName\\&quot;:\\&quot;Test\\&quot;,\\&quot;phone\\&quot;:\\&quot;+381601234567\\&quot;,\\&quot;locale\\&quot;:null,\\&quot;timeZone\\&quot;:null,\\&quot;urlParams\\&quot;:null}&quot;,\n&quot;appointmentId&quot;: 851,\n&quot;persons&quot;: 1,\n&quot;token&quot;: null,\n&quot;payments&quot;: [],\n&quot;utcOffset&quot;: null,\n&quot;aggregatedPrice&quot;: true,\n&quot;isChangedStatus&quot;: false,\n&quot;isLastBooking&quot;: null,\n&quot;packageCustomerService&quot;: {\n&quot;id&quot;: 179,\n&quot;serviceId&quot;: null,\n&quot;providerId&quot;: null,\n&quot;locationId&quot;: null,\n&quot;bookingsCount&quot;: null,\n&quot;packageCustomer&quot;: {\n&quot;id&quot;: null,\n&quot;packageId&quot;: null,\n&quot;customerId&quot;: null,\n&quot;price&quot;: null,\n&quot;payments&quot;: [],\n&quot;start&quot;: null,\n&quot;end&quot;: null,\n&quot;purchased&quot;: null,\n&quot;status&quot;: null,\n&quot;bookingsCount&quot;: null,\n&quot;couponId&quot;: null,\n&quot;coupon&quot;: null\n}\n},\n&quot;ticketsData&quot;: [],\n&quot;duration&quot;: 1800,\n&quot;created&quot;: &quot;2023-11-06 16:33:22&quot;,\n&quot;actionsCompleted&quot;: null,\n&quot;isUpdated&quot;: null\n}\n],\n&quot;notifyParticipants&quot;: 0,\n&quot;internalNotes&quot;: null,\n&quot;status&quot;: &quot;canceled&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;: {\n&quot;id&quot;: 1,\n&quot;firstName&quot;: &quot;Milica&quot;,\n&quot;lastName&quot;: &quot;Employee&quot;,\n&quot;birthday&quot;: null,\n&quot;email&quot;: &quot;kpop.lover.10000@gmail.com&quot;,\n&quot;phone&quot;: &quot;+381631652656&quot;,\n&quot;type&quot;: &quot;\u30b9\u30bf\u30c3\u30d5&quot;,\n&quot;status&quot;: null,\n&quot;note&quot;: &quot;note 123345678900&quot;,\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;: null,\n&quot;weekDayList&quot;: [],\n&quot;serviceList&quot;: [],\n&quot;dayOffList&quot;: [],\n&quot;specialDayList&quot;: [],\n&quot;locationId&quot;: null,\n&quot;googleCalendar&quot;: null,\n&quot;outlookCalendar&quot;: null,\n&quot;timeZone&quot;: null,\n&quot;description&quot;: &quot;&quot;\n},\n&quot;service&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;: 20,\n&quot;deposit&quot;: null,\n&quot;depositPayment&quot;: null,\n&quot;depositPerPerson&quot;: null,\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;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;:true},\\&quot;razorpay\\&quot;:{\\&quot;enabled\\&quot;:true},\\&quot;square\\&quot;:{\\&quot;enabled\\&quot;:true}},\\&quot;zoom\\&quot;:{\\&quot;enabled\\&quot;:true},\\&quot;lessonSpace\\&quot;:{\\&quot;enabled\\&quot;:true},\\&quot;activation\\&quot;:{\\&quot;version\\&quot;:\\&quot;6.7\\&quot;},\\&quot;general\\&quot;:{\\&quot;minimumTimeRequirementPriorToCanceling\\&quot;:null}}&quot;,\n&quot;fullPayment&quot;: null,\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;: null,\n&quot;show&quot;: null,\n&quot;aggregatedPrice&quot;: null,\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;: null,\n&quot;translations&quot;: null,\n&quot;minSelectedExtras&quot;: null,\n&quot;mandatoryExtra&quot;: null,\n&quot;customPricing&quot;: null,\n&quot;maxExtraPeople&quot;: null,\n&quot;limitPerCustomer&quot;: null\n},\n&quot;location&quot;: null,\n&quot;googleCalendarEventId&quot;: null,\n&quot;googleMeetUrl&quot;: null,\n&quot;outlookCalendarEventId&quot;: null,\n&quot;zoomMeeting&quot;: {\n&quot;id&quot;: 74364614621,\n&quot;startUrl&quot;: &quot;https:\/\/us04web.zoom.us\/s\/74364614621?zak=eyJ0eXAiOiJKV1QiLCJzdiI6IjAwMDAwMSIsInptX3NrbSI6InptX28ybSIsImFsZyI6IkhTMjU2In0.eyJhdWQiOiJjbGllbnRzbSIsInVpZCI6IlBNUVVXdlVXVEJLMVh6cW11YVM2LUEiLCJpc3MiOiJ3ZWIiLCJzayI6Ijg0OTc4OTYwMzQ5OTI5NjU2NDUiLCJzdHkiOjEwMCwid2NkIjoidXMwNCIsImNsdCI6MCwibW51bSI6Ijc0MzY0NjE0NjIxIiwiZXhwIjoxNjk5MjkyMDcxLCJpYXQiOjE2OTkyODQ4NzEsImFpZCI6Ing4ejhiTG1WUzJLODA0aktOa09lTmciLCJjaWQiOiIifQ.yY74Fe24ABFGBFd775CTVPVB4UPRoLSMBP2CosVpUsw&quot;,\n&quot;joinUrl&quot;: &quot;https:\/\/us04web.zoom.us\/j\/74364614621?pwd=YtkRIn36Ct9mwBF6p99ZbQm8sa3bo7.1&quot;\n},\n&quot;lessonSpace&quot;: null,\n&quot;bookingStart&quot;: &quot;2023-11-22 09:30:00&quot;,\n&quot;bookingEnd&quot;: &quot;2023-11-22 10:30:00&quot;,\n&quot;type&quot;: &quot;appointment&quot;,\n&quot;isRescheduled&quot;: false,\n&quot;isFull&quot;: null,\n&quot;resources&quot;: []\n},\n&quot;bookingsWithChangedStatus&quot;: [\n{\n&quot;id&quot;: 1147,\n&quot;customerId&quot;: 16,\n&quot;customer&quot;: {\n&quot;id&quot;: 16,\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.com&quot;,\n&quot;phone&quot;: &quot;+381601234567&quot;,\n&quot;type&quot;: &quot;\u304a\u5ba2\u69d8&quot;,\n&quot;status&quot;: &quot;visible&quot;,\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;: null,\n&quot;gender&quot;: null\n},\n&quot;status&quot;: &quot;rejected&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;value\\&quot;:\\&quot;\\&quot;,\\&quot;type\\&quot;:\\&quot;text\\&quot;},\\&quot;4\\&quot;:{\\&quot;label\\&quot;:\\&quot;Adresa\\&quot;,\\&quot;value\\&quot;:\\&quot;\\&quot;,\\&quot;type\\&quot;:\\&quot;address\\&quot;}}&quot;,\n&quot;info&quot;: null,\n&quot;appointmentId&quot;: 851,\n&quot;persons&quot;: 1,\n&quot;token&quot;: null,\n&quot;payments&quot;: [],\n&quot;utcOffset&quot;: null,\n&quot;aggregatedPrice&quot;: true,\n&quot;isChangedStatus&quot;: true,\n&quot;isLastBooking&quot;: null,\n&quot;packageCustomerService&quot;: {\n&quot;id&quot;: 179,\n&quot;serviceId&quot;: null,\n&quot;providerId&quot;: null,\n&quot;locationId&quot;: null,\n&quot;bookingsCount&quot;: null,\n&quot;packageCustomer&quot;: {\n&quot;id&quot;: null,\n&quot;packageId&quot;: null,\n&quot;customerId&quot;: null,\n&quot;price&quot;: null,\n&quot;payments&quot;: [],\n&quot;start&quot;: null,\n&quot;end&quot;: null,\n&quot;purchased&quot;: null,\n&quot;status&quot;: null,\n&quot;bookingsCount&quot;: null,\n&quot;couponId&quot;: null,\n&quot;coupon&quot;: null\n}\n},\n&quot;ticketsData&quot;: [],\n&quot;duration&quot;: 3600,\n&quot;created&quot;: &quot;2023-11-06 16:34:30&quot;,\n&quot;actionsCompleted&quot;: null,\n&quot;isUpdated&quot;: null,\n&quot;skipNotification&quot;: true\n}\n],\n&quot;bookingDeleted&quot;: true,\n&quot;appointmentDeleted&quot;: false,\n&quot;appointmentStatusChanged&quot;: true,\n&quot;appointmentRescheduled&quot;: false,\n&quot;appointmentEmployeeChanged&quot;: null,\n&quot;appointmentZoomUserChanged&quot;: false,\n&quot;appointmentZoomUsersLicenced&quot;: false\n}\n],\n&quot;deletedAppointments&quot;: []\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-8031","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\/8031","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":1,"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bwl_kb\/8031\/revisions"}],"predecessor-version":[{"id":8093,"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bwl_kb\/8031\/revisions\/8093"}],"wp:attachment":[{"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/media?parent=8031"}],"wp:term":[{"taxonomy":"bkb_category","embeddable":true,"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bkb_category?post=8031"},{"taxonomy":"bkb_tags","embeddable":true,"href":"https:\/\/www.flow-state.jp\/amelia\/wp-json\/wp\/v2\/bkb_tags?post=8031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}