Skip to content

CopyPageRules_Insert#


Description#

This function allows you to insert a new Copy Page Rule.

Example Request#

{
    "Store_Code": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "CopyPageRules_Insert",
    "Name": "Custom Page Rule",
    "Secure": true,
    "Title": true,
    "Template": false,
    "Items": true,
    "Settings": "all",
    "JavaScriptResourceAssignments": true,
    "CSSResourceAssignments": true,
    "CacheSettings": true
}

Example Response#

{
    "success": 1,
    "data": {
        "id": 2,
        "name": "Custom Page Rule",
        "secure": true,
        "title": true,
        "template": false,
        "items": true,
        "settings": "all",
        "jsres": true,
        "cssres": true,
        "cacheset": true
    }
}