How do I programatically set an Amelia Appointment status from approved to cancelled? If I set the Order status in Woocommerce via $order->update_status('cancelled') it has no effect on the Amelia appointment.
You need to change the status of Amelia appointment on the Amelia -> Appointments page manually. There isn't a possibility to cancel the order in Woo and that to automatically cancel Amelia appointment as well.
Hi,
How do I programatically set an Amelia Appointment status from approved to cancelled? If I set the Order status in Woocommerce via $order->update_status('cancelled') it has no effect on the Amelia appointment.
Thank you in advance!
Hello Marvin,
You need to change the status of Amelia appointment on the Amelia -> Appointments page manually. There isn't a possibility to cancel the order in Woo and that to automatically cancel Amelia appointment as well.