| Key | Type | Description |
|---|---|---|
| alert.audience_id | integer[] | ID of audience that should receive the alert |
| alert.type | string | Must match available alert types |
| alert.message | string | Content of message sent to recipients |
| alert.location | string |
| Key | Type | Description |
|---|---|---|
| alert | Alert | See: Alert model |
| Status | Description |
|---|---|
422 | Invalid parameters - see Invalid parameters errors model |
{
"alert": {} // Alert - see: 'Alert model'
}curl --location --request POST 'https://api.mpc.dev.placewise.com/v1/users/me/operations/alerts' \
--header 'X-User-Agent: ApiDog' \
--header 'X-Product-Name: default' \
--header 'X-Loyalty-Club-Slug: infinity-mall' \
--header 'X-Customer: 447' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: ' \
--header 'X-Store-Id: ' \
--header 'Content-Type: application/json'{}