Post Cart Script Add

POST {{baseUrl}}/cart.script.add.json?name=<string>&description=<string>&html=<string>&src=<string>&load_method=<string>&scope=<string>

Add new script to the storefront

Request Params

KeyDatatypeRequiredDescription
namestringCoupon name
descriptionstringThe user-friendly description
htmlstringAn html string containing exactly one script tag.
srcstringThe URL of the remote script
load_methodstringThe load method to use for the script
scopestringThe page or pages on the online store where the script should be included