Skip to main content
PATCH
Update a website (name, enabled, shadow, card_enabled, holdout_pct, vertical, allowed_origins, capture toggles)
Send only the fields to change. shadow false turns messages on (active mode); card_enabled turns the on-page card on or off; holdout_pct is the held-back share between 0.05 and 0.5. Changing allowed_origins re-signs the site token; the SDK picks up the new token on its next settings call.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The website id

Body

application/json
name
string
enabled
boolean
shadow
boolean

true = messages off (watch mode)

card_enabled
boolean
holdout_pct
number

Share of stuck shoppers held back to compare, 0.05 to 0.5

vertical
string
allowed_origins
string[]

Response

Site

_id
string
name
string
host
string
enabled
boolean
shadow
boolean

true = messages off

card_enabled
boolean
holdout_pct
number

share of stuck shoppers held back to compare, 0.05 to 0.5

vertical
string | null
state
object