Skip to main content
PUT
Update a group

Authorizations

Authorization
string
header
required

Tolt API key sent as a bearer token.

Path Parameters

id
string
required
Example:

"grp_zUQ8Pt281MsbNDApmDPN3Y2a"

Body

application/json
name
string

Name of the group, up to 255 characters. It also sets public_key, the ?group= key of the group's sign-up link: the name in lowercase, with spaces turned into hyphens and anything other than letters, digits and hyphens dropped ("VIP Partners" becomes vip-partners). No two groups in a program can have the same key. Renaming changes the key, so sign-up links with the old key no longer lead to this group.

Required string length: 1 - 255
description
string | null

Short description of the group that partners see on its sign-up page, up to 200 characters. null clears it. Changing it also clears the translations added in the dashboard, so partners see this text in every language until new ones are added.

Maximum string length: 200
website_url
string<uri> | null

Website the referral links of the group's partners point to, starting with http:// or https://. null goes back to the program's website. Changing it from one website to another also moves the short links of the group's partners that point to the old website onto the new one: links to the old website's own page go to the new website's page, and links to other pages keep their page. A change of only http/https, www, the domain's letter case or a trailing slash moves no links.

Maximum string length: 2048
Pattern: ^https?:\/\/[^\s/\\]\S*$
is_private
boolean

true makes people who sign up through the group's link pending until you approve them; invited partners still join as active.

minimum_payout
integer | null

Balance a partner in the group must reach before they are paid, as an integer in minor units of the program currency (5000 = 50.00), 0 or more. Above 16777216 it has to be an amount the database stores exactly, such as a round one (20000000). null goes back to the program's minimum.

Required range: 0 <= x <= 9007199254740991
is_default
boolean

true makes this the program's default group, which people join when they sign up without a group link. The previous default group stops being the default. A program always has a default group, so false is refused on the default group: make another group the default instead.

Response

The updated group

success
boolean
required
Example:

true

message
string
required
Example:

"Request successful"

data
object
required