Trying to set up a CARTS_UPDATE webhook but filtering for only carts which contain a cart.note - I’ve tried cart.note:true and cart.note:* but no success with either.
Any suggestions?
Trying to set up a CARTS_UPDATE webhook but filtering for only carts which contain a cart.note - I’ve tried cart.note:true and cart.note:* but no success with either.
Any suggestions?
It should be -note:*
, because it uses Shopify Search Syntax.
I didn’t try this myself and it might not work because note
is not a field you can use with the query argument in the corresponding GraphQL resource, if those things are connected.
Hi @javy,
In this case when there is no cart note it comes in as an empty string. So you will want to use the filter -note:''
. This will filter out any webhooks that have an empty string in the note field for you.