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

Miva Developer Docs

This function updates a URI for a product.


Description#

This function updates a URI for a product.

Request Parameters#

Parameter Type Required Description
URI_id
Edit_URI
Number
String
ID Number of URI
The relative path
status Number No The status response number for the URI
canonical Boolean No Boolean value indicating if the URI is canonical
uri String No The new relative path for the URI. If neither URI_ID nor Edit_URI is sent, the URI is looked up by this value instead.

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_Update",
    "URI_ID": 156,
    "Status": 200,
    "Canonical": 0,
    "URI": "/special-shorts.html"
}

Example Response#

{
    "success": 1
}