Skip to main content

Update a booking adjustments

PATCH 

/v1/bookings/:bookId/adjustments

Update a booking adjustments

Supported roles

  • Fleet manager

Request

Path Parameters

    bookId stringrequired

    ID of booking

Body

required
    bookId string
    payable number
    customerAdjustments object[]
  • Array [
  • reason string
    amount number
  • ]
  • supplierAdjustments object[]
  • Array [
  • reason string
    amount number
  • ]
  • onlyNewAdjustments boolean

    Controls how adjustments are handled when updating a booking: - If true, new adjustments will be added to existing adjustments - If false, all current adjustments will be replaced by the request adjustments

Responses

Successful operation

Schema
    bookId string
    totalFare number
    paidAmount number
    amountDue number
    paymentStatus string

    Possible values: [paid, pending, partial]

    customerAdjustments object[]
  • Array [
  • reason string
    amount number
  • ]
  • supplierAdjustments object[]
  • Array [
  • reason string
    amount number
  • ]
Loading...