Update a script
Scripts
Update a script
Update a script’s code and enabled flag. Requires the WRITE_SCRIPTS scope.
PUT
Update a script
Updates the script’s code and/or 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.
Path Parameters
The script's id (Mongo ObjectId).
Body
application/json
Response
The updated script.
Standard Salesive response envelope. The operation-specific payload is carried in data.

