Does shopify allow "onclick" event in /admin/api/2019-10/script_tags.json post API ?

Highlighted
Tourist
9 0 1

I want to know whether Shopify allows "onclick" event type in /admin/api/2019-10/script_tags.json post API like it does for "onload" event type as documented here :

https://help.shopify.com/en/api/reference/online-store/scripttag#create-2019-10

 

0 Likes
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
624 103 124

Hi @rajanimesh ,

 

The only valid "event" value for the ScriptTag resource on the Shopify REST Admin API is 'onload'

 

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes