Skip to content

Theme SDK

SaveLayer exposes a browser global through the Shopify theme app extension:

js
window.SaveLayer

Delivery model

  • Installed as a Shopify theme app embed
  • Injects the effective SaveLayer API base
  • Keeps the storefront integration thin

Current SDK surface

  • SaveLayer.version
  • SaveLayer.save()
  • SaveLayer.remove()
  • SaveLayer.toggle()
  • SaveLayer.list()
  • SaveLayer.isSaved()
  • SaveLayer.on()

Why this matters for agencies

Agencies should not need custom ScriptTag wiring or bespoke storefront networking code. The theme app embed is the supported path for Online Store themes.