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_suggestion

      POST
      /api/society/suggestsociety/

      Request#

      This POST request is used to suggest a society for a business. The request should be sent to https://sangraha.codeaamytest.com/api/society/suggestsociety/.

      Request Body#

      bizid (text, required): business id.
      userid (text, required): society member userid.
      societyname (text, required): society name.
      societyaddress (text, required): society address.
      societyphone (text, optional): society phone (optional).
      cityname (text, required): city name.
      statename (text, required): state name.
      societypin (text, required): society pin.

      Response#

      Upon successful execution, the response will have a status code of 200 and a content type of application/json. The response body will be a JSON object with the following schema:
      {
          "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
      bizid
      string 
      required
      business id (required)
      Example:
      1
      userid
      string 
      required
      society meber userid (required)
      Example:
      1
      societyname
      string 
      required
      society name (required)
      Example:
      abc society
      societyaddress
      string 
      required
      society address (required)
      Example:
      abc address, delhi, india
      societyphone
      string 
      required
      society phone (optional)
      Example:
      9999999999
      cityname
      string 
      required
      city name (required)
      Example:
      Delhi
      statename
      string 
      required
      state name (required)
      Example:
      Uttar Pradesh
      societypin
      string 
      required
      society pin (required)
      Example:
      110001

      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/society/suggestsociety/' \
      --header 'marchant-id: BIZ12354124' \
      --form 'bizid="1"' \
      --form 'userid="1"' \
      --form 'societyname="abc society"' \
      --form 'societyaddress="abc address, delhi, india"' \
      --form 'societyphone="9999999999"' \
      --form 'cityname="Delhi"' \
      --form 'statename="Uttar Pradesh"' \
      --form 'societypin="110001"'

      Responses

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