For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
I need to update my web pixel code, but it seems that I have to run webPixelUpdate in order to have it show.
Unfortunately, I have not saved the web pixel's ID when creating it. How do I retrieve web pixels for a given store without the ID? It seems there are only methods for retrieving by ID.
did you managed to get it ?
There is a GraphQL query to get the ID of the Web Pixel for a store. You need to call it using the access token for the store in which you created it.
{
webPixel {
id
settings,
}
}