Skip to content

CopyProductRulesList_Load_Query#


Description#

This function loads a list of rules for Miva’s Copy Product feature

Example Request#

{
    "Store_Code": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "CopyProductRulesList_Load_Query",
    "Filter": [],
    "Sort": "name",
    "Offset": 0,
    "Count": 15
}

Example Response#

    {
        "success": 1,
        "data": {
            "total_count": 1,
            "start_offset": 0,
            "data": [
                {
                    "id": 4,
                    "name": "Updated Rule Name",
                    "product": false,
                    "attributes": true,
                    "categories": true,
                    "invset": false,
                    "invlevel": false,
                    "images": false,
                    "relprod": false,
                    "upsale": false,
                    "availgroup": false,
                    "pricegroup": false,
                    "ddownload": false,
                    "giftcert": false,
                    "subscrip": false,
                    "payment": false,
                    "shipping": false,
                    "kit": false,
                    "variants": false
                }
            ]
        }
    }
```