Create a script
Scripts
Create a script
Create a custom storefront script for an integration. Requires the WRITE_SCRIPTS scope.
POST
Create a script
Creates a script from the integration id, code and enabled flag. The store is bound to your app token server-side — never send a shop id.
Authorizations
Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.
Body
application/json
Response
The created script.
Standard Salesive response envelope. The operation-specific payload is carried in data.

