---
title: "Update restaurant delivery person order by its id"
method: PUT
path: "/restaurant_delivery_person_orders/{restaurantDeliveryPersonOrderId}"
tags: ["RestaurantDeliveryPersonOrder"]
---

# Update restaurant delivery person order by its id

`PUT /restaurant_delivery_person_orders/{restaurantDeliveryPersonOrderId}`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/agriya/apis/ofos-api-endpoints/docs/restaurant_delivery_person_orders/:restaurantDeliveryPersonOrderId/put.ts> (a function with typed inputs; its response is checked against the schema)

Update restaurant delivery person order by its id

## Path parameters

- `restaurantDeliveryPersonOrderId` integer, required

## Request body

- AddRestaurantDeliveryPersonOrder
  - `restaurant_delivery_person_id` integer, required
  - `order_id` integer, required
  - `comments` string
  - `is_delivered` integer, required
  - `restaurant_id` integer, required
  - `restaurant_supervisor_id` integer, required
  - `restaurant_branch_id` integer, required

## Response `200`

Restaurant Delivery Person Order updated

- RestaurantDeliveryPersonOrder
  - `id` integer
  - `created_at` string
  - `updated_at` string
  - `restaurant_delivery_person_id` integer
  - `order_id` integer
  - `comments` string
  - `is_delivered` integer
  - `restaurant_id` integer
  - `restaurant_supervisor_id` integer
  - `restaurant_branch_id` integer

## Other responses

- `default`: Unexpected error

---

[API](https://skmtc.dev/agriya/apis/ofos-api-endpoints.md) - [All operations](https://skmtc.dev/agriya/apis/ofos-api-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/agriya/apis/ofos-api-endpoints/revisions/8db13a44d758?raw)
