I'm trying to edit the field mappings in a 1:N relationship. Essentially the relationship is created through an API request for a lookup field and has a single field mapped. What I'm trying to do is query the list of mapped fields and then update that with other fields if needed.
I looked at the AutoMapEntity Action and know how to edit field mappings in a relationship through the UI, but stuck doing it programmatically. Any help would be appreciated!