Skip to main content
POST
/
v1
/
notifications
/
order-confirmed
Send order confirmed notification
curl --request POST \
  --url http://localhost:3000/v1/notifications/order-confirmed \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "orderNumber": "<string>",
  "totalAmount": 123,
  "email": "jsmith@example.com"
}
'
{
  "success": true,
  "notificationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "error": "<string>"
}

Body

application/json
userId
string<uuid>
required
orderNumber
string
required
totalAmount
number
required
email
string<email>

Response

200 - application/json

Send result

success
boolean
required
notificationId
string<uuid>
error
string