Skip to content

JavaScriptResource_Update#


Description#

This function updates an existing JS Resource in Miva’s JS Resource Management.

Example Request#

{
    "Store_Code": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "JavaScriptResource_Update",
    "JavaScriptResource_Code": "test",
    "JavaScriptResource_Type": "l",
    "JavaScriptResource_File_Path": "themes/00000001/shadows/custom1.js",
    "JavaScriptResource_Global": true,
    "JavaScriptResource_Active": true
}

Example Response#

{
    "success": 1
}