Booking

Cancel a booking

Before it starts. A paid booking goes to REFUND_REQUESTED and NogPets refunds it. Needs confirm: true.

post/v1/bookings/{bookingId}/cancel

Request

  • Base URL: https://api.nogpets.com
  • URL: https://api.nogpets.com/v1/bookings/{bookingId}/cancel
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://api.nogpets.com/oauth/authorize, token URL https://api.nogpets.com/oauth/token, scopes: bookings:write)
    • HTTP bearer

Path parameters

bookingIdstring required

Request body

confirmboolean required

true once the person said yes to cancelling; anything else is CONFIRM_REQUIRED.

seriesboolean

Also cancel the later weeks of a repeat.

Response

Cancelled

cancelledstring[] required

The booking ids cancelled.

Changes

No recorded changes to this operation across all 1 revision of this API.