offerings

Delete an offering. With upcoming bookings, pass cancel_bookings: true: they're cancelled (guests emailed, online payments refunded in full) and past bookings stay on record. Returns { cancelled, refunded, refunding, refund_failed }.

delete/offerings/{id}

Request

  • Base URL: https://daybag.io/api/v1
  • URL: https://daybag.io/api/v1/offerings/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Query parameters

cancel_bookingsboolean

Required when the offering has upcoming bookings or live holds; otherwise the delete answers 409 with what it would cancel

Response

Success

cancelledinteger required

Upcoming bookings and holds cancelled

refundedinteger required

Online payments Stripe confirmed refunded in full

refundinginteger required

Refunds still on their way: Stripe hasn't confirmed them yet

refund_failedinteger required

Refunds that failed: each booking says why in refund_error

Changes

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