---
title: "Update restaurant delivery person by its id"
method: PUT
path: "/restaurant_delivery_persons/{restaurantDeliveryPersonId}"
tags: ["RestaurantDeliveryPerson"]
---

# Update restaurant delivery person by its id

`PUT /restaurant_delivery_persons/{restaurantDeliveryPersonId}`

Update restaurant delivery person by its id

## Path parameters

- `restaurantDeliveryPersonId` integer, required

## Request body

- AddRestaurantDeliveryPerson
  - `username` string, string — supervisors username.
  - `email` string, string — supervisors email.
  - `mobile` string, string — supervisors mobile.
  - `first_name` string, string — supervisors first name.
  - `last_name` string, string — supervisors last name.
  - `gender_id` string, string — supervisors genger.
  - `address` string, string — supervisors genger.
  - `address1` string, string — supervisors genger.
  - `city` EditCity
    - `name` string
  - `state` EditState
    - `name` string
  - `country` EditCountry
    - `iso2` string
  - `zip_code` string, string — supervisors zip code.
  - `about_me` string, string — supervisors country_id.
  - `restaurant_branch_id` integer — restaurant branch id.
  - `is_active` integer — supervisors status.
  - `restaurant_id` integer — restaurant id.
  - `restaurant_supervisor_id` integer

## Response `200`

Restaurant Delivery Person updated

- RestaurantDeliveryPerson
  - `id` integer
  - `created_at` string
  - `updated_at` string
  - `restaurant_id` integer
  - `restaurant_branch_id` integer
  - `restaurant_supervisor_id` integer
  - `user_id` integer
  - `is_active` integer
  - `username` string, string — delivery person username.
  - `email` string, string — delivery person email.
  - `mobile` string, string — delivery person mobile.
  - `first_name` string, string — delivery person first name.
  - `last_name` string, string — delivery person last name.
  - `gender_id` string, string — delivery person gender.
  - `address` string, string — delivery person address.
  - `address1` string, string — delivery person address1.
  - `city_name` string — City name.
  - `state_name` string — State name.
  - `country_id` string — Country Iso2
  - `zip_code` string, string — delivery person zip code.
  - `about_me` string, string — delivery person about .

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/agriya/apis/ofos-api-endpoints.md) · [All operations](https://skmtc.net/agriya/apis/ofos-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agriya/ofos-api-endpoints/revisions/8db13a44d758/schema)
