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/create_redirect

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


                            Create Page Redirects

                            Allows the creation of page redirects as needed, for example, in the case of site migration- converting old urls to the new ones. These parameters are used for creating Lead Commerce Page Redirects.
                            Parameter Type Required Notes
                            Example
                            old string Yes The URL of the old page to redirect. /myoldpage.php?page=3&view=8
                            new string No
                            If left blank, it will redirect to the homepage. /my/newpage.html

                            Response

                            Example JSON returned
                            {
                              "code": "200",
                              "data": "1"
                            }
                            

                            Start your free, no-risk trial today.