How can i add coupon code using api?
I have install bagisto in my local machine.
I read document for api but, i can't find how add discount/coupon code in api.
I added rule using this document https://devdocs.bagisto.com/cart_rule.html.
Right now our system has no API for coupon, we will release API of coupon in next version.
While i have to create custom api for coupon code so which steps i need to follow?
Can please give idea how to create coupon code api?
First of all, you need to create a package, then route for your api & controllers.
You can go through our docs for creating package and can see our API package for refference.
Thank you for give me instant solution.
My last question is
When will you release your next version?
Probably in next month or end of this month, we will release our API of coupon.
Thank you so much!