Is it possible to look up a customer profile using buyerInformation.MerchantCustomerID?
I can do a search but my one and only customer in test is not found (count = 0)
The docs here Filtering by Query Parameter (cybersource.com) say buyerInformation.MerchantCustomerID is a valid query term.
But is this search only for transactions? Am I still stuck with having no way to find a profile using a MerchantCustomerID?
Authorize.net docs say to try to create it and get the duplicate key error OR fetch them all and search locally ( I would rather not fetch 200k+ records to see if cyber has a profile that I don't.)
So is there still no way to search for a customer profile with the API except by using cybersource profile ID?
08-23-2024 12:06 PM
From what I can tell, people have been asking for this since 2010. It's probably not going to happen.
We're planning on storing a mapping of customer IDs to Profile IDs locally to work around this.
08-26-2024 07:03 AM
thanks, I'll assume this feature will be available soon after we have portable nuclear fusion reactors.
08-27-2024 09:11 AM
Looking back on this issue, I think our problems might be different. Mine revolves around CIM, and yours is about searching transactions.
The CIM's GetCustomerProfile route actually does let you look up profiles by merchant customer ID. I assumed the example provided with getting a profile by profile ID in the CIM documentation under was the only way to get a profile. I unfurled the request field description and I saw all of the different ways you could look up profiles.
https://developer.authorize.net/api/reference/index.html#customer-profiles-get-customer-profile
09-10-2024 10:03 AM
That link appears to refer to the Authorize.net api. I am using the cybersource client Apis (Cybersource (github.com)), which do not appear to have an equivalent. Or do the authorize.NET Api's also work for Cybersource?
And there must be a way, because their site (EBC | Token Management | Customers (cybersource.com)) will search by billTo.postalCode or merchantDefinedInformation by hitting this URL
https://ebc2test.cybersource.com/tms/v1/search?offset=0&limit=50&vaultSearch=single
with this payload:
{"namedQuery":{"name":"tokenSearch","filters":[{"field":"merchantDefinedInformation","value":"myMerchInfo"}]}}
09-10-2024 02:00 PM