Type
|
Create
|
List
|
Pages
|
URL
|
http://{domain}/api/v2/pages/create.json
|
Accepts Filters
|
No
|
Output Attributes
|
No
|
Create Pages
These parameters are used for creating Pages. Allows for the creation of Lead Commerce Pages with fields such as name, display_name, content, page_template, site_url, etc. See the full list below. Note: Only content type pages can be created.
Parameter
|
Type
|
Required
|
Notes
|
Example
|
name
|
string
|
Yes
|
|
My Blog
|
display_name
|
string
|
Yes
|
|
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
|
Yes
|
|
|
page_template
|
int
|
Yes
|
|
4
|
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": "Dons Page",
"tag": "ZWFDP0Q17SEZD4P8CR02DE9HT"
}
]
}