import Courier from '@trycourier/courier';
const client = new Courier({
apiKey: process.env['COURIER_API_KEY'], // This is the default and can be omitted
});
await client.profiles.update('user_id', {
patch: [
{
op: 'op',
path: 'path',
value: 'value',
},
],
});import Courier from '@trycourier/courier';
const client = new Courier({
apiKey: process.env['COURIER_API_KEY'], // This is the default and can be omitted
});
await client.profiles.update('user_id', {
patch: [
{
op: 'op',
path: 'path',
value: 'value',
},
],
});Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A unique identifier representing the user associated with the requested user profile.
List of patch operations to apply to the profile.
Show child attributes