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

Bagisto

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

[API] Can not get Get Customer’s Information using API

Bug Report
5
9
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.
  • K
    khanhlp last edited by 4 Mar 2020, 10:59

    I call API endpoint: http(s)://example.com/public/api/customer/get and get error:
    f4118cd7-0073-4557-8de6-6c127df01697-image.png
    Please help me. Thanks

    1 Reply Last reply Reply Quote 0
    • J
      Jyoti last edited by 4 Mar 2020, 11:03

      @khanhlp
      You need to be login first through api for that customer, after that you can get information of customer.

      K 1 Reply Last reply 4 Mar 2020, 11:05 Reply Quote 0
      • K
        khanhlp @Jyoti last edited by 4 Mar 2020, 11:05

        @Jyoti I logged in, but can not get information of customer.

        Y 1 Reply Last reply 19 Aug 2020, 10:05 Reply Quote 0
        • J
          Jyoti last edited by 4 Mar 2020, 11:08

          @khanhlp
          Have you passed content type in header?

          K 1 Reply Last reply 4 Mar 2020, 11:12 Reply Quote 0
          • K
            khanhlp @Jyoti last edited by 4 Mar 2020, 11:12

            @Jyoti What is the content type in header? I have passed content type as application/json

            1 Reply Last reply Reply Quote 0
            • 6 months later
            • Y
              yomnademerdash @khanhlp last edited by 19 Aug 2020, 10:05

              @khanhlp I logged in, but can not get information of customer.

              7cccf43a-df90-4268-8354-42cfbf483518-image.png

              W 1 Reply Last reply 26 Nov 2020, 02:21 Reply Quote 0
              • 8 days later
              • devansh-webkul
                devansh-webkul last edited by 27 Aug 2020, 11:48

                Hi @yomnademerdash,

                Can you share me the login api's header and body screenshot.

                1 Reply Last reply Reply Quote 0
                • 3 months later
                • W
                  William Hatanaka @yomnademerdash last edited by 26 Nov 2020, 02:21

                  Hello, @yomnademerdash
                  Did you manage to solve your problem? If so, could you tell me how you managed to solve it? I have the same problem.

                  1 Reply Last reply Reply Quote 0
                  • 8 days later
                  • devansh-webkul
                    devansh-webkul last edited by 4 Dec 2020, 09:48

                    Hi @yomnademerdash,

                    I need more information to reproduce this. As from your screenshot, it clearly says authentication is missing. Please log in and pass the latest token to fetch data from the API.

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