Skip to main content
Best answer

Remove specific tag from customer and leave the rest


(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?
 

Best answer by Troy TessaloneBest answer by Troy Tessalone

Hi @micahsa 

Good question.

Check out this related help topic:

 

View original
Did this topic help you find an answer to your question?
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

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31058 replies
  • Answer
  • April 19, 2022

Hi @micahsa 

Good question.

Check out this related help topic:

 


  • Author
  • Beginner
  • 1 reply
  • April 22, 2022

That worked great.  Thanks Troy!