Adds a snippet to a Square Online site or updates the existing snippet on the site.
POST
/v2/sites/{site_id}/snippet
Adds a snippet to a Square Online site or updates the existing snippet on the site.
The snippet code is appended to the end of the head
element on every page of the site, except checkout pages. A snippet application can add one snippet to a given site.
You can call ListSites to get the IDs of the sites that belong to a seller.
Note: Square Online APIs are publicly available as part of an early access program. For more information, see Early access program for Square Online APIs.