回答済み

Tech Note: What happens if you try to update metadata via the API for a visitor record that doesn’t exist in Pendo?

This was my example request to update metadata for a visitor ID record that does not exist in my subscription: 

POST https://app.pendo.io/api/v1/metadata/visitor/custom/value

[
    {
        "visitorId": "October-Angela11111",
        "values": {
            "department": "Marketing",
            "role": "Admin"
        }
    }
]

 

The response was a 200 success message because Pendo successfully received the message, but you’ll notice the bolded sections of the response that indicate Pendo didn’t update the record because it didn’t exist.

{
    "total": 1,
    "updated": 0,
    "failed": 1,
    "missing": [
        "October-Angela11111"
    ]
}

 

As a comparison, this is the example response when I make a successful request to update metadata for a visitor ID record that does exist in Pendo.

{
"total":1,
"updated":1,
"failed":0
}
0

コメント

1件のコメント
  • I noticed the same for missing accounts.

    However even after creating the user in pendo by using the app, I still see the user as missing.  Not sure if there is some latency on the API or what is causing this. the visitor is showing up in Pendo under visitors.

    0

投稿コメントは受け付けていません。

お探しのものを見つけられませんでしたか?

新規投稿