API Version 2
  • API V2 Overview
  • Category
    • Company
      • Customers
        • Orders
          • Pages
            • Page Templates
              • Products
                • Purchase Orders
                  • SKUs
                    • Support Tickets
                      • Tax Regions
                        • Vendors
                          • Warehouses
                            API Documentation

                            pagetemplates/info

                            Type Info
                            List Page Templates
                            URL http://{domain}/api/v2/pagetemplates/info.json
                            Accepts Filters No
                            Output Attributes
                            Yes


                            Page Templates Info Data

                            Gets Page Templates info.
                            Filters
                            Filter the Page Templates into a list.
                            Parameter Type Rules Example
                            id int / array one id or multiple Lead Commerce page template ids
                            1 or array(3,8,9,45)

                            Page Template Types
                            1 Product
                            2 Content
                            3 Categories
                            4 Subcategories
                            5 Include

                            Response

                            Example JSON returned
                            {
                              "code": "200",
                              "data": {
                                "1": [
                                  {
                                    "id": "1",
                                    "name": "Product",
                                    "template_type": "1",
                                    "file": "17",
                                    "slug": "tpl_products",
                                    "use_extension": "0",
                                    "status": "1",
                                    "attributes": null
                                  }
                                ],
                                "2": [
                                  {
                                    "id": "2",
                                    "name": "Category",
                                    "template_type": "3",
                                    "file": "4",
                                    "slug": "tpl_category_template",
                                    "use_extension": "0",
                                    "status": "1",
                                    "attributes": {
                                      "2": [
                                        {
                                          "id": "2",
                                          "name": "BP Code"
                                        }
                                      ],
                                      "3": [
                                        {
                                          "id": "3",
                                          "name": "Sales Rep"
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            }
                            

                            Start your free, no-risk trial today.