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

                            pages/redirect

                            Type List
                            List Pages
                            URL http://{domain}/api/v2/pages/redirect.json
                            Accepts Filters Yes
                            Output Attributes
                            No


                            List Redirects

                            Gets the filtered list of redirects. Allows the retrieval of a list containing id, url_old, url_new, record_id and template type data of Lead Commerce Redirects.
                            Filters
                            Filter the pages redirect into a list.
                            Parameter Type Rules Example
                            template_type int Type of template
                            2
                            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

                            Response

                            Example JSON returned
                            {
                              "code": "200",
                              "data": {
                                "5": [
                                  {
                                    "id": "5",
                                    "url_old": "terms.html",
                                    "url_new": "terms-and-conditions/",
                                    "record_id": "21",
                                    "template_type": [
                                      {
                                        "id": "2",
                                        "name": "Content"
                                      }
                                    ]
                                  }
                                ],
                                "7": [
                                  {
                                    "id": "7",
                                    "url_old": "about-us.html",
                                    "url_new": "about-us/",
                                    "record_id": "28",
                                    "template_type": [
                                      {
                                        "id": "2",
                                        "name": "Content"
                                      }
                                    ]
                                  }
                                ]
                              }
                            }
                            

                            Start your free, no-risk trial today.