Represents an UpsertSnippet
request.
Upsert Snippet Request
Name | Type | Tags | Description |
---|---|---|---|
snippet |
Snippet |
Required | Represents the snippet that is added to a Square Online site. The snippet code is injected into the head element of all pages on the site, except for checkout pages. |
{
"snippet": {
"content": "<script>var js = 1;</script>"
}
}