POST request to API

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1534465
    eric godart
    Participant

    Hello,

    I am using the API POST request to create booking in Motopress.

    The command below is working EXCEPT for the note section (in bold). The booking is created with the correct date and correct customer name. BUT there is no text display in the note frame within motopress hotel booking plugin in WP.
    Can you test it and check if it is working for you ?

    https://hbdemo.getmotopress.com/your-demo-id/wp-json/mphb/v1/bookings?status=confirmed&check_in_date=2024-06-06&check_out_date=2024-06-07&coupon_code=GREENGO&note=I+am+a+vegetarian&reserved_accommodations%5B0%5D%5Baccommodation%5D=41&reserved_accommodations%5B0%5D%5Badults%5D=2&reserved_accommodations%5B0%5D%5Bchildren%5D=0&reserved_accommodations%5B0%5D%5Bguest_name%5D=Emmanuel&reserved_accommodations%5B0%5D%5Bservices%5D%5B0%5D%5Bid%5D=0&reserved_accommodations%5B0%5D%5Bservices%5D%5B0%5D%5Badults%5D=0&reserved_accommodations%5B0%5D%5Bservices%5D%5B0%5D%5Bquantity%5D=0

    Thanks in advance…

    #1537425
    eric godart
    Participant

    Nobody is using this API ?

    Any member from the support team around here?

    #1544796
    J. Davis
    Keymaster

    We are sorry for the delay. We know about this issue and have this task on our to-do list. We will update the topic when we have any news. Thanks.

    #1555465
    Andre Flores
    Moderator

    Hello Eric,

    We’re delighted to let you know that we have just released the Hotel Booking plugin update v. 4.8.8 with the information from the Notes field being not fetched by the REST API issue fixed. Kindly update the plugin to resolve the issue.

    Best regards,
    Andre Flores

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.