0
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
0
Hello,
Once you have enabled API features
in 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-key
If still same, please share the correct url in private reply so that I can help you check.
Thank you
0
I 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?
0
Prom Vongchann Hello,
You can send customer_id=?
with customer id or customer=?
for customer name.
Thank you
0
Mian 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
0
Prom Vongchann Hello,
There is no such option. Please feel free to modify the APIs, the code is in app/controllers/Api/
folder.
Thank you
0
Mian Saleem could you provide such a snipet of modification to use phone number & date to call API, please?
0
Hello,
I am sorry as I don't have snippet for such.
Thank you
0
Mian Saleem oh sad for that
We use Cookies
We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.