Skip to content

PageURI_Redirect#


Description#

This function redirects a URI for a page.

Request Parameters#

Parameter
Type Description
uri_ids Number The id numbers of the URI’s to be redirected
destination_type String The type of destination for the redirected URI page,screen,category,product,feed
destination String The CODE of the page for the destination
status String The status response for the URI 200,301,302,303,307

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": "PageURI_Redirect",
    "URI_IDs": 149,
    "Destination_Type": "page",
    "Destination": "ACED",
    "Status": 200
}

Example Response#

{
    "success": 1
}