updatePage
Modify page content, SEO settings, layout, and visibility for custom pages, search results, or widget pages in Brilliant Directories websites.
Instructions
Update a page
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seo_id | Yes | Page primary key (required to identify record) | |
| seo_type | No | Page type identifier. These are the values BD customers can choose from in admin:\n content = Single Web Page (USE THIS for custom/landing/static pages — it is the default)\n data_category = Post Search Results\n profile_search_results = Member Search Results\n custom_widget_page = Custom Widget as Web Page\n password_retrieval_page = Password Retrieval Page\n unsubscribed = Unsubscribed Page\nWhen a user asks for a "landing page", "static page", "about page", "contact page", or any generic custom page, always use "content".\nNote: the underlying BD system has additional internal seo_type values (home, profile, payment, etc.) that are system-seeded and should NOT be created via API — customers never have a reason to call createPage with those. | |
| filename | No | URL slug (e.g. home, about-us) | |
| nickname | No | Human-readable label shown in admin panel | |
| title | No | HTML title tag — supports template tokens like %%%website_name%%% | |
| meta_keywords | No | Meta keywords — supports template tokens | |
| meta_desc | No | Meta description — supports template tokens | |
| seo_text | No | Additional SEO body text rendered on page | |
| h1 | No | H1 heading — supports template tokens | |
| h2 | No | H2 heading — supports template tokens | |
| breadcrumb | No | Breadcrumb label | |
| content | No | Main HTML body — supports [widget=Name] shortcodes and template tokens | |
| content_footer | No | Additional HTML below main content | |
| content_active | No | 1 = active, 0 = hidden | |
| content_menu | No | Menu section this page belongs to | |
| content_order | No | Sort order within menu/section | |
| content_group | No | Admin-panel grouping label | |
| content_layout | No | Full-screen page width toggle (integer boolean).\n 1 = Full Screen Page Width (page content spans the full viewport width, no side margins)\n 0 = Standard width (default — page content is constrained to the site theme's content column)\nIn BD admin this is a single checkbox. Pass 1 to enable, 0 to disable. If unsure, omit the field and the default will apply. | |
| content_sidebar | No | Sidebar configuration or widget shortcode | |
| menu_layout | No | Sidebar position and width (integer). Only has an effect when the page has a sidebar configured — on pages without a sidebar this field is ignored.\n 1 = Left Wide (sidebar on the left, wide column)\n 2 = Right Wide (sidebar on the right, wide column)\n 3 = Left Slim (sidebar on the left, narrow column)\n 4 = Right Slim (sidebar on the right, narrow column)\nDefault: 1 (Left Wide). Note the ordering is NOT sequential by side — left positions are 1 and 3, right positions are 2 and 4.\nDespite the field name, this is the SIDEBAR position setting, not a navigation menu layout — the name is a historical BD artifact. | |
| show_form | No | 1 = show contact form | |
| form_name | No | Form slug to render when show_form is enabled | |
| hide_from_menu | No | 1 = hide from navigation menus | |
| hide_header_links | No | 1 = hide header navigation links | |
| hide_header | No | 1 = hide site header | |
| hide_footer | No | 1 = hide site footer | |
| hide_top_right | No | 1 = hide top-right header area | |
| facebook_title | No | Open Graph title for social sharing | |
| facebook_desc | No | Open Graph description | |
| facebook_image | No | Open Graph image URL | |
| org_template | No | Template/layout ID | |
| allowed_products | No | Comma-separated plan/product IDs (empty = all plans) | |
| enable_hero_section | No | "1" = enable hero section | |
| hero_image | No | Hero background image URL | |
| hero_section_content | No | Hero HTML content | |
| hero_alignment | No | Hero alignment | |
| hero_link_text | No | Hero CTA link text | |
| hero_link_url | No | Hero CTA link URL | |
| hero_link_target_blank | No | open in new tab | |
| linked_post_type | No | Linked post type | |
| linked_post_category | No | Linked post category | |
| private_page_select | No | Access control setting | |
| page_render_widget | No | Widget ID to render as page content |