Skip to content

Update a content page

PATCH
/admin/v1/pages/{id}
curl --request PATCH \
--url https://your-store.example.com/admin/v1/pages/example \
--header 'Content-Type: application/json' \
--data '{ "slug": "example", "title": "example", "body": "example", "locale": "fr", "status": "draft", "seoTitle": "example", "seoDescription": "example" }'
id
required
string
Media type application/json
object
slug
string
>= 1 characters <= 512 characters
title
string
>= 1 characters <= 512 characters
body
string
>= 1 characters <= 100000 characters
locale
string
Allowed values: fr en
status
string
Allowed values: draft published
seoTitle
Any of:
string
<= 512 characters
seoDescription
Any of:
string
<= 1024 characters