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

      change_order_status

      POST
      /api/orders/change_order_status/

      Change Order Status#

      This endpoint allows you to change the status of an order.
      Request Body
      orderid (string) - The ID of the order to be updated.
      bizid (string) - The business ID associated with the order.
      status (integer) - The new status code for the order.
      Response
      The response will be in JSON format with the following fields:
      status (boolean) - Indicates the success or failure of the operation.
      message (string) - Additional information or error message.
      Example:
      {
          "status": true,
          "message": ""
      }
      

      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/orders/change_order_status/' \
      --header 'marchant-id: BIZ12354124' \
      --form 'orderid="1"' \
      --form 'bizid="1"' \
      --form 'status="1"'

      Responses

      🟢200Success
      application/json
      Body

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