Record a change
Records a change the team made outside OneLence (budget, offer, pricing, tracking, creative, campaign, partner, email, social post, launch, or offline activity such as a TV or radio ad, billboard, influencer campaign, press coverage or event), on one source or the whole site, so OneLence can observe the period after it. Offline activity is recorded on the whole site only. Optional ends_on, image_url, link_url and markets are stored with the change when they are sent. It changes nothing on ad platforms.
Request
- Base URL: https://api.onelence.com/v1
- URL: https://api.onelence.com/v1/sites/{site}/changes
- Auth: one of:
- OAuth 2 (authorization code, authorization URL https://api.onelence.com/oauth/authorize, token URL https://api.onelence.com/oauth/token, scopes: workspace:write)
- HTTP bearer
Path parameters
Site domain (e.g. example.com) or site id. Defaults to the workspace's newest active site.
Query parameters
true returns a preview of the change and applies nothing.
Headers
8 to 200 visible ASCII characters. Retries with the same key and request return the stored response for 24 hours.
Request body
Response
With dry_run=true: what would change. Nothing is applied.
Changes
No recorded changes to this operation across all 1 revision of this API.