Skip to content

CopyProductRulesModule_Update_Assigned#


Description#

This function allows you to assign or unassign a module from a copy product rule. Assigning a module will allow the rule to copy the product data made available from the module such as custom fields.

Example Request#

{
    "Store_Code": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "CopyProductRulesModule_Update_Assigned",
    "CopyProductRules_ID": 4,
    "Module_Code": "customfields",
    "Assigned": true
}

Example Response#

{
    "success": 1
}