Bagisto Forum

    Bagisto

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

    How can i add coupon code using api?

    Bug Report
    2
    7
    12942
    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

      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

        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

          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

            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

              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

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

                M 1 Reply Last reply Reply Quote 0
                • M
                  milan.hirapra @rahul last edited by

                  @rahul
                  Thank you so much!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post