Apply an offer code to a booking before payment. The stored price and deposit change once

post/api/v1/bookings/{reference}/coupon

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/bookings/{reference}/coupon
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Path parameters

referencestring required

Request body

codestring required
idempotency_keystring

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.