I know this has been asked a thousand times. I just can’t seem to apply the concepts explain in the other posts.
What I am trying to build is simple:
I have a webhook that looks to see if something changes on a Shopify order
If that happens I need to grab the Note Attributes parameter (see image below) and add name/value pair to the existing name/value pairs (I don’t want to replace the existing data, I want to add to it)
My question:
How do I create a new collection of name/value pairs and add it to the existing Note Attributes array. I know how to do the API PUT request, but I do not know how to create the array. The image below is an example of what I want the end result to be (existing “1” collection plus new “2” collection).