Hey all, I have a a couple questions concerning the Commerce API:
Has anyone had success setting a multi-select custom entity field through the 'customer.updateProfile' method? I have a custom multi-select entity field on the SC registration form. I see that the registration module utilizes this method to set custom fields on the customer lead record. I've attempted to send the data as an array and a string of comma separated values, but neither seems to do the trick.
I'm also attempting to create a new customer address via the Commerce API, which it does. I'm able to see through my script logs that the address is being created, as it provides me with an internal id. The issue is that somewhere along the line, a copy of that address is created after the initial address is created, resulting in two of the same addresses attached to the customer. Has anyone else experienced this?