Skip to main content
PATCH
Update source link

Authorizations

Authorization
string
header
required

API token from the Zenedu dashboard

Path Parameters

bot
integer
required

Bot ID

offer
integer
required

Offer ID

Source link ID

Body

application/json
name
string
required

Link name

Maximum string length: 255
code
string | null

New code of the link, returned in orders and webhooks as source_link.code. Latin letters, digits, - and _, up to 32 characters. Must be free among the codes of source links and the public link slugs (bot_slug, landing_slug) of offers, funnels and funnel links. Omit or pass null to keep the current code. The main link has no code

Maximum string length: 32
Pattern: ^[A-Za-z0-9_-]+$
utm_source
string | null

Traffic source, e.g. instagram. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200
utm_medium
string | null

Traffic type, e.g. stories, ads, email. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200
utm_campaign
string | null

Campaign name. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200
utm_term
string | null

Ad keywords. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200
utm_content
string | null

Distinguishes ads within a campaign. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200

Response

Source link updated

data
object