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>"
}Sends a notification that an order has been confirmed.
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>"
}