sangraha
    sangraha
    • 🐶 Walk through Apidog
    • orders_data
      GET
    • login_user
      POST
    • user_registration
      POST
    • make_order
      POST
    • single_order_data
      GET
    • change_order_status
      POST
    • get_order_cart
      GET
    • get_all_societies
      GET
    • add_society_to_business
      POST
    • remove_society_from_business
      POST
    • subscription_status
      GET
    • get_indian_states
      GET
    • get_cities_by_state_id
      GET
    • get_society_member
      GET
    • get_all_society_members
      GET
    • society_register_member
      POST
    • society_edit_member
      POST
    • remove_society_member
      POST
    • society_suggestion
      POST

      login_user

      POST
      /api/auth/login/

      Request Description#

      This endpoint allows the user to log in by providing their email and password in the form-data request body.
      email: (text) User email (required)
      password: (text) User password (required)

      Response#

      The response is in the form of a JSON schema and includes the following fields:
      status: (boolean) A boolean indicating the success status of the response.
      response: (integer) An integer representing the response code.
      message: (string) A string containing any additional message.
      data: (object) An object containing user data and subscription details.
      userdata: (object) An object containing user information such as id, fullname, email, phone, address, account_type_name, account_type_num, status, roll, and authenticate status.
      subscription: (object) An object containing subscription details including access, plan, planname, planamount, orderid, hitlimit, hitused, plan_from, expire_on, and bizid.

      Request

      Authorization
      Add parameter in header
      Example:
      X-Token: ********************
      Header Params

      Body Params multipart/form-data

      Request Code Samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST '/api/auth/login/' \
      --header 'marchant-id: BIZ12354124' \
      --form 'email="ab@gmail.com"' \
      --form 'password="123456"'

      Responses

      🟢200Success
      application/json
      Body

      Example
      {}
      Modified at 2024-10-17 16:02:45
      Previous
      orders_data
      Next
      user_registration
      Built with