Gửi tin nhắn
API này giúp bạn gửi tin nhắn từ Official Account (OA) có trong hệ thống đến khách hàng.
Endpoint
🔗Endpoint Staging
POST https://staging.manage-api.miniap.vn/api/external/zns-message/send
🔗Endpoint Production
POST https://manage-api.miniap.vn/api/external/zns-message/send
Dữ liệu được gửi đi (Request Body)
- Response
{
"templateId": "67f13b194c82bf5d0649ac37",
"receiverPhone": "0982146738",
"isSample": true,
"params": {
"customer_id": "1231",
"date": "06-04-2024",
"product_id": "123154",
"order_code": "1234",
"customer_fullname": "Dat",
"date_time": "01/01/1970",
"total_cost": 100000,
"phone_number": "0982149298"
}
}
Phản hồi (Response)
- Response
{
"message": "Deleted successfully"
}