Create a booking package from a package

Booking packages can be created from packages.

All package menu items associated with the package will be added to the booking package.

All line items created this way will use the guaranteed parameter value for the quantity attribute.

All package events and the package event's package menu items will be added to the booking package. All events created this way will use the parameter values for its expected, guaranteed, space_id, start_time and end_time attributes. An event will be created for each day from start_date to end_date.


  {
    "data": {
      "type": "booking_packages",
      "attributes": {
        "booking_id": 1,
        "expected": 99,
        "guaranteed": 100,
        "start_date": "2023-03-30",
        "end_date": "2023-03-30",
        "package_id": 9,
        "space_id": 1,
        "start_time": 3600,
        "end_time": 7200
      }
    }
  }


Language
Authorization
Click Try It! to start a request and see the response here!