const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
brandName: '<string>',
brandDescription: '<string>',
brandEmail: 'jsmith@example.com',
websiteUrl: '<string>',
emailLanguage: '<string>',
logoUrl: '<string>',
brandDesignSystem: {}
})
};
fetch('https://nudgen.net/api/v1/settings/brand', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));