Skip to content

Page_Copy#


Description#

This function copies an existing to either a new page/layout or an existing page/layout.

Example Request#

{
    "Store_Code": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "Page_Copy",
    "Source_Page_Code": "SFNT",
    "Dest_Page_Code": "SFNT_NEW",
    "Dest_Page_Name": "New Storefront",
    "Dest_Page_Create": true,
    "Dest_Page_Layout": false
}

Example Response#

{
    "success": 1,
    "data": {
        "id": 107,
        "admin": false,
        "layout": false,
        "secure": true,
        "code": "SFNT_NEW",
        "name": "New Storefront",
        "title": "",
        "ui_id": 0,
        "templ_id": 719,
        "cache": "anonempty"
    }
}