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

      get_indian_states

      GET
      /api/business/getstates/

      Get States#

      This endpoint retrieves a list of states.

      Request#

      No request body is required for this request.
      URL: api/business/getstates/
      Method: GET

      Response#

      The response is in JSON format and has the following schema:
      {
          "type": "object",
          "properties": {
              "status": {
                  "type": "boolean"
              },
              "message": {
                  "type": "string"
              },
              "data": {
                  "type": "object",
                  "properties": {
                      "total": {
                          "type": "string"
                      },
                      "statelist": {
                          "type": "array",
                          "items": {
                              "type": "object",
                              "properties": {
                                  "id": {
                                      "type": "string"
                                  },
                                  "statename": {
                                      "type": "string"
                                  }
                              }
                          }
                      }
                  }
              }
          }
      }
      

      Request

      Authorization
      Add parameter in header
      Example:
      X-Token: ********************
      Header Params
      marchant-id
      string 
      required
      Example:
      BIZ12354124

      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 GET '/api/business/getstates/' \
      --header 'marchant-id: BIZ12354124'

      Responses

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