跳转至

快递

提醒用户订单快递

HTTP 请求

POST /v1/whatsapp/message/send/SHIPMENT_NOTIFICATION

Shipment 请求

Request Headers
{
  "Content-Type": "application/json",
  "Authorization": "Bearer {{access_token}}",
  "x-api-key": "{{api_key}}"
}
Request Body
{
  "phone": "11987654321",
  "countryCallingCode": "+55",
  "customerName": "Austin Bu",
  "redirectLink": "https://www.liquido.com",
  "orderId": "333",
  "shippingAddress": "340 E Middlefield Blvd, MTV, CA, 94043",
  "productName": "SmartPhone",
  "contactInfo": "support@liquido.com",
  "idempotentKey": "78651"
}
Content-Type: application/json
{
  "resultCode": 200,
  "msgId": "gBGGFRBQmGUvAglCIxywFV5mRRY"
}
Content-Type: application/json
{
  "resultCode": "601",
  "errorMessage": "This phone number does not have an associated whatsapp account."
}
Content-Type: application/json
{
  "resultCode": "500",
  "errorMessage": "Server internal error."
}
Request Headers 字段说明
参数
Authorization "bearer" + " " + {{access_token}}
x-api-key {{api_key}}
Request Body 字段说明
参数 必填 类型 描述
phone String 电话号码,不包含国家编码
countryCallingCode String 国家编码, 如:中国“+86”
customerName String 客户名称
redirectLink String 重定向链接
orderId String 订单Id
shippingAddress String 收货地址
productName String 商品名称
contactInfo String 联系方式
idempotentKey String 幂等Id
回到页面顶部