Skip to content

PageURI_Insert#


Description#

This function inserts a URI for a page.

Request Parameters#

Parameter
Type Description
page_id
edit_page
page_code
Number
String
String
The id number of the page
The code of the page
The code of the page
status Number The status response number for the URI
canonical Boolean Boolean value indicating if the URI is canonical
uri String The relative path for the URI being inserted

Response Parameters#

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

Example Request#

{
    "Store_code": "beta",
    "Function": "PageURI_Insert",
    "Page_ID": 44,
    "Status": 200,
    "Canonical": 0,
    "URI": "/respawn-customers.html"
}

Example Response#

{
    "success": 1
}