curl --request POST \
--url http://localhost:3000/v1/notifications/order-ready \
--header 'Content-Type: application/json' \
--data '
{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"orderNumber": "<string>",
"pickupLocation": "<string>",
"email": "jsmith@example.com",
"phone": "<string>"
}
'{
"success": true,
"notificationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"error": "<string>"
}Sends a notification that an order is ready for pickup.
curl --request POST \
--url http://localhost:3000/v1/notifications/order-ready \
--header 'Content-Type: application/json' \
--data '
{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"orderNumber": "<string>",
"pickupLocation": "<string>",
"email": "jsmith@example.com",
"phone": "<string>"
}
'{
"success": true,
"notificationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"error": "<string>"
}