Can you tell me what will be url for api if my domain is xyz.com/
http://ci.dev/sma/api/v1/sales?reference=SALE/POS/2015/07/0001&include=items,warehouse&api-key=yourapikey I am using following url but its not working http://xyz.com/sma/api/v1/sales?reference=SALE/POS/2015/07/0001&include=items,warehouse&api-key=yourapikey
- MSAnsweredHello, Once you have enabled API featuresin system settings and genrated api key, you should be able to access the data.Yes, the url seems to be correct. You only need to replace the reference&api-keyIf still same, please share the correct url in private reply so that I can help you check. Thank you 
- PVAnsweredI have a question, if I don’t use the sale referene for this case I use customer phone number & date instead, is it possible to do that? 
- MSAnsweredProm Vongchann Hello, You can send customer_id=?with customer id orcustomer=?for customer name.Thank you 
- PVAnsweredMian Saleem I am thinking if customer could use the information on invoice to submit on a form we want to use for reward collecting. so if we can make it possible for customer to submit only : phone number & date to call the API that would be best for my case. please check my attachment for referance 
- MSAnsweredProm Vongchann Hello, There is no such option. Please feel free to modify the APIs, the code is in app/controllers/Api/folder.Thank you 
- PVAnsweredMian Saleem could you provide such a snipet of modification to use phone number & date to call API, please? 
- MSAnsweredHello, I am sorry as I don’t have snippet for such. Thank you 
- PVAnsweredMian Saleem oh sad for that 
- Login to Reply