Type
|
Update
|
List
|
Page Templates
|
URL
|
http://{domain}/api/v2/pagetemplates/update.json
|
Accepts Filters
|
No
|
Output Attributes
|
No
|
Update Page Templates
These parameters are used for Updating Page Templates
Parameter
|
Type
|
Required
|
Notes
|
Example
|
id
|
int
|
Yes
|
Company ID
|
44
|
name
|
string
|
Yes
|
Page Template Name
|
DL Template
|
status
|
int
|
No
|
|
0, 1 or 2
|
use_extension
|
boolean
|
No
|
|
true
|
ssl
|
boolean
|
No
|
Must have SSL on domain to use this flag
|
true
|
filter
|
boolean
|
No
|
|
true
|
slug
|
string
|
No
|
|
tpl_dl_slug
|
default_directory
|
string
|
No
|
|
dl_template
|
attributes
|
array
|
No
|
See attribute documentation.
|
array(2,3)
|
Page Template Types
1
|
Product
|
2
|
Content
|
3
|
Categories
|
4
|
Subcategories
|
5
|
Include
|
Response
Example JSON returned
{
"code": "200",
"data": [
{
"id": "7",
"title": "Joeys Template",
"tag": "B6IZS8TCUMKF3L4Y3H93R7IIM"
}
]
}