| Type |
List
|
| List |
Page Templates
|
| URL |
http://{domain}/api/v2/pagetemplates.json |
| Accepts Filters |
Yes |
Output Attributes
|
No |
List Page Templates
Gets the filtered list of Page Templates.
Filters
Filter the Page Templates into a list.
| Parameter |
Type |
Rules |
Example |
| status |
int |
0,1 or 2
|
1 |
| name |
string |
Template Name |
BP Template |
| modify_start |
date |
|
1431377356 |
| modify_end |
date |
|
1431377356 |
Pagination
Parameters can be added to the CURL call to paginate the List.
The maximum limit is 250. By default, this limit is set to 100.
| Parameter |
Type |
Default |
Example |
| limit |
int |
1 |
2 |
| page |
int |
1 |
5 |
Page Template Types
| 1 |
Product
|
| 2 |
Content
|
| 3 |
Categories |
| 4 |
Subcategories |
| 5 |
Include |
Response
Example JSON returned
{
"code": "200",
"data": [
{
"id": "6",
"name": "Wholesale Grid Ordering",
"template_type": "1",
"status": "1"
},
{
"id": "5",
"name": "Blog",
"template_type": "2",
"status": "1"
},
{
"id": "4",
"name": "Content",
"template_type": "2",
"status": "1"
},
{
"id": "3",
"name": "Subcategory",
"template_type": "4",
"status": "1"
},
{
"id": "2",
"name": "Category",
"template_type": "3",
"status": "1"
},
{
"id": "1",
"name": "Product",
"template_type": "1",
"status": "1"
}
]
}