我正在Whatsapp-Business Cloud中测试单一产品消息API端点。
它适用于目录中的一些产品,但对于同一目录中的其他一些产品,错误为"在catalog_id,XXXXXXXXXX中找不到product_retailer_id,XX的产品">
我看不到这些产品有任何违反问题/政策的行为。
这是样品请求有效载荷
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "XXXX",
"type": "interactive",
"interactive": {
"type": "product",
"body": {
"text": "Hello 111111"
},
"footer": {
"text": "Hello1 1111111"
},
"action": {
"catalog_id": "XXXX",
"product_retailer_id": "XX"
}
}
}
你能帮我解决这个问题吗
我遇到了同样的问题。我的catalog_id
和product_retailer_id
是有效的,但不知何故仍然不起作用。然后我向FB直接支持提交了一张票,几秒钟后它突然工作了。我还没有得到任何直接支持的回应。也许在注册目录并将目录连接到WhatsApp号码后,我们需要等待一段时间。
这是我的json有效载荷
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "6289XXX055XXX",
"type": "interactive",
"interactive": {
"type": "product",
"body": {
"text": "Indomie"
},
"footer": {
"text": "Indomie rasa soto"
},
"action": {
"catalog_id": "553992496785XXX",
"product_retailer_id": "indomie-soto"
}
}
}