FeedURI_Insert
#
Description#
This function inserts a URI for a feed.
Request Parameters#
Parameter |
Type | Description |
---|---|---|
feed_id feed_code |
Number String |
The id number of the feed The code of the feed |
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": "FeedURI_Insert",
"Feed_ID": 2,
"Status": 200,
"Canonical": 0,
"URI": "/feed_some_productses.html"
}
Example Response#
{
"success": 1
}
Error Responses#
Error Code | Error Message | Error Description |
---|---|---|
MER-JSN-00018 |
Invalid value for field ‘URI’: URI ‘\/feed_most_prods.html’ is already in use | Invalid value for field ‘URI’: URI ‘\/feed_most_prods.html’ is already in use |
MER-JSN-00019 |
Unable to load feed: One of Feed_ID or Feed_Code must be specified | Must provide feed ID or code |