This function allows you to delete a record from the customer credit history for a customer.
Description#
This function allows you to delete a record from the customer credit history for a customer. This function only deletes the customer credit record. It does not remove the credit from the customer’s balance.
Request Body Parameters#
| Parameter | Type | Description |
|---|---|---|
CustomerCreditHistory_ID |
Number | The id of the record you wish to delete |
Response Parameters#
| Parameter | Type | Description |
|---|---|---|
success |
Boolean | Boolean Value if the request was successful |
Example Request#
{
"Store_Code": "{{Store_Code}}",
"Miva_Request_Timestamp": "{{$timestamp}}",
"Function": "CustomerCreditHistory_Delete",
"CustomerCreditHistory_ID": 2
}
Example Response#
{
"success": 1
}