FCHubFCHub.co

Mark activity as read/unread

Update the read status of an activity log entry.

PUT
/activity/{activity_id}/mark-read
AuthorizationBasic <token>

WordPress Application Password authentication. Generate one at wp-admin > Users > Application Passwords. Use as Basic Auth with username:application_password (base64-encoded).

In: header

Path Parameters

activity_id*integer

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://your-site.com/wp-json/fluent-cart/v2/activity/0/mark-read" \  -H "Content-Type: application/json" \  -d '{}'
{
  "message": "string"
}