Skip to main content

Update Info Page

PUT 

/api/admin/portal/pages/:page

Update an info page. Only the fields sent change, so {"is_published": true} alone publishes it. A blank slug keeps the stored one.

Required scope: customers:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Fields: title (string, max 120), slug (lowercase letters, numbers and single hyphens, max 80, unique; new and edit are reserved), body (Markdown, max 50,000 characters), visibility (public = anyone, signed in or not; buyers = signed-in buyers only), is_published (boolean; drafts are never served to the portal). An unknown page id answers 404.

Requires a staff bearer token with portal management permission.

Request​

Responses​

OK

Response Headers
    Content-Type