---
title: "Replace an existing delivery pool"
method: PUT
path: "/delivery/pools/{deliveryPoolId}"
tags: ["Delivery Pools API", "publicly-accessible"]
---

# Replace an existing delivery pool

`PUT /delivery/pools/{deliveryPoolId}`

Replace an existing delivery pool changing all of its properties

## Request body

- CreateDeliveryPool
  - `name` string, required — The name of the pool, used by operations teams, in reports, etc.
  - `restaurants` number[] — A list of Just Eat restaurant ids served by the delivery pool.

## Response `202`

Pool has been replaced

- object
  - `name` string — The name of the pool, used by operations teams, in reports, etc.
  - `restaurants` number[] — A list of Just Eat restaurant ids served by the delivery pool.

## Other responses

- `400` — There was something invalid in your request - check response body for details
- `404` — The pool could not be found
- `409` — A restaurant in your request already belongs to another pool
- `500` — Internal Server Error

---

[API](https://skmtc.net/justeat/apis/just-eat.md) · [All operations](https://skmtc.net/justeat/apis/just-eat/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/justeat/just-eat/revisions/49ff8eb806d9/schema)
