Hello All
We created Segments using API calls. Now we are not able to edit the segment. Is there any way to edit the segments after creating the segments using API calls? Thanks in Advance.
Solved! Go to Solution.
Views
Replies
Total Likes
@sheejo Ah ok, so clearly you can copy/edit these segments when you copy from one sandbox to another.
The other thing i would try is use the segment definition and create a new segment via API (in the desired sandbox) and check if you can then edit, if this works you can bulk create the segments and then edit them later.
Here's the endpoint guide
Makes sense? Let me know if that helped
@sheejo Yes, you can override the segment definitions using API call. Please refer to the following documentation of overwriting a segment definitions
Patch /segment/definitions/{SEGMENT_ID}
Hope this helps!
Thanks @Avinash_Gupta_ . According to our requirement, we copied our Segments from Lower environment to UAT using API calls. Now our business wants to edit the segment and test their use cases directly in AEP UI. Now, business is not able to edit the segments after copying the segments
Views
Replies
Total Likes
Unfortunately that's the drawback of copying segments via API, they are not editable. you have couple of options to proceed and try
Hope that helps
Views
Replies
Total Likes
@Anil_Umachigi , thanks a lot for your reply. I tried to copy directly from AEP UI, but copy button is disabled(it says "Cannot copy segment. Use API to copy API generated segments").
Views
Replies
Total Likes
@sheejo Ah ok, so clearly you can copy/edit these segments when you copy from one sandbox to another.
The other thing i would try is use the segment definition and create a new segment via API (in the desired sandbox) and check if you can then edit, if this works you can bulk create the segments and then edit them later.
Here's the endpoint guide
Makes sense? Let me know if that helped
Views
Likes
Replies
Views
Likes
Replies