Script editor - condition to target Storefront-API-created checkouts only

Highlighted
Tourist
14 0 1

Hello. Is there conditional logic I could use within the script editor to apply some logic only to checkouts created through the Storefront API? This is assuming my script is set to globally affect both Online Store and Storefront API channels, as there is no option to only apply a script to Storefront API channels.

 

Thanks

0 Likes