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

      society_edit_member

      POST
      /api/members/editmember/

      Edit Member Details#

      This endpoint allows the business user to edit the details of a member.

      Request Body Parameters#

      userid (text, required): Unique userid from the business user's own list.
      username (text): Unique username from the business side.
      useremail (text, required): User email.
      useraddress (text, required): User address.
      userphone (text, required): User phone.
      societyid (text, required): Society id.
      bizid (text, required): Business id.

      Response#

      The response of this request is a JSON schema with the following properties:
      status (boolean): Indicates the status of the request.
      message (string): Provides any additional message related to the request.
      Example:
      {
          "status": true,
          "message": ""
      }
      

      Request

      Authorization
      Add parameter in header
      Example:
      X-Token: ********************
      Header Params
      marchant-id
      string 
      required
      Example:
      BIZ12354124
      Body Params multipart/form-data
      userid
      string 
      required
      unique userid from business user own list (required)
      Example:
      3
      username
      string 
      required
      unique username from business side
      Example:
      abc_user
      useremail
      string 
      required
      User email (required)
      Example:
      user@gmail.com
      useraddress
      string 
      required
      User address (required)
      Example:
      flat no. 5, abc socity name, Delhi, India
      userphone
      string 
      required
      User phone (required)
      Example:
      9999999999
      societyid
      string 
      required
      Society id (required)
      Example:
      1
      bizid
      string 
      required
      business id (required)
      Example:
      1

      Request 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/members/editmember/' \
      --header 'marchant-id: BIZ12354124' \
      --form 'userid="3"' \
      --form 'username="abc_user"' \
      --form 'useremail="user@gmail.com"' \
      --form 'useraddress="flat no. 5, abc socity name, Delhi, India"' \
      --form 'userphone="9999999999"' \
      --form 'societyid="1"' \
      --form 'bizid="1"'

      Responses

      🟢200Success
      application/json
      Body
      object {0}
      Example
      {}
      Previous
      society_register_member
      Next
      remove_society_member
      Built with