Change your brand draft

Needs permission customer:write.

A JSON Merge Patch (RFC 7396): leave a field out to keep it, send null to clear it, send a value to change it. If-Match is required and must be the draft's ETag as you last read it; if somebody else saved since, the answer is 412 concurrent_change and nothing is written; without it, 428 precondition_required. Every field is checked: colours are #RRGGBB, links https only, the product name 2 to 40 characters, the legal footer up to 300, and text on the main colour must reach WCAG AA (4.5:1). fontLicenceConfirmed: true records you and the time as the licence confirmation an uploaded font needs. Flow-controlled settings (white label, Powered by Flow, allowances, domains) cannot be sent here. Changing the brand needs access to every organisation in the account, or being its owner (403 whole_customer_access_denied); canChange on the draft says whether you can.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

A JSON Merge Patch (RFC 7396) of the branding draft: a field left out stays as it is, a field sent as
null is removed, anything else replaces it. Field names match settings on the draft.
Flow-controlled fields (white label on, Powered by Flow, allowances) are not here and cannot be sent.
Which version it changes is the request's If-Match, never a body field.

string

Required to publish. 2 to 40 characters.

string

Required to publish. Hex colour, #RRGGBB.

string | null

null derives it from the primary colour.

string | null
string
enum
Allowed:
string | null
string | null
string | null
string | null
string | null
boolean | null

true records the caller and the time as the licence confirmation. Required before an uploaded font can be published.

string | null
string | null
string | null

The logo on a dark background (an asset id from a Logo upload). Null uses the light one.

string | null

The icon on a dark background (an asset id from an IconMark upload). Null uses the light one.

string
enum
Allowed:
string | null

From a LoadingAnimation upload.

string | null

From a LoadingAnimation upload. Null uses the light one.

string
enum

The corners of the buttons in emails.

Allowed:
string
enum

How the top of each email looks.

Allowed:
string | null
string | null

https only.

string | null

The address of the account's own support page, which the payroll app shows in a panel. https only, without
a fragment. Null offers no support panel.

int32 | null

How wide, in pixels, the payroll app draws the support panel on a desktop: 360 to 720. Null uses 420. Phones always
show it at full width.

string | null

https only.

string | null

https only.

string
enum
Allowed:
string | null
string | null

The address every email comes from, such as [email protected], on one of the account's email domains
(GET /customer/branding/sender-options). Used while that domain is verified; removed, emails come from
noreply@ the account's first verified domain, or Flow's standard address when it has none.

emailSenderOverrides
object | null

Per kind of email, keyed by email type (PayslipGeneratedEvent, P60GeneratedEvent, ...), the name,
address or reply-to it uses instead of the default. Merged key by key: an object changes the fields it names,
null puts that email back on the default, and keys left out are unchanged, so one request edits any number
of emails. null for the whole field puts every email back on the default.

accessMessages
object | null

What the payroll app tells the account's people when their role cannot change something, per permissions area
(employee, working-pattern, ... as GET /roles names them), in place of the app's own
"Ask whoever manages your access to change your role." Plain text, up to 200 characters, e.g. "Employee details
come from your HR system. Change them there." Merged key by key (RFC 7396): a string sets that area's sentence,
null or an empty string puts the area back on the app's wording, and areas left out are unchanged.
null for the whole field puts every area back.

string | null
string | null
string | null

Up to 300 characters.

boolean
boolean

Show the product name beside the logo in the app. With no logo the name always shows.

boolean

Show the product name beside the logo on the sign-in page. With no logo the name always shows.

boolean

Show the product name beside the logo in emails. With no logo the name always shows.

boolean

Show the product name beside the logo on payslips and letters. With no logo the name always shows.

Headers
string
required

The draft's ETag as you last read it, such as "4" (the same as version in quotes). 412 concurrent_change when somebody saved since; 428 precondition_required without it.

string
enum
Defaults to application/merge-patch+json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json