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

      single_order_data

      GET
      /api/orders/orderdata/

      GET /api/orders/orderdata/#

      This endpoint retrieves order data for a specific order identified by the order ID and business ID.

      Request#

      Query Parameters
      orderid (number) - The ID of the order.
      bizid (number) - The ID of the business.

      Response#

      The response will be a JSON object with the following schema:
      {
          "status": boolean,
          "message": string,
          "data": {
              "order": {
                  "id": string,
                  "ordername": string,
                  "bizid": string,
                  "societyid": string,
                  "service_charge": string,
                  "delivery_charge": string,
                  "user_name": string,
                  "cityname": string,
                  "statename": string,
                  "useraddress": string,
                  "userphone": string,
                  "useremail": string,
                  "userid": string,
                  "email": string,
                  "societyaddress": string,
                  "status": string,
                  "ordertime": string,
                  "deliverytime": string,
                  "orderitem": [
                      {
                          "id": string,
                          "orderid": string,
                          "item_id": string,
                          "item_name": string,
                          "item_price": string,
                          "item_qty": string
                      }
                  ]
              }
          }
      }
      

      Request

      Authorization
      Add parameter in header
      Example:
      X-Token: ********************
      Query Params
      orderid
      string 
      required
      order id (required)
      Example:
      1
      bizid
      string 
      required
      business id (required)
      Example:
      1
      Header Params
      marchant-id
      string 
      required
      Example:
      BIZ12354124
      Body Params application/json
      orderid
      integer 
      required
      bizid
      integer 
      required
      Example
      {
      	"orderid": 1,
      	"bizid": 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 GET '/api/orders/orderdata/?orderid=1&bizid=1' \
      --header 'marchant-id: BIZ12354124' \
      --header 'Content-Type: application/json' \
      --data-raw '{
      	"orderid": 1,
      	"bizid": 1
      }'

      Responses

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