Update a group
Updates a partner group. Only the fields you send change. A new name also changes public_key, and a new website moves the short links of the group’s partners from the old website to the new one.
Body
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.
1 - 255Website 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.
2048^https?:\/\/[^\s/\\]\S*$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.
0 <= x <= 9007199254740991
