Skip to main content
POST
/
send-partner-profile-update-notification
Send partner profile update notification
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/send-partner-profile-update-notification \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "partner_id": 1,
  "updated_field": [
    "company_name",
    "profile_photo"
  ]
}
'
{
  "status": "success",
  "message": "Partner profile update notification sent."
}

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-KEY
string
header
required

Server-to-Server API Key for internal/lambda/cron calls

Body

application/json
partner_id
integer
required

Partner user ID

Example:

1

updated_field
string[]
required

List of field names that were updated

Example:
["company_name", "profile_photo"]

Response

200 - application/json

Notification sent

status
string
Example:

"success"

message
string
Example:

"Partner profile update notification sent."