How can I remove a script tag that has been added through the shopScripts API?

I have been testing an application that we made ourselves, but during testing an invalid script was synchronised through the API. After uploading the correct script URL through the API, the script is embedded twice through 2 different URLs.

However, only one shows up in the shopScripts API. How can I remove the faulty one?

Tags:

Answers

  • LucienVersendaalLucienVersendaal Moderator, Lightspeed Staff Posts: 339 moderator

    Hi @Jurrien_Dokter,

    Thank you for contacting us.

    You'll need to login with your API keys you used to place the script. After that you'll need to do a GET /shopscripts.json to which is the faulty one and delete this.

    I hope this helps.

Sign In or Register to comment.