Description#
This function updates a URI for a product.
Request Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
URI_idEdit_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
}