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

      orders_data

      GET
      /api/orders/orderdata/

      Get Order Data#

      This endpoint retrieves the details of a specific order identified by the order ID and business ID.

      Request Parameters#

      orderid (integer) - The ID of the order to retrieve.
      bizid (integer) - The ID of the business associated with the order.

      Response#

      Status: 200 OK
      Content-Type: application/json
      Response Body#
      The response contains a JSON object with the following properties:
      status (boolean) - Indicates the status of the request.
      message (string) - A message related to the request.
      data (object) - Contains the order details including:
      order (object) - Details of the order including order ID, name, business ID, society ID, service charge, delivery charge, user details, order status, order time, delivery time, and order items.
      id (string) - The ID of the order.
      ordername (string) - The name of the order.
      bizid (string) - The ID of the business.
      societyid (string) - The ID of the society.
      service_charge (string) - The service charge for the order.
      delivery_charge (string) - The delivery charge for the order.
      user_name (string) - The name of the user placing the order.
      cityname (string) - The name of the city for delivery.
      statename (string) - The name of the state for delivery.
      useraddress (string) - The address of the user.
      userphone (string) - The phone number of the user.
      username (string) - The username of the user.
      useremail (string) - The email of the user.
      userid (string) - The ID of the user.
      email (string) - The email of the user.
      societyaddress (string) - The address of the society.
      status (string) - The status of the order.
      ordertime (string) - The time when the order was placed.
      deliverytime (string) - The expected delivery time.
      orderitem (array) - An array of order items, each containing:
      id (string) - The ID of the order item.
      orderid (string) - The ID of the order.
      item_id (string) - The ID of the item.
      item_name (string) - The name of the item.
      item_price (string) - The price of the item.
      item_qty (string) - The quantity of the item.

      Request

      Query Params
      orderid
      string 
      required
      order id (required)
      Example:
      1
      bizid
      string 
      required
      business id (required)
      Example:
      1
      Header Params
      api-key
      string 
      required
      Example:
      64cbb7-6888e6-da3baf-6567a0-d12f66
      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/orders/orderdata/?orderid=1&bizid=1' \
      --header 'api-key: 64cbb7-6888e6-da3baf-6567a0-d12f66' \
      --header 'marchant-id: BIZ12354124'

      Responses

      🟢200Success
      application/json
      Body
      object {0}
      Example
      {}
      Previous
      🐶 Walk through Apidog
      Next
      login_user
      Built with