interface TapfiliateNodeParameters {
additionalFields?:
| {
addressUi?: {
addressValues: {
address?: string;
address_two?: string;
city?: string;
country?: string;
postal_code?: string;
state?: string;
};
};
companyName?: string;
}
| { approved?: boolean; coupon?: string };
affiliateId?: string;
email?: string;
filters?:
| {
affiliate_group_id?: string;
click_id?: string;
email?: string;
parentId?: string;
referral_code?: string;
source_id?: string;
}
| {
affiliate_group_id?: string;
email?: string;
parentId?: string;
source_id?: string;
};
firstname?: string;
key?: string;
lastname?: string;
limit?: number;
metadataUi?: {
metadataValues: { key?: string; value?: string }[];
};
operation?: | "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete"
| "approve"
| "disapprove";
programId?: string;
resource?: | "affiliate"
| "affiliateMetadata"
| "programAffiliate";
returnAll?: boolean;
value?: string;
}Properties§
§§§§§§§§§§§§§
readonly additional Fields?:
| {
addressUi?: {
addressValues: {
address?: string;
address_two?: string;
city?: string;
country?: string;
postal_code?: string;
state?: string;
};
};
companyName?: string;
}
| { approved?: boolean; coupon?: string }§
readonly affiliate Id?: stringThe ID of the affiliate
readonly email?: stringThe affiliate’s email
readonly filters?:
| {
affiliate_group_id?: string;
click_id?: string;
email?: string;
parentId?: string;
referral_code?: string;
source_id?: string;
}
| {
affiliate_group_id?: string;
email?: string;
parentId?: string;
source_id?: string;
}Default: {}
readonly firstname?: stringThe affiliate’s firstname
readonly key?: stringName of the metadata key to remove
readonly lastname?: stringThe affiliate’s lastname
readonly limit?: numberMax number of results to return Default: 100 Type options: {"minValue":1,"maxValue":1000}
readonly metadata Ui?: { ... }Meta data Default: {} Type options: {"multipleValues":true}
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete"
| "approve"
| "disapprove"Default: "create"
readonly program Id?: stringThe ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getPrograms"}
readonly resource?: "affiliate" | "affiliateMetadata" | "programAffiliate"Default: "affiliate"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly value?: stringValue to set for the metadata key
Default: {}