Sign in

Upsert snippet

documented

Creates or updates a site's snippet.

POST /v2/sites/{site_id}/snippetSnippetsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://connect.squareup.com/v2/sites/{{$site_id}}/snippet" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Square-Version: 2025-10-16" \
  -d '{"snippet": {"content": "{{$snippet_content}}"}}'
Upsert snippet · Square · OpenIntegrations