Best answer

Remove specific tag from customer and leave the rest

  • 19 April 2022
  • 2 replies
  • 126 views

(This is a follow up question to the thread found here:  Remove tag from Shopify customer once membership canceled | Zapier Community)

 

I want to remove a specific tag from a customer and leave the rest.  I have the following setup action and code:

When testing the code, it works if the tag I want to remove is the first in the list. However, if the tag not first, it doesn't remove the tag, and leaves all of them in place.

 

Result attempting to remove Tag2 (doesn’t remove tag):

Result attempting to remove Tag 1 (DOES remove tag):

 

So what am I doing wrong?
 

icon

Best answer by Troy Tessalone 19 April 2022, 02:55

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 7
Badge +14

Hi @micahsa 

Good question.

Check out this related help topic:

 

That worked great.  Thanks Troy!