Skip to main content

UpdateHotelBookingStatusInput

Defines the input for updating the status of a hotel booking.

input UpdateHotelBookingStatusInput {
contactId: ID!
eventId: ID!
hotelBookingId: ID!
payingContactId: ID
paymentStatus: PaymentStatusInput!
splitChargeAmount: Float
}

Fields

UpdateHotelBookingStatusInput.contactId ● ID! non-null scalar

The identifier of the contact the hotel booking is associated with.

UpdateHotelBookingStatusInput.eventId ● ID! non-null scalar

The identifier of the event the hotel booking is associated with.

UpdateHotelBookingStatusInput.hotelBookingId ● ID! non-null scalar

The identifier of the hotel booking.

UpdateHotelBookingStatusInput.payingContactId ● ID scalar

The identifier of the contact who pays for the item or who pays for part of the charge. Optional. If specified the paying contact must be different from the contact who owns the item and the record's payment status must be CHARGE_TO_ANOTHER_CONTACT, CANCELED_CHARGE_TO_ANOTHER_CONTACT or SPLIT_CHARGE.

UpdateHotelBookingStatusInput.paymentStatus ● PaymentStatusInput! non-null enum

The new payment status for the hotel booking.

UpdateHotelBookingStatusInput.splitChargeAmount ● Float scalar

The amount that the other contact is paying when the paymentStatus is SPLIT_CHARGE. Optional.

Value is required if paymentStatus is set to SPLIT_CHARGE. Must be greater than 0.

Member Of

updateHotelBookingStatus mutation