{"id":4043,"date":"2021-01-06T02:37:53","date_gmt":"2021-01-06T02:37:53","guid":{"rendered":"https:\/\/www.magetop.com\/blog\/?p=4043"},"modified":"2024-07-30T03:33:57","modified_gmt":"2024-07-30T03:33:57","slug":"magento-2-booking-extension-rest-api","status":"publish","type":"post","link":"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/","title":{"rendered":"Magetop Booking Extension REST API"},"content":{"rendered":"\n\n\n<p>Magetop Booking Extension is fully integrated with the Magento REST API. This allows Bookings data to be read using requests in JSON format and using Magento REST API Authentication methods and standard HTTP verbs which are understood by most HTTP clients.<\/p>\n\n\n\n<div class=\"wp-block-jetpack-slideshow aligncenter\" data-effect=\"slide\"><div class=\"wp-block-jetpack-slideshow_container swiper-container\"><ul class=\"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper\"><li class=\"wp-block-jetpack-slideshow_slide swiper-slide\"><figure><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" alt=\"\" class=\"wp-block-jetpack-slideshow_image wp-image-4078\" data-id=\"4078\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-1.png?resize=800%2C800&#038;ssl=1\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-1.png?w=850&amp;ssl=1 850w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-1.png?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-1.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-1.png?resize=768%2C768&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-1.png?resize=50%2C50&amp;ssl=1 50w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure><\/li><li class=\"wp-block-jetpack-slideshow_slide swiper-slide\"><figure><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"688\" height=\"688\" alt=\"\" class=\"wp-block-jetpack-slideshow_image wp-image-4077\" data-id=\"4077\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-2.png?resize=688%2C688&#038;ssl=1\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-2.png?w=688&amp;ssl=1 688w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-2.png?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-2.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-2.png?resize=50%2C50&amp;ssl=1 50w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><\/figure><\/li><li class=\"wp-block-jetpack-slideshow_slide swiper-slide\"><figure><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" alt=\"\" class=\"wp-block-jetpack-slideshow_image wp-image-4076\" data-id=\"4076\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-4.png?resize=800%2C800&#038;ssl=1\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-4.png?w=920&amp;ssl=1 920w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-4.png?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-4.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-4.png?resize=768%2C768&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-4.png?resize=50%2C50&amp;ssl=1 50w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure><\/li><li class=\"wp-block-jetpack-slideshow_slide swiper-slide\"><figure><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" alt=\"\" class=\"wp-block-jetpack-slideshow_image wp-image-4079\" data-id=\"4079\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-11.png?resize=800%2C800&#038;ssl=1\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-11.png?w=850&amp;ssl=1 850w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-11.png?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-11.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-11.png?resize=768%2C768&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-11.png?resize=50%2C50&amp;ssl=1 50w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure><\/li><li class=\"wp-block-jetpack-slideshow_slide swiper-slide\"><figure><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" alt=\"\" class=\"wp-block-jetpack-slideshow_image wp-image-4081\" data-id=\"4081\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-9.png?resize=800%2C800&#038;ssl=1\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-9.png?w=920&amp;ssl=1 920w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-9.png?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-9.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-9.png?resize=768%2C768&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-9.png?resize=50%2C50&amp;ssl=1 50w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure><\/li><li class=\"wp-block-jetpack-slideshow_slide swiper-slide\"><figure><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" alt=\"\" class=\"wp-block-jetpack-slideshow_image wp-image-4080\" data-id=\"4080\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-10.png?resize=800%2C800&#038;ssl=1\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-10.png?w=920&amp;ssl=1 920w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-10.png?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-10.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-10.png?resize=768%2C768&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/booking-des-10.png?resize=50%2C50&amp;ssl=1 50w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure><\/li><\/ul><a class=\"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white\" role=\"button\"><\/a><a class=\"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white\" role=\"button\"><\/a><a aria-label=\"Pause Slideshow\" class=\"wp-block-jetpack-slideshow_button-pause\" role=\"button\"><\/a><div class=\"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white\"><\/div><\/div><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">1. Get Per Day and Per Night Price&nbsp;<\/h4>\n\n\n\n<p>Url: <strong>V1\/bookingonline\/bookingsimple<\/strong><\/p>\n\n\n\n<p>Method: POST<\/p>\n\n\n\n<p>Param:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;book_product_id&quot;: 6,\n  &quot;book_type&quot;: &quot;per_day&quot;,\n  &quot;product&quot;: 6,\n  &quot;long_format_date&quot;: &quot;DD\/MM\/YYYY&quot;,\n  &quot;book_sale_id&quot;: 0,\n  &quot;book_date&quot;: &quot;&quot;,\n  &quot;start_date&quot;: &quot;19\/01\/2021&quot;,\n  &quot;end_date&quot;: &quot;22\/01\/2021&quot;,\n  &quot;qty&quot;: 1,\n}\n<\/pre><\/div>\n\n\n<p>Response:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;status&quot;: &quot;success&quot;,\n  &quot;message&quot;: &quot;check price success&quot;,\n  &quot;price_detail&quot;: {\n    &quot;status&quot;: &quot;success&quot;,\n    &quot;message&quot;: &quot;Item is available , you can see detail bellow: &quot;,\n    &quot;price&quot;: 400,\n    &quot;promo&quot;: 320,\n    &quot;save_money&quot;: 80,\n    &quot;save_percent&quot;: 20,\n    &quot;start_date&quot;: &quot;19\/01\/2021&quot;,\n    &quot;end_date&quot;: &quot;22\/01\/2021&quot;,\n    &quot;total_days&quot;: 4,\n    &quot;select_options&quot;: 0\n  }\n}\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">2. Get Time Slots&nbsp;<\/h4>\n\n\n\n<p>Url: <strong>V1\/bookingonline\/gettimeslots<\/strong><\/p>\n\n\n\n<p>Method: POST<\/p>\n\n\n\n<p>Param:&nbsp;<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;product&quot;: 1,\n  &quot;book_product_id&quot;: 1,\n  &quot;book_type&quot;: &quot;per_time&quot;,\n  &quot;long_format_date&quot;: &quot;DD\/MM\/YYYY&quot;,\n  &quot;book_sale_id&quot;: 0,\n  &quot;book_date&quot;: &quot;&quot;,\n  &quot;start_date&quot;: &quot;13\/01\/2021&quot;,\n  &quot;end_date&quot;: &quot;13\/01\/2021&quot;,\n  &quot;qty&quot;: 1,\n  &quot;book_is_ticket&quot;: 2,\n  &quot;book_ticket_seat&quot;: &quot;&quot;,\n  &quot;max_book_number&quot;: 0,\n  &quot;tmp_slot_slot_id&quot;: 0,\n  &quot;is_book_load&quot;: 1,\n  &quot;time_slots&quot;: &#x5B;],\n}\n<\/pre><\/div>\n\n\n<p>Response:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;status&quot;: &quot;success&quot;,\n  &quot;time_slots&quot;: &#x5B;\n    {\n      &quot;slot_id&quot;: &quot;183&quot;,\n      &quot;status&quot;: &quot;available&quot;,\n      &quot;text&quot;: &quot;08:00 50 Available&quot;,\n      &quot;hours_start&quot;: &quot;08:00&quot;,\n      &quot;hours_end&quot;: &quot;09:00&quot;,\n      &quot;qty&quot;: 50\n    },\n    {\n      &quot;slot_id&quot;: &quot;184&quot;,\n      &quot;status&quot;: &quot;available&quot;,\n      &quot;text&quot;: &quot;09:00 50 Available&quot;,\n      &quot;hours_start&quot;: &quot;09:00&quot;,\n      &quot;hours_end&quot;: &quot;11:00&quot;,\n      &quot;qty&quot;: 50\n    }\n  ]\n}\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">3. Get Time Slot Price<\/h4>\n\n\n\n<p>Url: <strong>V1\/bookingonline\/booktimeslot<\/strong><\/p>\n\n\n\n<p>Method: POST<\/p>\n\n\n\n<p>Param:&nbsp;<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;product&quot;: 1,\n  &quot;book_product_id&quot;: 1,\n  &quot;book_type&quot;: &quot;per_time&quot;,\n  &quot;long_format_date&quot;: &quot;DD\/MM\/YYYY&quot;,\n  &quot;book_sale_id&quot;: 0,\n  &quot;book_date&quot;: &quot;&quot;,\n  &quot;start_date&quot;: &quot;13\/01\/2021&quot;,\n  &quot;end_date&quot;: &quot;13\/01\/2021&quot;,\n  &quot;qty&quot;: 1,\n  &quot;book_is_ticket&quot;: 2,\n  &quot;book_ticket_seat&quot;: &quot;&quot;,\n  &quot;max_book_number&quot;: 0,\n  &quot;tmp_slot_slot_id&quot;: 0,\n  &quot;is_book_load&quot;: 1,\n  &quot;time_slots&quot;: &#x5B;\n    &quot;183&quot;,\n    &quot;184&quot;\n  ],\n}\n<\/pre><\/div>\n\n\n<p>Response:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;status&quot;: &quot;success&quot;,\n  &quot;message&quot;: &quot;check price success&quot;,\n  &quot;price_detail&quot;: {\n    &quot;status&quot;: &quot;success&quot;,\n    &quot;message&quot;: &quot;Item is available , you can see detail bellow: &quot;,\n    &quot;price&quot;: 340,\n    &quot;promo&quot;: 300,\n    &quot;total_time_slot&quot;: 2,\n    &quot;save_money&quot;: 40,\n    &quot;save_percent&quot;: 12,\n    &quot;slot_quy&quot;: &quot;50&quot;,\n    &quot;row_number&quot;: 5,\n    &quot;start_date&quot;: &quot;13\/01\/2021&quot;,\n    &quot;total_days&quot;: 1,\n    &quot;select_options&quot;: &#x5B;],\n    &quot;time_slot_labels&quot;: &#x5B;\n      &quot;08:00&quot;,\n      &quot;09:00&quot;\n    ],\n    &quot;cart_seat&quot;: &quot;&quot;,\n    &quot;cur_seat&quot;: &quot;&quot;\n  }\n}\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">4. Get List Hours<\/h4>\n\n\n\n<p>Url: <strong>V1\/bookingonline\/gettimeslots<\/strong><\/p>\n\n\n\n<p>Method: POST<\/p>\n\n\n\n<p>Param:&nbsp;<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;product&quot;: 11,\n  &quot;book_product_id&quot;: 11,\n  &quot;book_type&quot;: &quot;per_hour&quot;,\n  &quot;long_format_date&quot;: &quot;DD\/MM\/YYYY&quot;,\n  &quot;book_sale_id&quot;: 0,\n  &quot;book_date&quot;: &quot;&quot;,\n  &quot;start_date&quot;: &quot;20\/01\/2021&quot;,\n  &quot;end_date&quot;: &quot;20\/01\/2021&quot;,\n  &quot;qty&quot;: 1,\n  &quot;book_is_ticket&quot;: 2,\n  &quot;book_ticket_seat&quot;: &quot;&quot;,\n  &quot;max_book_number&quot;: 0,\n  &quot;tmp_slot_slot_id&quot;: 0,\n  &quot;is_book_load&quot;: 1,\n  &quot;time_slots&quot;: &#x5B;],\n  &quot;start_hours&quot;: &quot;&quot;,\n  &quot;end_hours&quot;: &quot;&quot;,\n}\n<\/pre><\/div>\n\n\n<p>Response:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;status&quot;: &quot;success&quot;,\n  &quot;time_slots&quot;: &#x5B;\n    {\n      &quot;slot_id&quot;: &quot;168&quot;,\n      &quot;status&quot;: &quot;available&quot;,\n      &quot;text&quot;: &quot;14:00 100 Available&quot;,\n      &quot;hours_start&quot;: &quot;14:00&quot;,\n      &quot;hours_end&quot;: &quot;15:00&quot;,\n      &quot;qty&quot;: 100\n    },\n    {\n      &quot;slot_id&quot;: &quot;169&quot;,\n      &quot;status&quot;: &quot;available&quot;,\n      &quot;text&quot;: &quot;15:00 100 Available&quot;,\n      &quot;hours_start&quot;: &quot;15:00&quot;,\n      &quot;hours_end&quot;: &quot;16:00&quot;,\n      &quot;qty&quot;: 100\n    },\n    {\n      &quot;slot_id&quot;: &quot;170&quot;,\n      &quot;status&quot;: &quot;available&quot;,\n      &quot;text&quot;: &quot;16:00 100 Available&quot;,\n      &quot;hours_start&quot;: &quot;16:00&quot;,\n      &quot;hours_end&quot;: &quot;17:00&quot;,\n      &quot;qty&quot;: 100\n    },\n    {\n      &quot;slot_id&quot;: &quot;171&quot;,\n      &quot;status&quot;: &quot;available&quot;,\n      &quot;text&quot;: &quot;17:00 100 Available&quot;,\n      &quot;hours_start&quot;: &quot;17:00&quot;,\n      &quot;hours_end&quot;: &quot;18:00&quot;,\n      &quot;qty&quot;: 100\n    },\n    {\n      &quot;slot_id&quot;: &quot;172&quot;,\n      &quot;status&quot;: &quot;available&quot;,\n      &quot;text&quot;: &quot;18:00 100 Available&quot;,\n      &quot;hours_start&quot;: &quot;18:00&quot;,\n      &quot;hours_end&quot;: &quot;19:00&quot;,\n      &quot;qty&quot;: 100\n    },\n    {\n      &quot;slot_id&quot;: &quot;173&quot;,\n      &quot;status&quot;: &quot;available&quot;,\n      &quot;text&quot;: &quot;19:00 100 Available&quot;,\n      &quot;hours_start&quot;: &quot;19:00&quot;,\n      &quot;hours_end&quot;: &quot;20:00&quot;,\n      &quot;qty&quot;: 100\n    },\n    {\n      &quot;slot_id&quot;: &quot;174&quot;,\n      &quot;status&quot;: &quot;available&quot;,\n      &quot;text&quot;: &quot;20:00 100 Available&quot;,\n      &quot;hours_start&quot;: &quot;20:00&quot;,\n      &quot;hours_end&quot;: &quot;21:00&quot;,\n      &quot;qty&quot;: 100\n    }\n  ]\n}\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">5. Get Hour Price<\/h4>\n\n\n\n<p>Url: <strong>V1\/bookingonline\/booktimeslot<\/strong><\/p>\n\n\n\n<p>Method: POST<\/p>\n\n\n\n<p>Param:&nbsp;<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n'cartItem':  {\n'sku': product_sku,\n'qty': qty,\n'quote_id'=&gt;quoteId\n},\nmobi_booking_params: {\n\n}\n}\n<\/pre><\/div>\n\n\n<p>Response:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n'status'=&gt;'success',\n'message'=&gt;'you have add product to cart success'\n}\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">6. Get List Rooms<\/h4>\n\n\n\n<p>Url: <strong>V1\/bookingonline\/listrooms<\/strong><\/p>\n\n\n\n<p>Method: POST<\/p>\n\n\n\n<p>Param:&nbsp;<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;hotel_id&quot;: 12,\n  &quot;product&quot;: 12,\n  &quot;book_product_id&quot;: 12,\n  &quot;book_type&quot;: &quot;hotel&quot;,\n  &quot;long_format_date&quot;: &quot;DD\/MM\/YYYY&quot;,\n  &quot;book_sale_id&quot;: 0,\n  &quot;book_date&quot;: &quot;&quot;,\n  &quot;start_date&quot;: &quot;18\/01\/2021&quot;,\n  &quot;end_date&quot;: &quot;21\/01\/2021&quot;,\n  &quot;qty&quot;: 1,\n  &quot;room_id&quot;: &quot;0&quot;\n}\n<\/pre><\/div>\n\n\n<p>Response:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;status&quot;: &quot;success&quot;,\n  &quot;message&quot;: &quot;get room success&quot;,\n  &quot;list_rooms&quot;: &#x5B;\n    {\n      &quot;room&quot;: {\n        &quot;room_id&quot;: &quot;1&quot;,\n        &quot;status&quot;: &quot;1&quot;,\n        &quot;room_type&quot;: &quot;Meting&quot;,\n        &quot;max_adults&quot;: &quot;200&quot;,\n        &quot;max_children&quot;: &quot;80&quot;,\n        &quot;position&quot;: &quot;0&quot;,\n        &quot;hotel_id&quot;: &quot;12&quot;,\n        &quot;minimum_day&quot;: &quot;0&quot;,\n        &quot;maximum_day&quot;: &quot;0&quot;,\n        &quot;description&quot;: &quot;200 Adult, 80 Children&quot;,\n        &quot;created_at&quot;: &quot;0000-00-00 00:00:00&quot;,\n        &quot;updated_at&quot;: &quot;0000-00-00 00:00:00&quot;,\n        &quot;max_infant&quot;: &quot;0&quot;\n      },\n      &quot;price_detail&quot;: {\n        &quot;status&quot;: &quot;success&quot;,\n        &quot;message&quot;: &quot;Item is available , you can see detail bellow: &quot;,\n        &quot;price&quot;: 1200,\n        &quot;promo&quot;: 800,\n        &quot;save_money&quot;: 400,\n        &quot;save_percent&quot;: 33,\n        &quot;child_price&quot;: 0,\n        &quot;infant_price&quot;: 0,\n        &quot;child_promo&quot;: 0,\n        &quot;infant_promo&quot;: 0,\n        &quot;total_price&quot;: 1200,\n        &quot;start_date&quot;: &quot;2021-01-18&quot;,\n        &quot;end_date&quot;: &quot;2021-01-21&quot;,\n        &quot;total_days&quot;: 4,\n        &quot;book_version&quot;: 1,\n        &quot;select_options&quot;: 0,\n        &quot;total_promo&quot;: 800\n      }\n    },\n    {\n      &quot;room&quot;: {\n        &quot;room_id&quot;: &quot;2&quot;,\n        &quot;status&quot;: &quot;1&quot;,\n        &quot;room_type&quot;: &quot;Family&quot;,\n        &quot;max_adults&quot;: &quot;2&quot;,\n        &quot;max_children&quot;: &quot;2&quot;,\n        &quot;position&quot;: &quot;0&quot;,\n        &quot;hotel_id&quot;: &quot;12&quot;,\n        &quot;minimum_day&quot;: &quot;0&quot;,\n        &quot;maximum_day&quot;: &quot;0&quot;,\n        &quot;description&quot;: &quot;2 Adults, 2 Children, 2 infant&quot;,\n        &quot;created_at&quot;: &quot;0000-00-00 00:00:00&quot;,\n        &quot;updated_at&quot;: &quot;0000-00-00 00:00:00&quot;,\n        &quot;max_infant&quot;: &quot;2&quot;\n      },\n      &quot;price_detail&quot;: {\n        &quot;status&quot;: &quot;success&quot;,\n        &quot;message&quot;: &quot;Item is available , you can see detail bellow: &quot;,\n        &quot;price&quot;: 400,\n        &quot;promo&quot;: 0,\n        &quot;save_money&quot;: 0,\n        &quot;save_percent&quot;: 0,\n        &quot;child_price&quot;: 0,\n        &quot;infant_price&quot;: 0,\n        &quot;child_promo&quot;: 0,\n        &quot;infant_promo&quot;: 0,\n        &quot;total_price&quot;: 400,\n        &quot;start_date&quot;: &quot;2021-01-18&quot;,\n        &quot;end_date&quot;: &quot;2021-01-21&quot;,\n        &quot;total_days&quot;: 4,\n        &quot;book_version&quot;: 1,\n        &quot;select_options&quot;: 0,\n        &quot;total_promo&quot;: 0\n      }\n    }\n  ]\n}\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">7. Get List Room Price<\/h4>\n\n\n\n<p>Url: <strong>V1\/bookingonline\/listrooms<\/strong><\/p>\n\n\n\n<p>Method: POST<\/p>\n\n\n\n<p>Param:&nbsp;<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;hotel_id&quot;: 12,\n  &quot;product&quot;: 12,\n  &quot;book_product_id&quot;: 12,\n  &quot;book_type&quot;: &quot;hotel&quot;,\n  &quot;long_format_date&quot;: &quot;DD\/MM\/YYYY&quot;,\n  &quot;book_sale_id&quot;: 0,\n  &quot;book_date&quot;: &quot;&quot;,\n  &quot;start_date&quot;: &quot;18\/01\/2021&quot;,\n  &quot;end_date&quot;: &quot;21\/01\/2021&quot;,\n  &quot;qty&quot;: 1,\n  &quot;room_id&quot;: &quot;1&quot;\n}\n<\/pre><\/div>\n\n\n<p>Response:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;status&quot;: &quot;success&quot;,\n  &quot;message&quot;: &quot;check price success&quot;,\n  &quot;price_detail&quot;: {\n    &quot;status&quot;: &quot;success&quot;,\n    &quot;message&quot;: &quot;Item is available , you can see detail bellow: &quot;,\n    &quot;price&quot;: 1200,\n    &quot;promo&quot;: 800,\n    &quot;save_money&quot;: 400,\n    &quot;save_percent&quot;: 33,\n    &quot;child_price&quot;: 0,\n    &quot;infant_price&quot;: 0,\n    &quot;child_promo&quot;: 0,\n    &quot;infant_promo&quot;: 0,\n    &quot;total_price&quot;: 1200,\n    &quot;start_date&quot;: &quot;18\/01\/2021&quot;,\n    &quot;end_date&quot;: &quot;21\/01\/2021&quot;,\n    &quot;total_days&quot;: 4,\n    &quot;book_version&quot;: 1,\n    &quot;select_options&quot;: 0,\n    &quot;total_promo&quot;: 800\n  }\n}\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">8. Add Booking Product to Cart<\/h4>\n\n\n\n<p>Url: <strong>V1\/carts\/mine\/items<\/strong><\/p>\n\n\n\n<p>Method: POST<\/p>\n\n\n\n<p>Param:&nbsp;<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;cartItem&quot;: {\n    &quot;sku&quot;: 12,\n    &quot;qty&quot;: 12,\n    &quot;quote_id&quot;: 12,\n  },\n   &quot;mobi_booking_params&quot;: {\n  }\n}\n<\/pre><\/div>\n\n\n<p>Response:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;status&quot;: &quot;success&quot;,\n  &quot;message&quot;: &quot;You have added product to cart success&quot;,\n  &quot;item_id&quot;: 214\n}\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">9. Add Booking Product Data<\/h4>\n\n\n\n<p>Url: <strong>V1\/products\/sku<\/strong><\/p>\n\n\n\n<p>Method: GET<\/p>\n\n\n\n<p>Response:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;product&quot;: {\n    &quot;id&quot;: 12,\n    &quot;sku&quot;: &quot;Concordo Hotel New York&quot;,\n    &quot;name&quot;: &quot;Concordo Hotel New York&quot;,\n    &quot;attribute_set_id&quot;: 4,\n    &quot;price&quot;: 100,\n    &quot;status&quot;: 1,\n    &quot;visibility&quot;: 4,\n    &quot;type_id&quot;: &quot;bookingonline&quot;,\n    &quot;created_at&quot;: &quot;2020-12-18 00:23:21&quot;,\n    &quot;updated_at&quot;: &quot;2020-12-30 07:41:04&quot;,\n    &quot;extension_attributes&quot;: {\n      &quot;website_ids&quot;: &#x5B;\n        1\n      ],\n      &quot;category_links&quot;: &#x5B;\n        {\n          &quot;position&quot;: 0,\n          &quot;category_id&quot;: &quot;2&quot;\n        },\n        {\n          &quot;position&quot;: 0,\n          &quot;category_id&quot;: &quot;6&quot;\n        }\n      ],\n      &quot;mobi_booking_data&quot;: &#x5B;\n        &quot;{\\&quot;book_id\\&quot;:\\&quot;31\\&quot;,\\&quot;book_type\\&quot;:\\&quot;hotel\\&quot;,\\&quot;book_product_id\\&quot;:\\&quot;12\\&quot;,\\&quot;min_days\\&quot;:\\&quot;0\\&quot;,\\&quot;min_hours\\&quot;:\\&quot;0\\&quot;,\\&quot;amount_hours\\&quot;:\\&quot;0\\&quot;,\\&quot;start_time\\&quot;:null,\\&quot;end_time\\&quot;:null,\\&quot;show_end_time\\&quot;:\\&quot;2\\&quot;,\\&quot;show_qty\\&quot;:\\&quot;2\\&quot;,\\&quot;tour_type\\&quot;:\\&quot;1\\&quot;,\\&quot;tour_default_day\\&quot;:\\&quot;0\\&quot;,\\&quot;max_adult\\&quot;:\\&quot;0\\&quot;,\\&quot;max_child\\&quot;:\\&quot;0\\&quot;,\\&quot;max_infant\\&quot;:\\&quot;0\\&quot;,\\&quot;store_id\\&quot;:\\&quot;0\\&quot;,\\&quot;book_version\\&quot;:\\&quot;0\\&quot;,\\&quot;is_default\\&quot;:\\&quot;1\\&quot;,\\&quot;disable_days\\&quot;:null,\\&quot;book_phone\\&quot;:\\&quot;+120023232\\&quot;,\\&quot;book_email\\&quot;:\\&quot;info@magetop.com\\&quot;,\\&quot;book_city\\&quot;:\\&quot;New York\\&quot;,\\&quot;book_zip_code\\&quot;:\\&quot;07039\\&quot;,\\&quot;book_country\\&quot;:\\&quot;US\\&quot;,\\&quot;book_state\\&quot;:\\&quot;New Jersey\\&quot;,\\&quot;book_state_id\\&quot;:\\&quot;41\\&quot;,\\&quot;book_address\\&quot;:\\&quot;290 W Mt Pleasant Ave, Livingston\\&quot;,\\&quot;book_lat\\&quot;:\\&quot;37.33496283053613\\&quot;,\\&quot;book_lng\\&quot;:\\&quot;-122.01346009748384\\&quot;,\\&quot;book_address_auto\\&quot;:\\&quot;1 Apple Park Way, Cupertino, CA, USA\\&quot;,\\&quot;created_at\\&quot;:\\&quot;0000-00-00 00:00:00\\&quot;,\\&quot;updated_at\\&quot;:\\&quot;0000-00-00 00:00:00\\&quot;,\\&quot;group_ids\\&quot;:null,\\&quot;is_ticket\\&quot;:\\&quot;2\\&quot;,\\&quot;book_gate\\&quot;:null}&quot;\n      ]\n    },\n    &quot;product_links&quot;: &#x5B;],\n    &quot;options&quot;: &#x5B;],\n    &quot;media_gallery_entries&quot;: &#x5B;\n      {\n        &quot;id&quot;: 15,\n        &quot;media_type&quot;: &quot;image&quot;,\n        &quot;label&quot;: null,\n        &quot;position&quot;: 3,\n        &quot;disabled&quot;: false,\n        &quot;types&quot;: &#x5B;\n          &quot;image&quot;,\n          &quot;small_image&quot;,\n          &quot;thumbnail&quot;\n        ],\n        &quot;file&quot;: &quot;\/c\/o\/concorde-hotel-new-york_1_1_.jpg&quot;\n      },\n      {\n        &quot;id&quot;: 16,\n        &quot;media_type&quot;: &quot;image&quot;,\n        &quot;label&quot;: null,\n        &quot;position&quot;: 4,\n        &quot;disabled&quot;: false,\n        &quot;types&quot;: &#x5B;],\n        &quot;file&quot;: &quot;\/c\/o\/concorde-hotel-new-york_1__1_1_.jpg&quot;\n      }\n    ],\n    &quot;tier_prices&quot;: &#x5B;],\n    &quot;custom_attributes&quot;: &#x5B;\n      {\n        &quot;attribute_code&quot;: &quot;thumbnail&quot;,\n        &quot;value&quot;: &quot;https:\/\/stage.maiuoc.com\/bookingapp\/pub\/media\/catalog\/product\/cache\/c6179f3238023d15485a08b819dffda5\/c\/o\/concorde-hotel-new-york_1_1_.jpg&quot;\n      },\n      {\n        &quot;attribute_code&quot;: &quot;image&quot;,\n        &quot;value&quot;: &quot;\/c\/o\/concorde-hotel-new-york_1_1_.jpg&quot;\n      },\n      {\n        &quot;attribute_code&quot;: &quot;small_image&quot;,\n        &quot;value&quot;: &quot;\/c\/o\/concorde-hotel-new-york_1_1_.jpg&quot;\n      },\n      {\n        &quot;attribute_code&quot;: &quot;options_container&quot;,\n        &quot;value&quot;: &quot;container2&quot;\n      },\n      {\n        &quot;attribute_code&quot;: &quot;url_key&quot;,\n        &quot;value&quot;: &quot;new-york-hotel&quot;\n      },\n      {\n        &quot;attribute_code&quot;: &quot;gift_message_available&quot;,\n        &quot;value&quot;: &quot;2&quot;\n      },\n      {\n        &quot;attribute_code&quot;: &quot;required_options&quot;,\n        &quot;value&quot;: &quot;0&quot;\n      },\n      {\n        &quot;attribute_code&quot;: &quot;has_options&quot;,\n        &quot;value&quot;: &quot;0&quot;\n      },\n      {\n        &quot;attribute_code&quot;: &quot;meta_title&quot;,\n        &quot;value&quot;: &quot;new york hotel&quot;\n      },\n      {\n        &quot;attribute_code&quot;: &quot;meta_keyword&quot;,\n        &quot;value&quot;: &quot;new york hotel&quot;\n      },\n      {\n        &quot;attribute_code&quot;: &quot;meta_description&quot;,\n        &quot;value&quot;: &quot;new york hotel &quot;\n      },\n      {\n        &quot;attribute_code&quot;: &quot;tax_class_id&quot;,\n        &quot;value&quot;: &quot;2&quot;\n      },\n      {\n        &quot;attribute_code&quot;: &quot;category_ids&quot;,\n        &quot;value&quot;: &#x5B;\n          &quot;2&quot;,\n          &quot;6&quot;\n        ]\n      }\n    ]\n  }\n}\n<\/pre><\/div>\n\n\n<p>This is the end of the <strong>Magetop Booking Extension REST API<\/strong>.<\/p>\n\n\n\n<p>Follow us for the more helpful posts!<\/p>\n\n\n\n<p>We hope this is a useful post for you.<\/p>\n\n\n\n<p>Thank you for reading!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Magetop Booking Extension is fully integrated with the Magento REST API. This allows Bookings data to be read using requests in JSON format and using Magento REST API Authentication methods and standard HTTP verbs which are understood by most HTTP clients.<\/p>\n","protected":false},"author":126,"featured_media":4596,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[979,980,981],"class_list":["post-4043","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento-2-knowledge-base","tag-magetop-booking-extension","tag-magetop-booking-extension-rest-api","tag-rest-api"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Magetop Booking Extension REST API - Magetop Blog<\/title>\n<meta name=\"description\" content=\"Magetop Booking Extension is fully integrated with the Magento REST API. This allows Booking data to be read using requests in JSON format...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magetop Booking Extension REST API - Magetop Blog\" \/>\n<meta property=\"og:description\" content=\"Magetop Booking Extension is fully integrated with the Magento REST API. This allows Booking data to be read using requests in JSON format...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Magetop Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MagetopStore\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-06T02:37:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-30T03:33:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/Magetop-Booking-Extension-REST-API.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"445\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Mai Uoc\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@MagetopStore\" \/>\n<meta name=\"twitter:site\" content=\"@MagetopStore\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mai Uoc\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/\"},\"author\":{\"name\":\"Mai Uoc\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b48bdaaebb1ad6e47c3d3f8b0f3ff2ae\"},\"headline\":\"Magetop Booking Extension REST API\",\"datePublished\":\"2021-01-06T02:37:53+00:00\",\"dateModified\":\"2024-07-30T03:33:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/\"},\"wordCount\":194,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/Magetop-Booking-Extension-REST-API.jpg?fit=750%2C445&ssl=1\",\"keywords\":[\"Magetop Booking Extension\",\"Magetop Booking Extension REST API\",\"REST API\"],\"articleSection\":[\"Magento 2 Knowledge Base\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/\",\"url\":\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/\",\"name\":\"Magetop Booking Extension REST API - Magetop Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/Magetop-Booking-Extension-REST-API.jpg?fit=750%2C445&ssl=1\",\"datePublished\":\"2021-01-06T02:37:53+00:00\",\"dateModified\":\"2024-07-30T03:33:57+00:00\",\"description\":\"Magetop Booking Extension is fully integrated with the Magento REST API. This allows Booking data to be read using requests in JSON format...\",\"breadcrumb\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/Magetop-Booking-Extension-REST-API.jpg?fit=750%2C445&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/Magetop-Booking-Extension-REST-API.jpg?fit=750%2C445&ssl=1\",\"width\":750,\"height\":445,\"caption\":\"Magetop Booking Extension REST API\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.magetop.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Magetop Booking Extension REST API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\",\"url\":\"https:\/\/www.magetop.com\/blog\/\",\"name\":\"Magetop Blog\",\"description\":\"Exploring Magento Tips, Tricks, and Trends\",\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.magetop.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\",\"name\":\"Magetop.com\",\"url\":\"https:\/\/www.magetop.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1\",\"width\":475,\"height\":475,\"caption\":\"Magetop.com\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/MagetopStore\",\"https:\/\/x.com\/MagetopStore\",\"https:\/\/www.linkedin.com\/company\/magetop\",\"https:\/\/www.pinterest.com\/magetop\",\"https:\/\/www.youtube.com\/channel\/UCXoiJsz88OfPmwa8QpUkwOA\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b48bdaaebb1ad6e47c3d3f8b0f3ff2ae\",\"name\":\"Mai Uoc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/94a5a8983b8590673ed609ba7ea5e2aa8481e27c8c53c3731138833155b0f107?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/94a5a8983b8590673ed609ba7ea5e2aa8481e27c8c53c3731138833155b0f107?s=96&d=mm&r=g\",\"caption\":\"Mai Uoc\"},\"description\":\"CTO and Founder of Magetop, Magento Full-Stack Developer, Leader of Booking Team, Product Designer Team &amp; Mobile App Team with over 8 years experience of working with Magento and clients all over the world.\",\"sameAs\":[\"https:\/\/www.magetop.com\"],\"url\":\"https:\/\/www.magetop.com\/blog\/author\/maiuoc\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Magetop Booking Extension REST API - Magetop Blog","description":"Magetop Booking Extension is fully integrated with the Magento REST API. This allows Booking data to be read using requests in JSON format...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/","og_locale":"en_US","og_type":"article","og_title":"Magetop Booking Extension REST API - Magetop Blog","og_description":"Magetop Booking Extension is fully integrated with the Magento REST API. This allows Booking data to be read using requests in JSON format...","og_url":"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/","og_site_name":"Magetop Blog","article_publisher":"https:\/\/www.facebook.com\/MagetopStore","article_published_time":"2021-01-06T02:37:53+00:00","article_modified_time":"2024-07-30T03:33:57+00:00","og_image":[{"width":750,"height":445,"url":"https:\/\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/Magetop-Booking-Extension-REST-API.jpg","type":"image\/jpeg"}],"author":"Mai Uoc","twitter_card":"summary_large_image","twitter_creator":"@MagetopStore","twitter_site":"@MagetopStore","twitter_misc":{"Written by":"Mai Uoc","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#article","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/"},"author":{"name":"Mai Uoc","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b48bdaaebb1ad6e47c3d3f8b0f3ff2ae"},"headline":"Magetop Booking Extension REST API","datePublished":"2021-01-06T02:37:53+00:00","dateModified":"2024-07-30T03:33:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/"},"wordCount":194,"commentCount":0,"publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/Magetop-Booking-Extension-REST-API.jpg?fit=750%2C445&ssl=1","keywords":["Magetop Booking Extension","Magetop Booking Extension REST API","REST API"],"articleSection":["Magento 2 Knowledge Base"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/","url":"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/","name":"Magetop Booking Extension REST API - Magetop Blog","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#primaryimage"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/Magetop-Booking-Extension-REST-API.jpg?fit=750%2C445&ssl=1","datePublished":"2021-01-06T02:37:53+00:00","dateModified":"2024-07-30T03:33:57+00:00","description":"Magetop Booking Extension is fully integrated with the Magento REST API. This allows Booking data to be read using requests in JSON format...","breadcrumb":{"@id":"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#primaryimage","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/Magetop-Booking-Extension-REST-API.jpg?fit=750%2C445&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/Magetop-Booking-Extension-REST-API.jpg?fit=750%2C445&ssl=1","width":750,"height":445,"caption":"Magetop Booking Extension REST API"},{"@type":"BreadcrumbList","@id":"https:\/\/www.magetop.com\/blog\/magento-2-booking-extension-rest-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.magetop.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Magetop Booking Extension REST API"}]},{"@type":"WebSite","@id":"https:\/\/www.magetop.com\/blog\/#website","url":"https:\/\/www.magetop.com\/blog\/","name":"Magetop Blog","description":"Exploring Magento Tips, Tricks, and Trends","publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.magetop.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.magetop.com\/blog\/#organization","name":"Magetop.com","url":"https:\/\/www.magetop.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1","width":475,"height":475,"caption":"Magetop.com"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/MagetopStore","https:\/\/x.com\/MagetopStore","https:\/\/www.linkedin.com\/company\/magetop","https:\/\/www.pinterest.com\/magetop","https:\/\/www.youtube.com\/channel\/UCXoiJsz88OfPmwa8QpUkwOA"]},{"@type":"Person","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b48bdaaebb1ad6e47c3d3f8b0f3ff2ae","name":"Mai Uoc","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/94a5a8983b8590673ed609ba7ea5e2aa8481e27c8c53c3731138833155b0f107?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/94a5a8983b8590673ed609ba7ea5e2aa8481e27c8c53c3731138833155b0f107?s=96&d=mm&r=g","caption":"Mai Uoc"},"description":"CTO and Founder of Magetop, Magento Full-Stack Developer, Leader of Booking Team, Product Designer Team &amp; Mobile App Team with over 8 years experience of working with Magento and clients all over the world.","sameAs":["https:\/\/www.magetop.com"],"url":"https:\/\/www.magetop.com\/blog\/author\/maiuoc\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/01\/Magetop-Booking-Extension-REST-API.jpg?fit=750%2C445&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/paOdw5-13d","jetpack-related-posts":[{"id":8335,"url":"https:\/\/www.magetop.com\/blog\/benefits-of-using-the-magento-rest-and-soap-apis\/","url_meta":{"origin":4043,"position":0},"title":"Benefits of Using the Magento REST and SOAP APIs for Integration and Customization","author":"Callula Huy","date":"March 10, 2023","format":false,"excerpt":"In this blog post, we will take a closer look at Magento's REST and SOAP APIs and explore the benefits and possibilities they provide for integration and customization.","rel":"","context":"In &quot;Magento 2 Knowledge Base&quot;","block_context":{"text":"Magento 2 Knowledge Base","link":"https:\/\/www.magetop.com\/blog\/magento-2-knowledge-base\/"},"img":{"alt_text":"Benefits of Using the Magento REST and SOAP APIs for Integration and Customization","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2023\/03\/Benefits-of-Using-the-Magento-REST-and-SOAP-APIs-for-Integration-and-Customization.png?fit=800%2C533&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2023\/03\/Benefits-of-Using-the-Magento-REST-and-SOAP-APIs-for-Integration-and-Customization.png?fit=800%2C533&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2023\/03\/Benefits-of-Using-the-Magento-REST-and-SOAP-APIs-for-Integration-and-Customization.png?fit=800%2C533&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2023\/03\/Benefits-of-Using-the-Magento-REST-and-SOAP-APIs-for-Integration-and-Customization.png?fit=800%2C533&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":11042,"url":"https:\/\/www.magetop.com\/blog\/magento-2-api-guide-when-to-use-rest-or-soap\/","url_meta":{"origin":4043,"position":1},"title":"Magento 2 API Guide: When to Use REST or SOAP","author":"Aaron LX","date":"January 8, 2026","format":false,"excerpt":"Magento 2 API is a core component of modern Magento development, enabling integrations with third-party systems, mobile apps, ERPs, and custom services. Understanding when to use REST or SOAP APIs is essential for building scalable and maintainable Magento solutions. What Is Magento 2 API? Magento 2 provides a powerful API\u2026","rel":"","context":"In &quot;Magento 2 Knowledge Base&quot;","block_context":{"text":"Magento 2 Knowledge Base","link":"https:\/\/www.magetop.com\/blog\/magento-2-knowledge-base\/"},"img":{"alt_text":"Magento 2 API Guide When to Use REST or SOAP","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/01\/Magento-2-API-Guide-When-to-Use-REST-or-SOAP.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/01\/Magento-2-API-Guide-When-to-Use-REST-or-SOAP.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/01\/Magento-2-API-Guide-When-to-Use-REST-or-SOAP.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/01\/Magento-2-API-Guide-When-to-Use-REST-or-SOAP.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2026\/01\/Magento-2-API-Guide-When-to-Use-REST-or-SOAP.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":10868,"url":"https:\/\/www.magetop.com\/blog\/how-to-build-a-headless-magento-2-storefront-using-graphql-step-by-step-guide\/","url_meta":{"origin":4043,"position":2},"title":"How To Build A Headless Magento 2 Storefront Using GraphQL (Step-by-Step Guide)","author":"Aaron LX","date":"November 11, 2025","format":false,"excerpt":"Headless commerce is rapidly reshaping the Magento ecosystem. With the growing adoption of GraphQL, developers can now build fast, flexible, and decoupled storefronts that enhance performance and scalability.In this guide, we\u2019ll explore how to build a headless Magento 2 storefront using GraphQL, from enabling the API to integrating it with\u2026","rel":"","context":"In &quot;Magento 2 Knowledge Base&quot;","block_context":{"text":"Magento 2 Knowledge Base","link":"https:\/\/www.magetop.com\/blog\/magento-2-knowledge-base\/"},"img":{"alt_text":"Build A Headless Magento 2 Storefront With GraphQL","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/Headless-Magento-2-GraphQL.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/Headless-Magento-2-GraphQL.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/Headless-Magento-2-GraphQL.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/Headless-Magento-2-GraphQL.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/Headless-Magento-2-GraphQL.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":10860,"url":"https:\/\/www.magetop.com\/blog\/magento-2-graphql-vs-rest-api-which-one-should-you-use-in-2025\/","url_meta":{"origin":4043,"position":3},"title":"Magento 2 GraphQL vs REST API: Which One Should You Use in 2025?","author":"Aaron LX","date":"November 5, 2025","format":false,"excerpt":"Choosing between Magento 2 GraphQL vs REST API is one of the most important decisions for modern Magento developers. As Magento 2 moves further into the headless era, understanding how GraphQL and REST differ can help you optimize store performance, scalability, and integration workflows in 2025. What Is REST API\u2026","rel":"","context":"In &quot;Magento 2 Knowledge Base&quot;","block_context":{"text":"Magento 2 Knowledge Base","link":"https:\/\/www.magetop.com\/blog\/magento-2-knowledge-base\/"},"img":{"alt_text":"Magento 2 GraphQL vs REST API Which One Should You Use in 2025","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/Magento-2-GraphQL-vs-REST-API-Which-One-Should-You-Use-in-2025.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/Magento-2-GraphQL-vs-REST-API-Which-One-Should-You-Use-in-2025.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/Magento-2-GraphQL-vs-REST-API-Which-One-Should-You-Use-in-2025.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/Magento-2-GraphQL-vs-REST-API-Which-One-Should-You-Use-in-2025.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/Magento-2-GraphQL-vs-REST-API-Which-One-Should-You-Use-in-2025.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":10840,"url":"https:\/\/www.magetop.com\/blog\/trends-in-headless-magento-2-graphql-usage-in-2025-2026\/","url_meta":{"origin":4043,"position":4},"title":"Trends in Headless Magento 2 GraphQL Usage in 2025-2026","author":"Aaron LX","date":"October 31, 2025","format":false,"excerpt":"As headless architectures become the norm for eCommerce, the role of GraphQL in Magento 2 storefronts is growing rapidly. In 2025-2026, more merchants and developers are adopting GraphQL to power lightning-fast front-ends, better mobile experiences, and flexible omnichannel APIs. This article reviews key trends in Magento 2 GraphQL usage, explains\u2026","rel":"","context":"In &quot;Magento News&quot;","block_context":{"text":"Magento News","link":"https:\/\/www.magetop.com\/blog\/magento-news\/"},"img":{"alt_text":"Trends in Headless Magento 2 GraphQL Usage in 2025-2026","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/10\/Trends-in-Headless-Magento-2-GraphQL-Usage-in-2025-2026.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/10\/Trends-in-Headless-Magento-2-GraphQL-Usage-in-2025-2026.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/10\/Trends-in-Headless-Magento-2-GraphQL-Usage-in-2025-2026.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/10\/Trends-in-Headless-Magento-2-GraphQL-Usage-in-2025-2026.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/10\/Trends-in-Headless-Magento-2-GraphQL-Usage-in-2025-2026.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1920,"url":"https:\/\/www.magetop.com\/blog\/social-login-extension-guide\/","url_meta":{"origin":4043,"position":5},"title":"Magetop Social Login Extension Guide","author":"Adam Roger","date":"May 6, 2020","format":false,"excerpt":"Magetop Social Login Extension Guide will give you solid understanding of how to use Extension. These Magento 2 tutorials cover back-end and front-end development.","rel":"","context":"In &quot;Magento 2 Extension Guides &amp; Tech Tips&quot;","block_context":{"text":"Magento 2 Extension Guides &amp; Tech Tips","link":"https:\/\/www.magetop.com\/blog\/magento-2-extension-guides-tech-tips\/"},"img":{"alt_text":"Magetop Social Login Extension Guide","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/Magetop-Social-Login-Extension-Guide.jpg?fit=750%2C445&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/Magetop-Social-Login-Extension-Guide.jpg?fit=750%2C445&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/Magetop-Social-Login-Extension-Guide.jpg?fit=750%2C445&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/Magetop-Social-Login-Extension-Guide.jpg?fit=750%2C445&ssl=1&resize=700%2C400 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/4043","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/users\/126"}],"replies":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/comments?post=4043"}],"version-history":[{"count":19,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/4043\/revisions"}],"predecessor-version":[{"id":9232,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/4043\/revisions\/9232"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media\/4596"}],"wp:attachment":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media?parent=4043"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/categories?post=4043"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/tags?post=4043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}