Option_Delete#
Description#
This function deletes an option from a product attribute.
Request Parameters#
| Parameter | Type | Description |
|---|---|---|
option_idoption_code |
Number String |
The id number of the option to be deleted The code of the option to be deleted |
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": "Option_Delete",
"Option_ID": 4
}
Example Response#
{
"success": 1
}
Error Responses#
| Error Code | Error Message | Error Description |
|---|---|---|
| MER-JSN-PRD-00031 | Option not found | Option not found |