Type
|
Update
|
List
|
pages
|
URL
|
http://{domain}/api/v2/pages/update.json
|
Accepts Filters
|
No
|
Output Attributes
|
No
|
Update Pages
These parameters are used for Updating Pages. Allows for the updating of existing Lead Commerce Pages with fields such as name, display_name, content, seo_title, site_url, etc. See the full list below. Note: Only content type pages can be updated.
Parameter
|
Type
|
Required
|
Notes
|
Example
|
id
|
int
|
Yes
|
|
5
|
name
|
string
|
No
|
|
My Blog
|
display_name
|
string
|
No
|
|
My Blog
|
content
|
string
|
No
|
|
|
is_ssl
|
boolean
|
No
|
|
true
|
login_required
|
boolean
|
No
|
|
false
|
seo_title
|
string
|
No
|
|
My Blog
|
seo_keyword
|
string
|
No
|
|
|
seo_description
|
string
|
No
|
|
|
site_url
|
string
|
No
|
|
blog.html
|
301_redirect
|
string
|
No
|
|
blog.html
|
attributes
|
array
|
No
|
See attribute documentation.
|
array(1,2)
|
status
|
int
|
No
|
0, 1 or 2
|
1
|
Response
Example JSON returned
{
"code": "200",
"data": [
{
"id": "27",
"title": "Donnies Page",
"tag": "ZWFDP0Q17SEZD4P8CR02DE9HT"
}
]
}