Skip to content

CategoryURI_Update#


Description#

This function updates a URI for a category.

Request Parameters#

Parameter
Type Description
uri_id Number The id number of the URI
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": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "CategoryURI_Update",
    "URI_ID": 140,
    "Status": 301,
    "Canonical": 0,
    "URI": "/category_two"
}

Example Response#

{
    "success": 1
}