Does anyone know if there is a GraphQL or REST API available to create a Custom Pixel under Settings > Customer Events > Custom Pixel?
Any guidance or documentation would be greatly appreciated.
Does anyone know if there is a GraphQL or REST API available to create a Custom Pixel under Settings > Customer Events > Custom Pixel?
Any guidance or documentation would be greatly appreciated.
Most likely not, its the whole point of a ‘Custom’ pixel. You need to look at a Web Pixel instead at best guess.
Hey all - just confirming that @Luke is on point here, there isn’t currently an API endpoint that can create a custom pixel on a shop. At the moment, Custom Pixels can only be created via the Admin UI:
https://help.shopify.com/en/manual/promoting-marketing/pixels/custom-pixels/manage
Like Luke mentioned though, we do offer Web Pixels as part of our Extensibility framework here which might work: Build web pixels
Hope this helps a bit.