Our endpoint is pretrained and we propose having your engineers do a minimal integration into your e-commerce platform with the support of our staff.
The Offer Optics endpoint system provides a series of access apis to make predictions and further train the model, such as by logging outcomes. The simplified combination of these APIs greatly reduces the friction of integrating into existing POS and E-commerce systems while maximizing outcomes. Only 2 calls predict and predictLog are essential for use of Offer Optics.
The API is loaded from a CDN with <script src="<cdnlocation>/offeroptics.min.js">
The primary APIs we recommend using are:
offeroptics.setApiKey(apikey)
offeroptics.predict(…)
offeroptics.predictList(…)
offeroptics.redeemLog(…)
Example call to predict a single result:
predict = offeroptics.predict(inputType, returnType, httpMethod, data);
The minimum code looks like:
predict = offeroptics.predict(data)