• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

How can i add coupon code using api?

Bug Report
2
7
12.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    milan.hirapra last edited by 4 Jul 2019, 10:54

    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.

    1 Reply Last reply Reply Quote 0
    • R
      rahul last edited by admin 4 Jul 2019, 11:18 4 Jul 2019, 11:17

      Hi,

      Right now our system has no API for coupon, we will release API of coupon in next version.

      Thanks

      1 Reply Last reply Reply Quote 0
      • M
        milan.hirapra last edited by 4 Jul 2019, 12:19

        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?

        1 Reply Last reply Reply Quote 0
        • R
          rahul last edited by rahul 5 Jul 2019, 07:10 4 Jul 2019, 14:14

          Hi,

          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.

          Thanks

          1 Reply Last reply Reply Quote 0
          • M
            milan.hirapra last edited by 5 Jul 2019, 08:44

            Hi Rahul,

            Thank you for give me instant solution.

            My last question is
            When will you release your next version?

            1 Reply Last reply Reply Quote 1
            • R
              rahul last edited by rahul 6 Jul 2019, 15:06 6 Jul 2019, 15:05

              Probably in next month or end of this month, we will release our API of coupon.

              M 1 Reply Last reply 8 Jul 2019, 04:30 Reply Quote 0
              • M
                milan.hirapra @rahul last edited by 8 Jul 2019, 04:30

                @rahul
                Thank you so much!

                1 Reply Last reply Reply Quote 0
                1 out of 7
                • First post
                  1/7
                  Last post