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

      remove_society_from_business

      POST
      /api/society/removesociety

      Method#

      POST api/society/removesociety#

      This endpoint is used to remove a society by making an HTTP POST request to the specified URL. The request should include a payload with the form-data request body type, including the following parameters:
      societyid (required) - society id
      bizid (required) - business id

      Response#

      Upon successful execution, the response will have a status code of 200 and a content type of application/json. The response body will contain a JSON object with the following properties:
      status (boolean) - Indicates the status of the operation.
      message (string) - Provides any additional information or error messages.
      data - This property may contain relevant data based on the operation.

      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/removesociety' \
      --header 'marchant-id: BIZ12354124' \
      --form 'societyid="1"' \
      --form 'bizid="1"'

      Responses

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