Skip to content

overrideBookingVehicle

Mutation

Override the vehicle of an existing booking

mutation {
overrideBookingVehicle(
organisationId: UUID!
bookingId: ID!
vehicleId: UUID
vehicle: EntityRefInput
): Void
}
ArgumentTypeDefaultDescription
organisationId*UUID!—The ID of the organisation
bookingId*ID!—The ID of the booking
vehicleIdUUID—The ID of the new vehicle for the booking
vehicleEntityRefInput—The new vehicle reference for the booking

Void (Void)

mutation OverrideBookingVehicle($organisationId: UUID!, $bookingId: ID!, $vehicleId: UUID, $vehicle: EntityRefInput) {
overrideBookingVehicle(organisationId: $organisationId, bookingId: $bookingId, vehicleId: $vehicleId, vehicle: $vehicle)
}