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

      user_registration

      POST
      /api/auth/registration/
      This endpoint allows users to register with the application. The request should be sent as an HTTP POST to the specified URL. The request body should be of form-data type and include the following parameters:
      first_name (text): User first name
      last_name (text): User last name
      bdate (text): User birth date
      phone (text): User phone
      email (text): User email
      password (text): User password
      address (text): User address
      roll (text):
      type (text): User for 1 / Business for 2
      bname (text): Business name
      bemail (text): Business email
      bpincode (text): Business pin code
      bcity (text): Business city
      bstate (text): Business state
      blogo (text): Business logo
      bpocname (text):
      category (text): Business categories
      bmobile (text): Business mobile
      referral_id (text): Business referrers
      The response to the request will have a status code of 200 and a content type of application/json. The response body will include the following fields:
      status (boolean): Indicates the status of the response
      response (integer): Response code
      message (string): Additional message, if any
      data (integer): Additional data, if any

      Request

      Authorization
      Add parameter in header
      Example:
      X-Token: ********************
      Header Params

      Body Params multipart/form-data

      Request Code 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/auth/registration/' \
      --header 'marchant-id: BIZ12354124' \
      --form 'first_name="Sam"' \
      --form 'last_name="Menon"' \
      --form 'bdate="25-10-1990"' \
      --form 'phone="9856024358"' \
      --form 'email="sam@example.com"' \
      --form 'password="login_pass"' \
      --form 'address="abc address, india"' \
      --form 'roll="1"' \
      --form 'type="2"' \
      --form 'bname="Sam business"' \
      --form 'bemail="sb@gmail.com"' \
      --form 'bpincode="411039"' \
      --form 'bcity="Pune"' \
      --form 'bstate="Maharashtra"' \
      --form 'blogo=""' \
      --form 'bpocname=""' \
      --form 'category="Software Company"' \
      --form 'bmobile="9856024358"' \
      --form 'referral_id=""'

      Responses

      🟢200Success
      application/json
      Body

      Example
      {}
      Modified at 2024-10-17 16:02:45
      Previous
      login_user
      Next
      make_order
      Built with