# firstpromoter fields

> The 121 fields of the firstpromoter connector: field ID, name, type and description.

Use the field ID in the `fields` parameter of a request to `https://connectors.windsor.ai/firstpromoter`. This list comes from `GET https://connectors.windsor.ai/firstpromoter/fields`; the same call returns it as JSON, with more detail.

## account

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `account_id` | Account ID | `TEXT` | The FirstPromoter account ID |
| `account_name` | Account Name | `TEXT` | The FirstPromoter account name |

## commission

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `commissions__amount` | FP Commission Amount | `NUMERIC` | The amount of the commission |
| `commissions__created_at` | Commission Created At | `TIMESTAMP` | When the commission was created |
| `commissions__id` | Commission ID | `TEXT` | The unique ID of the commission |
| `commissions__is_paid` | Is Paid | `BOOLEAN` | Whether the commission has been paid |
| `commissions__original_sale_amount` | FP Original Sale Amount | `NUMERIC` | The original sale amount before any adjustments |
| `commissions__sale_amount` | FP Sale Amount | `NUMERIC` | The sale amount that generated the commission |
| `commissions__status` | FP Commission Status | `TEXT` | The status of the commission (pending, approved, etc.) |
| `commissions__status_updated_at` | Commission Status Updated At | `TIMESTAMP` | When the commission status was last updated |
| `commissions__type` | FP Commission Type | `TEXT` | The type of commission (sale, tier, etc.) |

## payout

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `payouts__amount` | FP Payout Amount | `NUMERIC` | The amount of the payout |
| `payouts__campaign_color` | Payout Campaign Color | `TEXT` | The color of the campaign associated with the payout |
| `payouts__campaign_id` | Payout Campaign ID | `NUMERIC` | The ID of the campaign associated with the payout |
| `payouts__campaign_name` | Payout Campaign Name | `TEXT` | The name of the campaign associated with the payout |
| `payouts__created_at` | Payout Created At | `TIMESTAMP` | When the payout was created |
| `payouts__error` | Payout Error | `TEXT` | Error message if payout failed |
| `payouts__failed_at` | Payout Failed At | `TIMESTAMP` | When the payout failed |
| `payouts__id` | FirstPromoter Payout ID | `TEXT` | The unique ID of the payout |
| `payouts__invoice_id` | Payout Invoice ID | `NUMERIC` | The ID of the invoice associated with the payout |
| `payouts__invoice_number` | Payout Invoice Number | `TEXT` | The number of the invoice associated with the payout |
| `payouts__method_id` | Payout Method ID | `NUMERIC` | The ID of the payout method |
| `payouts__method_is_disabled` | Payout Method Disabled | `BOOLEAN` | Whether the payout method is disabled |
| `payouts__method_method` | Payout Method Type | `TEXT` | The type of payout method |
| `payouts__paid_at` | Payout Paid At | `TIMESTAMP` | When the payout was paid |
| `payouts__payments_batch_id` | Payout Payments Batch ID | `NUMERIC` | The payments batch ID for the payout |
| `payouts__period_end` | Payout Period End | `DATE` | The end date of the payout period |
| `payouts__period_start` | Payout Period Start | `DATE` | The start date of the payout period |
| `payouts__processing_started_at` | Payout Processing Started At | `TIMESTAMP` | When payout processing started |
| `payouts__promoter_email` | Payout Promoter Email | `TEXT` | The email of the promoter receiving the payout |
| `payouts__promoter_id` | Payout Promoter ID | `NUMERIC` | The ID of the promoter receiving the payout |
| `payouts__promoter_name` | Payout Promoter Name | `TEXT` | The name of the promoter receiving the payout |
| `payouts__status` | Payout Status | `TEXT` | The status of the payout (pending, completed, failed, etc.) |
| `payouts__tax_rate` | Payout Tax Rate | `NUMERIC` | The tax rate applied to the payout |
| `payouts__total_incl_tax` | Payout Total Including Tax | `NUMERIC` | The total payout amount including tax |
| `payouts__unit` | Payout Unit | `TEXT` | The unit/currency of the payout |

## promoter

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `promoter__archived_at` | Archived At | `TIMESTAMP` | When the promoter was archived |
| `promoter__customer_id` | Promoter Customer ID | `TEXT` | The customer ID of the promoter |
| `promoter__email` | Promoter Email | `TEXT` | The email address of the promoter |
| `promoter__first_event_at` | First Event At | `TIMESTAMP` | When the first event occurred for the promoter |
| `promoter__fraud_suspicions` | Fraud Suspicions | `TEXT` | Array of fraud suspicion indicators for the promoter |
| `promoter__id` | Promoter ID | `TEXT` | The unique ID of the promoter |
| `promoter__invoice_details_status` | Invoice Details Status | `TEXT` | The status of invoice details |
| `promoter__is_confirmed` | Is Confirmed | `BOOLEAN` | Whether the promoter is confirmed |
| `promoter__is_customized` | Is Customized | `BOOLEAN` | Whether the promoter profile is customized |
| `promoter__joined_at` | Joined At | `TIMESTAMP` | When the promoter joined |
| `promoter__last_login_at` | Last Login At | `TIMESTAMP` | When the promoter last logged in |
| `promoter__name` | Name | `TEXT` | The name of the promoter |
| `promoter__note` | Note | `TEXT` | Notes about the promoter |
| `state` | State | `TEXT` | The state of the promoter (pending, active, etc.) |

## promoter_campaign

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `promoter__campaign_color` | Promoter Campaign Color | `TEXT` | The color of the campaign associated with the promoter |
| `promoter__campaign_coupon` | Promoter Campaign Coupon | `TEXT` | The coupon code for the promoter campaign |
| `promoter__campaign_created_at` | Promoter Campaign Created At | `TIMESTAMP` | When the promoter campaign association was created |
| `promoter__campaign_id` | Promoter Campaign ID | `TEXT` | The ID of the campaign associated with the promoter |
| `promoter__campaign_name` | Promoter Campaign Name | `TEXT` | The name of the campaign associated with the promoter |
| `promoter__campaign_reference_link` | Promoter Campaign Reference Link | `TEXT` | The reference link for the promoter campaign |
| `promoter__campaign_reference_token` | Promoter Campaign Reference Token | `TEXT` | The reference token for the promoter campaign |
| `promoter__campaign_state` | Promoter Campaign State | `TEXT` | The state of the campaign for the promoter |

## promoter_profile

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `promoter__profile_address` | Promoter Address | `TEXT` | The address of the promoter |
| `promoter__profile_avatar` | Promoter Avatar URL | `TEXT` | The avatar URL of the promoter |
| `promoter__profile_company_name` | Promoter Company Name | `TEXT` | The company name of the promoter |
| `promoter__profile_company_number` | Promoter Company Number | `TEXT` | The company number of the promoter |
| `promoter__profile_country` | Promoter Country | `COUNTRY` | The country of the promoter |
| `promoter__profile_description` | Promoter Description | `TEXT` | The description of the promoter |
| `promoter__profile_facebook_url` | Promoter Facebook URL | `TEXT` | The Facebook URL of the promoter |
| `promoter__profile_first_name` | Promoter First Name | `TEXT` | The first name of the promoter |
| `promoter__profile_id` | Promoter Profile ID | `TEXT` | The ID of the promoter profile |
| `promoter__profile_instagram_url` | Promoter Instagram URL | `TEXT` | The Instagram URL of the promoter |
| `promoter__profile_invoice_details_validation_errors` | Promoter Invoice Details Validation Errors | `TEXT` | Validation errors for the promoter's invoice details |
| `promoter__profile_last_name` | Promoter Last Name | `TEXT` | The last name of the promoter |
| `promoter__profile_linkedin_url` | Promoter LinkedIn URL | `TEXT` | The LinkedIn URL of the promoter |
| `promoter__profile_phone` | Promoter Phone Number | `TEXT` | The phone number of the promoter |
| `promoter__profile_should_validate_invoice_details` | Promoter Should Validate Invoice Details | `BOOLEAN` | Whether invoice details should be validated for this promoter |
| `promoter__profile_tiktok_url` | Promoter TikTok URL | `TEXT` | The TikTok URL of the promoter |
| `promoter__profile_twitch_url` | Promoter Twitch URL | `TEXT` | The Twitch URL of the promoter |
| `promoter__profile_twitter_url` | Promoter Twitter URL | `TEXT` | The Twitter URL of the promoter |
| `promoter__profile_vat_id` | Promoter VAT ID | `TEXT` | The VAT ID of the promoter |
| `promoter__profile_w8_form_url` | Promoter W8 Form URL | `TEXT` | The URL to the promoter's W8 form |
| `promoter__profile_w9_form_url` | Promoter W9 Form URL | `TEXT` | The URL to the promoter's W9 form |
| `promoter__profile_website` | Promoter Website | `TEXT` | The website of the promoter |
| `promoter__profile_youtube_url` | Promoter YouTube URL | `TEXT` | The YouTube URL of the promoter |

## promoter_stats

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `revenue_amount` | Revenue Amount | `NUMERIC` | Total revenue generated by the promoter |
| `stats_active_customers_count` | Active Customers Count | `NUMERIC` | Number of active customers referred by the promoter |
| `stats_clicks_count` | Clicks Count | `NUMERIC` | Number of clicks generated by the promoter |
| `stats_customers_count` | Customers Count | `NUMERIC` | Number of customers referred by the promoter |
| `stats_referrals_count` | Referrals Count | `NUMERIC` | Number of referrals generated by the promoter |
| `stats_sales_count` | Sales Count | `NUMERIC` | Number of sales generated by the promoter |

## referral

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `referrals__campaign_id` | Referral Campaign ID | `NUMERIC` | The campaign ID associated with this referral |
| `referrals__campaign_name` | Referral Campaign Name | `TEXT` | The name of the campaign associated with this referral |
| `referrals__created_at` | Referral Created At | `TIMESTAMP` | When the referral was created |
| `referrals__created_by_user_email` | Referral Created By User Email | `TEXT` | Email of the user who created this referral |
| `referrals__customer_since` | Referral Customer Since | `DATE` | When the referred user became a customer |
| `referrals__email` | Referral Email | `TEXT` | The email address of the referred customer |
| `referrals__entry_source` | Referral Entry Source | `TEXT` | How the referral was created (api, manual, etc.) |
| `referrals__fraud_check` | Referral Fraud Check | `TEXT` | The fraud check status of the referral |
| `referrals__id` | Referral ID | `TEXT` | The unique ID of the referral |
| `referrals__promoter_campaign_id` | Referral Promoter Campaign ID | `NUMERIC` | Direct reference to the promoter ID in the campaign |
| `referrals__promoter_email` | Referral Promoter Email | `TEXT` | The email address of the promoter who generated this referral |
| `referrals__promoter_id` | Referral Promoter ID | `NUMERIC` | The unique ID of the promoter who generated this referral |
| `referrals__promoter_name` | Referral Promoter Name | `TEXT` | The name of the promoter who generated this referral |
| `referrals__state` | Referral State | `TEXT` | The state of the referral (subscribed, active, cancelled, etc.) |
| `referrals__uid` | Referral UID | `TEXT` | The unique identifier of the referred customer |

## Other

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `data_fetched_at` | Data fetched at | `TIMESTAMP` | UTC timestamp (second precision) of when the connector request that pulled the row started. Freshly pulled rows show this request's start time; cache hits keep the start time of the request that filled the cache. Selecting this field disables aggregation, so rows are returned individually (each kee… |
| `datasource` | Data Source | `TEXT` | The name of the Windsor connector returning the row |
| `date` | Date | `DATE` | Generic date field in yyyy-mm-dd format. For promoters: joined date, for commissions/payouts/referrals: created date |
| `day_of_month` | Day of month | `TEXT` | Day of the month |
| `month` | Month | `TEXT` | Number of the month |
| `now` | Now | `TIMESTAMP` | Current timestamp |
| `source` | Source | `TEXT` | The name of the Windsor connector returning the row |
| `today` | Today | `DATE` | Today's date |
| `week` | Week | `TEXT` | Week (Sun-Sat). |
| `week_day` | Day of week and day number | `TEXT` | Weekday number and name combined (Sun-Sat).Numbered from 0 Sunday to 6 Saturday. |
| `week_day_iso` | Day of week and day number, ISO | `TEXT` | Weekday number and name combined, ISO format (Mon-Sun).Numbered from 1 Monday to 7 |
| `week_iso` | Week ISO | `TEXT` | Week, ISO format (Mon-Sun). |
| `year` | Year | `TEXT` | Year |
| `year_month` | Yearmonth | `TEXT` | Year and month, e.g. 2024\|3 |
| `year_month_name` | Year month name | `TEXT` | Year and month with the month name written out, e.g. "Jan 2025". |
| `year_of_week` | Year of week | `TEXT` | The year that contains first day of the week (Sun-Sat). |
| `year_of_week_iso` | Year of week, ISO | `TEXT` | The year that contains first day of the ISO week (Mon-Sun). |
| `year_week` | Year week | `TEXT` | Year and week for US weeks (Sun-Sat), e.g. 2024\|15 |
| `year_week_iso` | Year week ISO | `TEXT` | Year and week for ISO weeks (Mon-Sun), e.g. 2024\|20 |
