QloApps Forums
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Cannot create a booking via /bookings

    Technical Help
    2
    2
    22
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nguoi2mello last edited by

      Hey,
      Im trying to create a booking

      <?xml version="1.0" encoding="UTF-8"?>
      <qloapps xmlns:xlink="http://www.w3.org/1999/xlink">
      <booking>
      <id_property>1</id_property>

      <!-- REQUIRED -->
      <booking_status>1</booking_status>   <!-- 1=new -->
      <payment_status>3</payment_status>   <!-- 3=awaiting (nur wenn booking_status=1) -->
      
      <currency>EUR</currency>
      <source>proelectrification-andrea-disillusionedly.ngrok-free.dev</source>
      <booking_date>2026-01-08 21:28:01</booking_date>
      <id_language>1</id_language>
      
      <associations>
        <customer_detail>
          <id_customer>2</id_customer>
          <firstname>Max</firstname>
          <lastname>Mustermann</lastname>
          <email>max.mustermann@example.com</email>
          <phone>+491701234567</phone>
        </customer_detail>
      
        <remarks>
          <remark>Manuelle Bestellung - Mitarbeiter: C. Tran</remark>
        </remarks>
      
        <room_types>
          <room_type>
            <id_room_type>3</id_room_type>
            <checkin_date>2026-01-28 00:00:00</checkin_date>
            <checkout_date>2026-02-10 00:00:00</checkout_date>
            <number_of_rooms>1</number_of_rooms>
      
            <rooms>
              <room>
                <id_room>12</id_room>
                <adults>4</adults>
                <child>0</child>
              </room>
            </rooms>
          </room_type>
        </room_types>
      </associations>
      

      </booking>
      </qloapps>

      but its not working. Either I'm getting a 500 or an invalid order status

      Can someone help me please?

      A 1 Reply Last reply Reply Quote 0
      • A
        Azhar Bhat Global Moderator @nguoi2mello last edited by

        @nguoi2mello
        Hi,

        We checked the same request on our end, and everything is working fine.

        We kindly request you to confirm whether any changes have been made to the codebase from your end. This information will help us understand if the issue may be related to recent modifications.

        Additionally, please share the following QloApps Admin credentials for further investigation, so that we can review the configuration and replicate the issue if required.

        We would also appreciate it if you could provide the FTP credentials, which will allow our team to access the server files and perform a detailed code-level analysis if necessary.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post