Created by potrace 1.16, written by Peter Selinger 2001-2019

Miva Developer Docs

This function updates an existing page


Description#

This function updates an existing page

Request Body Parameters#

Parameter Type Required Description
Page_ID
Page_Code
Edit_Page
Number
String
String
One of these The id of the page being updated
The code of the page being updated
The code of the page being updated
Page_Name String No The name of the page
Page_URI String Yes Optional. Sets the page’s canonical URI. When sent, it can’t be blank and must be a valid URI that isn’t already in use. Can’t be set on admin, layout or fragment pages.

Response Parameters#

Parameter Type Description
success Boolean Boolean value indicating if the API request was successful

Example Request#

{
    "Store_Code": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "Page_Update",
    "Page_Code": "SFNT",
    "Page_Name": "Custom Storefront"
}

Or, identifying the page by ID instead of code:

{
    "Store_Code": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "Page_Update",
    "Page_ID": 105,
    "Page_Name": "Custom Storefront"
}

Example Response#

{
    "success": 1
}