This PR updates the identify operation to use the cio_id to identify customers, if it's present. This will allow users of the client library to update customers using the existing identify call by passing in the cio_id, and whatever attributes they want. This may include the id (external ID) or email, but those would not be required.
Changing the id and email for a customer with cio_id of "f000000d" would then look like this:
This is an alternative solution to https://github.com/customerio/customerio-ruby/issues/78 . It's an alternative to the solution implemented in https://github.com/customerio/customerio-ruby/pull/102 .
This PR updates the identify operation to use the
cio_id
to identify customers, if it's present. This will allow users of the client library to update customers using the existingidentify
call by passing in thecio_id
, and whatever attributes they want. This may include theid
(external ID) oremail
, but those would not be required.Changing the
id
andemail
for a customer withcio_id
of"f000000d"
would then look like this: