Skip to content

ProductURI_Update#


Description#

This function updates a URI for a product.

Request Parameters#

Parameter
Type Description
URI_id
Edit_URI
URI_Code
Number
String
String
ID Number of URI
The relative path
The relative path
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": "beta",
    "Function": "ProductURI_Update",
    "URI_ID": 156,
    "Status": 200,
    "Canonical": 0,
    "URI": "/special-shorts.html"
}

Example Response#

{
    "success": 1
}