Skip to content

ProductURI_Insert#


Description#

This function inserts a URI for a product.

Request Parameters#

Parameter
Type Description
product_id
Edit_Product
Product_Code
Product_SKU
Number
String
String
String
ID Number of product
Product code string
Product code string
Product SKU string
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_Insert",
    "Product_ID": 6,
    "Status": 200,
    "Canonical": 0,
    "URI": "/special-short.html"
}

Example Response#

{
    "success": 1
}