POST

Customer.Reminder.Delete

Delete one customer reminder from contactus_reminder. Same as dashboard profile/delete_customer_reminder_data.

Permissions

  • User must be logged in with a valid bearer token.
  • Returned or changed records are limited by the user permissions, team access, folder access, and account settings.

Action

  • Runs the Customer.Reminder.Delete function and returns JSON.

Push Service

Pushes customer.reminder.deleted to connected clients.

Automation

No automation is run for this function.

Special Instructions

  • Send the bearer token on protected calls with Authorization: Bearer YOUR TOKEN.
  • Send parameters as POST body fields exactly as documented.

Required Parameters

NameTypeSampleExplanation
reminder_id
post
int12Reminder row id. Aliases: data_id, table_id, id.

Optional Parameters

NameTypeSampleWhat it gives
customer_id
post
int58Optional customer id for extra validation. Alias: cust_id.

Authentication

Send the bearer token returned by Login in the request header.

Authorization: Bearer YOUR TOKEN

Sample Request

{
    "url": "\/app\/Customer.Reminder.Delete",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer YOUR TOKEN"
    },
    "body": {
        "reminder_id": "12"
    },
    "url_user": "https:\/\/{user}.bull36.com\/app\/Customer.Reminder.Delete",
    "url_domain": "https:\/\/{domain}\/app\/Customer.Reminder.Delete"
}

Endpoint

POST /app/Customer.Reminder.Delete
POST https://{user}.bull36.com/app/Customer.Reminder.Delete
POST https://{domain}/app/Customer.Reminder.Delete

Sample Output

{
    "success": 1,
    "message": "Success",
    "reminder_id": 12,
    "socket_event": "customer.reminder.deleted"
}

JavaScript Example

const token = 'YOUR TOKEN';
const res = await fetch('/app/Customer.Reminder.Delete', { method: 'POST', headers: { Authorization: 'Bearer ' + token }, body: new URLSearchParams({ reminder_id: '12' }) });
console.log(await res.json());

Error Example

{
    "success": 0,
    "message": "Reminder not found"
}