cancel
Showing results for 
Search instead for 
Did you mean: 

Look up a customer Profile by buyerInformation MerchantCustomerID?

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?

fdcyber
Member
4 REPLIES 4

From what I can tell, people have been asking for this since 2010. It's probably not going to happen.

https://community.developer.cybersource.com/t5/Integration-and-Testing/Searching-CIM-Profiles/m-p/30... 

We're planning on storing a mapping of customer IDs to Profile IDs locally to work around this.

ohsnaplol
Member

thanks, I'll assume this feature will be available soon after we have portable nuclear fusion reactors.

fdcyber
Member

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

ohsnaplol
Member

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"}]}}

fdcyber
Member