• Welcome to KonaKart Community Forum. Please login or sign up.
 

Customer Search without using admin api

Started by jeffzzang, February 27, 2009, 07:45:57 pm

Previous topic - Next topic

jeffzzang

I have a database of existing customers and I am storing the ID of the existing customer in the custom1 field in KonaKart's Customers table. Is there any way to query on this field using only the Server API - in other words I want to check to see if a Customer exists with Custom1 = <some id value> to determine if this customer has already been inserted into the KK database. I'd prefer not to use the Admin API unless I absolutely have to.

kate

Hi,

No, that kind of functionality isn't supported in the Server API.   Actually, I don't think it's in the Admin API either in version 3.2.0.0.

However, there are techniques that you could use to extend the Server API to add this kind of functionality..  You can add your own API call that does exactly this.  See the notes, and examples, at http://www.konakart.com/docs/EngineCustomization.html#AddingANewAPICall

-- Kate