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

Bagisto

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

API access - How to get started for API

General Discussion
4
8
1.5k
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.
  • C
    chetan last edited by 27 Jan 2020, 08:49

    HI, I just installed Bagisto, I want to start API use but I an unable to understand what parameter need to pass of first request
    http://localhost:8000/public/api/customer/login?
    email=cshelake7@gmail.com&password=9822809268
    http://localhost:8000/public/api/products
    http://localhost:8000/public/api/categories

    All are returning 404 in postman But I am successfully able to access Admin panel
    http://localhost:8000/admin
    please suggest me for API starting

    1 Reply Last reply Reply Quote 0
    • J
      Jyoti last edited by 27 Jan 2020, 10:56

      @chetan
      Please follow this doc- https://devdocs.bagisto.com/

      hamza7262 1 Reply Last reply 5 Oct 2022, 11:26 Reply Quote 0
      • C
        chetan last edited by chetan 27 Jan 2020, 11:04 27 Jan 2020, 11:03

        I read but didn't understood why it return 404
        http://localhost:8000/public/api/products
        can you please share sample request format

        1 Reply Last reply Reply Quote 0
        • C
          chetan last edited by 27 Jan 2020, 11:08

          How I can run webkul/ API folder API?
          please help me

          1 Reply Last reply Reply Quote 0
          • C
            chetan last edited by 27 Jan 2020, 11:26

            Hey I got it,
            Thanks for your support
            It need to access by regular PHP port with project name like
            http://localhost:81/bagisto/public/api/categories

            1 Reply Last reply Reply Quote 0
            • 3 years later
            • hamza7262
              hamza7262 last edited by 5 Oct 2022, 11:26

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • hamza7262
                hamza7262 @Jyoti last edited by 5 Oct 2022, 11:26

                @Jyoti i am using latest, version of API, and i want to make changes in API how i can do that. its located in vendor folder and i cant make changes there. what is the process of updating code for APIs ?

                1 Reply Last reply Reply Quote 0
                • sanjay-webkul
                  sanjay-webkul last edited by sanjay-webkul 7 Oct 2022, 09:17 7 Oct 2022, 08:04

                  Hi there,
                  You can create your custom package and override the Routes on your package.

                  OR

                  You can use the Bagisto API's as a package. for this first you need to remove API from composer.json file and then update the composer.

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