Bagisto Forum

    Bagisto

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

    help me get the correct api for addding address i have tried but the issue happening is the id has not been authenticated even after passing the bearer token in the header which i got from the login

    Bug Report
    2
    2
    59
    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.
    • A
      Ananthu Ajayan last edited by

      http://127.0.0.1:8000/api/v1/customer/addresses

      {
      "first_name":"ananthu",
      "last_name":"ajayan",
      "address":[ "hello","hello"],
      "country":"IN",
      "state":"kerala",
      "city":"tvm",
      "postcode":695584,
      "phone":8921985889,
      "email":"ananthuajayn97@gmail.com",
      }
      77c549ea-0886-46df-9626-54cbec3f2956-image.png

      1 Reply Last reply Reply Quote 0
      • Rishabh-Webkul
        Rishabh-Webkul last edited by

        Hello @Ananthu-Ajayan

        Usually this doesnt happing after adding a token at there. Is there anything that you have implemented at code end?

        Also you can check the list of endpoints here. and try to run the query here on swagger. If you find any error than let us know.

        Also, share the response of you error message.

        Shop: https://demo.bagisto.com/bagisto-api-demo-common/api/shop/documentation

        Admin: https://demo.bagisto.com/bagisto-api-demo-common/api/admin/documentation

        Warm Regards
        Team Bagisto

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