{ "opencollection": "1.0.0", "info": { "name": "Affiliate Apartment Bookings API", "version": "1.1.0" }, "items": [ { "info": { "name": "Bookings", "type": "folder" }, "items": [ { "info": { "name": "Update booking details", "type": "http" }, "http": { "method": "PUT", "url": "https://external-api.holidu.com/v2/bookings", "params": [ { "name": "providerBookingId", "value": "", "type": "query" }, { "name": "provider", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update booking details" }, { "info": { "name": "Cancel a booking", "type": "http" }, "http": { "method": "POST", "url": "https://external-api.holidu.com/v2/bookings/cancel", "params": [ { "name": "provider", "value": "", "type": "query" }, { "name": "providerBookingId", "value": "", "type": "query", "description": "Provider booking id. Either this or holiduBookingId is required." }, { "name": "holiduBookingId", "value": "", "type": "query", "description": "Holidu booking id. Either this or providerBookingId is required." }, { "name": "cancellationFee", "value": "", "type": "query" }, { "name": "reason", "value": "", "type": "query" } ] }, "docs": "Cancel a booking" }, { "info": { "name": "Get booking details", "type": "http" }, "http": { "method": "GET", "url": "https://external-api.holidu.com/v2/bookings/details", "params": [ { "name": "provider", "value": "", "type": "query", "description": "Only needed for subprovider identification." }, { "name": "providerBookingId", "value": "", "type": "query", "description": "Booking id. Either this or holiduBookingId is required." }, { "name": "holiduBookingId", "value": "", "type": "query", "description": "Holidu booking id. Either this or bookingId is required." } ] }, "docs": "Get booking details" } ] } ], "bundled": true }