The subscription to add.
Not all fields on the model are returned by default - you can request specific fields with a that looks something like ',(field name here).(child field name here or * for all)'. Note: the shape of the returned object may not match the model in this library if this string does not start with '' as shown.
Null if response status OK, or response body of validation errors if response status 400.
Remove a specific subscriber from an email list.
const client = new OutsetaApiClient({
subdomain: 'test-company',
apiKey: example_key,
secretKey: example_secret
});
const response = await client.marketing.emailListSubscriptions.delete({
EmailList: {
Uid: 'ngWKYnQp'
},
Person: {
Uid: 'wQXrBxWK'
}
});
console.log(response);
The 'EmailListPerson' object to delete.
Null if deletion was successful.
Get all subscriptions to a list:
const client = new OutsetaApiClient({
subdomain: 'test-company',
apiKey: example_key,
secretKey: example_secret
});
const response = await client.marketing.emailListSubscriptions.getAll(listUid);
console.log(response);
Not all fields on the model are returned by default - you can request specific fields with a that looks something like ',(field name here).(child field name here or * for all)'. Note: the shape of the returned object may not match the model in this library if this string does not start with '' as shown.
The number of results returned by the API.
For pagination; returns (limit) results after this value.
The response body if response status OK.
Generated using TypeDoc
Add a subscriber to a list with a new person:
Add a subscriber to a list with an existing person:
Response If the server returns a non-"OK" or non-"400" status, the whole response object will be thrown.