I've never had to put down a deposit for a new car order in CA but I'm pretty sure a deposit on a new car is fully refundable and the order can be cancelled at any time by the customer prior to signing and taking delivery according to California Vehicle Code 11736. Anyway, the link below seems self explanatory if I'm reading it correctly...
https://codes.findlaw.com/ca/vehicle...ect-11736.html