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

      add_society_to_business

      POST
      /api/society/addsociety

      Add Society#

      POST /api/society/addsociety#

      endpoint is used to add a new society.

      Request Body#

      societyid (text, required): society id (required)
      bizid (text, required): business id (required)

      Response#

      The response is in JSON format and has the following schema:
      {
          "type": "object",
          "properties": {
              "status": {
                  "type": "boolean"
              },
              "message": {
                  "type": "string"
              },
              "data": {
                  "type": "string"
              }
          }
      }
      
      societyid (text, required): society id (required)
      bizid (text, required): business id (required)
      This endpoint is used to add a new society.

      Response#

      The response is in JSON format and has the following schema:
      {
          "status": {
              "type": "boolean"
          },
          "message": {
              "type": "string"
          },
          "data": {
              "type": "string"
          }
      }
      

      Request

      Authorization
      Add parameter in header
      Example:
      X-Token: ********************
      Header Params
      marchant-id
      string 
      required
      Example:
      BIZ12354124
      Body Params multipart/form-data
      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/society/addsociety' \
      --header 'marchant-id: BIZ12354124' \
      --form 'societyid="1"' \
      --form 'bizid="1"'

      Responses

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