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
vehicleIdUUIDThe ID of the new vehicle for the booking
vehicleEntityRefInputThe 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)
}