最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

velo - How do you add a Contact or Member to a Segment in Wix (using REST API) - Stack Overflow

programmeradmin4浏览0评论

What API endpoint would you call to add a contact to a segment. I know the segment ID as I can see that when I query contacts. I matched up segment by viewing source in the wix dashboard.

AI will suggest to use the labels endpoint or some imaginary segment endpoint, but neither seem to be true.

segments": {
        "items": [
          "cbd3c2df-a35d-47f8-a869-765c3a2ceb60",
          "ed4655da-42b9-42e8-98c0-765c3a2ceb60",
          "cbd3c2df-b3d7-4a14-42e8-765c3a2ceb60",
          "82a90edb-f42c-4d53-94e3-765c3a2ceb60",
          "cbd3c2df-v-42e8-9f7a-765c3a2ceb60",
          "ed4655da-86e5-4fe9-b53d-765c3a2ceb60"
        ]
      }```

What API endpoint would you call to add a contact to a segment. I know the segment ID as I can see that when I query contacts. I matched up segment by viewing source in the wix dashboard.

AI will suggest to use the labels endpoint or some imaginary segment endpoint, but neither seem to be true.

segments": {
        "items": [
          "cbd3c2df-a35d-47f8-a869-765c3a2ceb60",
          "ed4655da-42b9-42e8-98c0-765c3a2ceb60",
          "cbd3c2df-b3d7-4a14-42e8-765c3a2ceb60",
          "82a90edb-f42c-4d53-94e3-765c3a2ceb60",
          "cbd3c2df-v-42e8-9f7a-765c3a2ceb60",
          "ed4655da-86e5-4fe9-b53d-765c3a2ceb60"
        ]
      }```
Share Improve this question edited Feb 16 at 10:43 VLAZ 29.1k9 gold badges62 silver badges84 bronze badges asked Feb 15 at 21:21 MindWireMindWire 4,0897 gold badges36 silver badges48 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

After understanding more about how admins create segments in the Wix UI, it appears that segments are dynamic, in that you do not manually add a contact to a segment, but rather the segment is simply a filtered view of contacts updated once a day.

发布评论

评论列表(0)

  1. 暂无评论