AttributeTemplate_Delete
#
Description#
This function deletes an attribute template.
Request Parameters#
Parameter |
Type | Description |
---|---|---|
AttributeTemplate_id |
Number | The id number of the attribute template to be deleted |
Response Parameters#
Parameter |
Type | Description |
---|---|---|
success |
Number | 1 indicating a successful request. 0 indicating an unsuccessful request. |
Example Request#
{
"Store_Code": "{{Store_Code}}",
"Miva_Request_Timestamp": "{{$timestamp}}",
"Function": "AttributeTemplate_Delete",
"AttributeTemplate_ID": 3
}
Example Response#
{
"success": 1
}
Error Responses#
Error Code | Error Message | Error Description |
---|---|---|
MER-ATT-JSN-00021 |
Attribute Template ATTR_TEMP_CODE cannot be deleted because it is in use by one or more products |
Attribute in use |
MER-JSN-PRD-00086 |
Attribute not found | Attribute not found |