Validating options in API4?
APIv3 does option-matching by default. APIv4 only does option-matching if you ask it to. The way to do that is by specifying what property of the option you are passing in. Typically :name for the machine name or :label for the localized label.
Try this api call:
$ cv api4 Contact.update '{&quot;where&quot;:[[&quot;id&quot;,&quot;=&quot;,202]],&quot;values&quot;:{&quot;constituent_information.Marital_Status:label&quot;:&quot;Married&quot;}}'

Passing in an invalid option should fail.