Skip to content
storefronts / On-site events
GET/__runtime/onsite/snippet.js

Get on-site snippet

Returns the JavaScript snippet that renders a storefront's active on-site widgets.

GET

Authentication

Requirement
Not specified
Credential type
Not specified
Scopes
Not specified

Permissions

  • Public endpoint; no authentication required.

Headers

NameRequiredTypeDetails
If-None-MatchYesNot specified
Description: Value used by this operation.

Path Parameters

Query Parameters

NameRequiredTypeDetails
project_idNostring
Description: Target project identifier.
versionNostring
Description: Text value.

Request Body

Response Body

Errors

Availability

Available in
v0.1.0
Available since
v0.1.0
Implementation
Available
Deprecation
Not specified
Rate limits
Not specified