Skip to content

ProductURI_Redirect#


Description#

This function redirects a URI for a product.

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
destination String The destination for the redirected URI
status Number The status response number for the URI

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": "ProductURI_Redirect",
    "URI_IDs": 156,
    "Destination_Type": "page",
    "Destination": "POUT",
    "Status": 200
}

Example Response#

{
    "success": 1
}