Skip to main content
PATCH
/
v1
/
sites
/
{siteId}
/
pages
/
{pageId}
Update Page
curl --request PATCH \
  --url https://8511e6e5e351.ngrok-free.app/v1/sites/{siteId}/pages/{pageId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pathname": "<string>",
  "name": "<string>",
  "isOnline": true
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "pathname": "furniture",
  "name": "Furniture Collection",
  "seoCanonicalUrl": null,
  "seoIsIndexingBlocked": null,
  "seoSitemapPriority": null,
  "seoSitemapFrequency": null,
  "metaTitle": null,
  "metaDescription": null,
  "metaKeywords": null,
  "isOnline": true
}

Authorizations

Authorization
string
header
required

The API key for the App (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)

Path Parameters

siteId
string<uuid>
required
pageId
string<uuid>
required

Body

application/json
pathname
string

The pathname of the page

name
string

The name of the page

isOnline
boolean

Whether the page is online or offline

Response

200 - application/json
id
string<uuid>
required
pathname
string
required

The pathname of the page

Example:

"furniture"

name
string
required

The name of the page

Example:

"Furniture Collection"

seoCanonicalUrl
null
required

The canonical URL of the page

seoIsIndexingBlocked
null
required

Whether the page is blocked from indexing

seoSitemapPriority
null
required

The priority of the page in the sitemap

seoSitemapFrequency
null
required

The frequency with which the page is updated in the sitemap

metaTitle
null
required

The title of the page

metaDescription
null
required

The description of the page

metaKeywords
null
required

The keywords of the page

isOnline
boolean
required

Whether the page is online