Test Bookings

To make a test booking, use POST Test Booking on the Staging environment, and NOT the staging website:

curl -X POST "https://api.stg.plumguide.io/testdata/booking" \
  -H "Authorization: Bearer eyJhbGciOi..." \
  -H "Content-Type: application/json" \
  -d '{"listingId": 12345, "arrivalDate": "2026-12-01", "departureDate": "2026-12-05", "numberOfGuests": 2, "status": "Confirmed"}'
  • The endpoint only exists on Staging. On Production (api.plumguide.com) it returns 404.
  • Use a token from https://api.stg.plumguide.io/authenticate, made with your staging credentials.
  • The listing must belong to the host of the token, and it must be published. If the stay is not bookable, you get 400 with "Listing <id> is not available for the requested dates". A stay is not bookable when the listing has no availability for those dates, or when the number of nights is below the minimum stay for the arrival date.
  • status can be Requested, Confirmed, Cancelled or Declined.
  • A test booking sends the same booking webhooks as a real booking, so you can test your webhook receiver with it.

Bookings made through the staging website will not appear in the GET Booking Activities endpoint.