storefronts / On-site events
GET
/__runtime/onsite/snippet.jsGet 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
| Name | Required | Type | Details |
|---|---|---|---|
If-None-Match | Yes | Not specified | Description: Value used by this operation. |
Path Parameters
Query Parameters
| Name | Required | Type | Details |
|---|---|---|---|
project_id | No | string | Description: Target project identifier. |
version | No | string | 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

