---
title: "Update Page"
description: "Use PUT /pages/{page_id} to update a page. The current public operation is Page.update.put."
canonical: https://docs.ordering.co/api-reference/guides/update-page/
---

# Update Page

> **API operation:** [Open the endpoint in Scalar](https://docs.ordering.co/api-reference/#tag/pages/PUT/pages/{page_id})

Use `PUT /pages/{page_id}` to update a page. The current public operation is `Page.update.put`.

This operation requires administrator authentication and a numeric page identifier. Mutable fields can cover content, slug, visibility, page type, and SEO data.

See [Pages model](https://docs.ordering.co/api-reference/guides/pages-model/). Accepted fields and image-upload behavior depend on the request.

## OpenAPI reference

**Operation:** `PUT /pages/{page_id}`

**Path parameters**

| Name      | Type    | Required | Description |
| --------- | ------- | -------- | ----------- |
| `page_id` | integer | Yes      | —           |

**Request body fields**

| Name              | Type    | Required |
| ----------------- | ------- | -------- |
| `body`            | any     | No       |
| `enabled`         | boolean | No       |
| `name`            | any     | No       |
| `public`          | boolean | No       |
| `seo_description` | any     | No       |
| `seo_image_file`  | any     | No       |
| `slug`            | any     | No       |
| `type`            | any     | No       |

**Responses**

| Code | Description                           |
| ---- | ------------------------------------- |
| 200  | OK (Envelope)                         |
| 400  | Bad Request (ErrorResponse)           |
| 401  | Unauthorized                          |
| 404  | Not Found                             |
| 429  | Too Many Requests (ErrorResponse)     |
| 500  | Internal Server Error (ErrorResponse) |
| 503  | Service Unavailable (ErrorResponse)   |

[Open this operation in the API reference](https://docs.ordering.co/api-reference/#tag/pages/PUT/pages/{page_id})
