-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Title:
POST /api/v1/settings/marketing/events Allows Duplicate Marketing Events
Description:
The API currently allows the creation of multiple marketing events with the same name/title. This can lead to confusion in managing and referencing marketing events, especially in campaigns, analytics, or automations.
Affected Endpoint:
POST /api/v1/settings/marketing/events
Preconditions:
- Krayin REST API is up and authenticated.
- Marketing event creation payload is valid.
Steps to Reproduce:
- Send a
POSTrequest with the event name:Summer Campaign 2025. - Send the same request again with the exact same event name.
- Observe that both requests are accepted and duplicate entries are created.
Actual Result:
video link - https://webkul.chatwhizz.com/share/view-recording/686cfa638482ce50291d6735
- API accepts both requests and creates multiple marketing events with the same name.
Expected Result:
- API should reject duplicate names and return a validation error:
{ "message": "The event name 'Summer Campaign 2025' already exists.", "status": 422 }
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels