# square fields

> The 214 fields of the square connector: field ID, name, type and description.

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

## bank_accounts

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `bank_accounts__account_number_suffix` | bank_accounts.account_number_suffix | `TEXT` | bank_accounts.account_number_suffix |
| `bank_accounts__account_type` | bank_accounts.account_type | `TEXT` | bank_accounts.account_type |
| `bank_accounts__bank_name` | bank_accounts.bank_name | `TEXT` | bank_accounts.bank_name |
| `bank_accounts__country` | bank_accounts.country | `TEXT` | bank_accounts.country |
| `bank_accounts__creditable` | bank_accounts.creditable | `BOOLEAN` | bank_accounts.creditable |
| `bank_accounts__currency` | bank_accounts.currency | `TEXT` | bank_accounts.currency |
| `bank_accounts__debitable` | bank_accounts.debitable | `BOOLEAN` | bank_accounts.debitable |
| `bank_accounts__holder_name` | bank_accounts.holder_name | `TEXT` | bank_accounts.holder_name |
| `bank_accounts__id` | bank_accounts.id | `TEXT` | bank_accounts.id |
| `bank_accounts__location_id` | bank_accounts.location_id | `TEXT` | bank_accounts.location_id |
| `bank_accounts__primary_bank_identification_number` | bank_accounts.primary_bank_identification_number | `TEXT` | bank_accounts.primary_bank_identification_number |
| `bank_accounts__status` | bank_accounts.status | `TEXT` | bank_accounts.status |
| `bank_accounts__version` | bank_accounts.version | `NUMERIC` | bank_accounts.version |

## cash_drawers

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `cash_drawers__closed_at` | cash_drawers.closed_at | `TIMESTAMP` | cash_drawers.closed_at |
| `cash_drawers__closed_cash_money` | cash_drawers.closed_cash_money | `OBJECT` | cash_drawers.closed_cash_money |
| `cash_drawers__description` | cash_drawers.description | `TEXT` | cash_drawers.description |
| `cash_drawers__ended_at` | cash_drawers.ended_at | `TIMESTAMP` | cash_drawers.ended_at |
| `cash_drawers__expected_cash_money` | cash_drawers.expected_cash_money | `OBJECT` | cash_drawers.expected_cash_money |
| `cash_drawers__id` | cash_drawers.id | `TEXT` | cash_drawers.id |
| `cash_drawers__opened_at` | cash_drawers.opened_at | `TIMESTAMP` | cash_drawers.opened_at |
| `cash_drawers__opened_cash_money` | cash_drawers.opened_cash_money | `OBJECT` | cash_drawers.opened_cash_money |
| `cash_drawers__state` | cash_drawers.state | `TEXT` | cash_drawers.state |

## categories

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `categories__category_data` | categories.category_data | `OBJECT` | categories.category_data |
| `categories__id` | categories.id | `TEXT` | categories.id |
| `categories__is_deleted` | categories.is_deleted | `BOOLEAN` | categories.is_deleted |
| `categories__present_at_all_locations` | categories.present_at_all_locations | `BOOLEAN` | categories.present_at_all_locations |
| `categories__type` | categories.type | `TEXT` | categories.type |
| `categories__updated_at` | categories.updated_at | `TIMESTAMP` | categories.updated_at |
| `categories__version` | categories.version | `NUMERIC` | categories.version |

## customers

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `customers__address` | customers.address | `OBJECT` | customers.address |
| `customers__birthday` | customers.birthday | `TEXT` | customers.birthday |
| `customers__cards` | customers.cards | `OBJECT` | customers.cards |
| `customers__company_name` | customers.company_name | `TEXT` | customers.company_name |
| `customers__created_at` | customers.created_at | `TIMESTAMP` | customers.created_at |
| `customers__creation_source` | customers.creation_source | `TEXT` | customers.creation_source |
| `customers__email_address` | customers.email_address | `TEXT` | customers.email_address |
| `customers__family_name` | customers.family_name | `TEXT` | customers.family_name |
| `customers__given_name` | customers.given_name | `TEXT` | customers.given_name |
| `customers__group_ids` | customers.group_ids | `OBJECT` | customers.group_ids |
| `customers__id` | customers.id | `TEXT` | customers.id |
| `customers__phone_number` | customers.phone_number | `TEXT` | customers.phone_number |
| `customers__preferences` | customers.preferences | `OBJECT` | customers.preferences |
| `customers__reference_id` | customers.reference_id | `TEXT` | customers.reference_id |
| `customers__segment_ids` | customers.segment_ids | `OBJECT` | customers.segment_ids |
| `customers__updated_at` | customers.updated_at | `TIMESTAMP` | customers.updated_at |
| `customers__version` | customers.version | `NUMERIC` | customers.version |

## discounts

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `discounts__discount_data` | discounts.discount_data | `OBJECT` | discounts.discount_data |
| `discounts__id` | discounts.id | `TEXT` | discounts.id |
| `discounts__is_deleted` | discounts.is_deleted | `BOOLEAN` | discounts.is_deleted |
| `discounts__present_at_all_locations` | discounts.present_at_all_locations | `BOOLEAN` | discounts.present_at_all_locations |
| `discounts__present_at_location_ids` | discounts.present_at_location_ids | `OBJECT` | discounts.present_at_location_ids |
| `discounts__type` | discounts.type | `TEXT` | discounts.type |
| `discounts__updated_at` | discounts.updated_at | `TIMESTAMP` | discounts.updated_at |
| `discounts__version` | discounts.version | `NUMERIC` | discounts.version |

## inventory

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `inventory__calculated_at` | inventory.calculated_at | `TIMESTAMP` | inventory.calculated_at |
| `inventory__catalog_object_id` | inventory.catalog_object_id | `TEXT` | inventory.catalog_object_id |
| `inventory__catalog_object_type` | inventory.catalog_object_type | `TEXT` | inventory.catalog_object_type |
| `inventory__location_id` | inventory.location_id | `TEXT` | inventory.location_id |
| `inventory__quantity` | inventory.quantity | `TEXT` | inventory.quantity |
| `inventory__state` | inventory.state | `TEXT` | inventory.state |

## items

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `items__custom_attribute_values` | items.custom_attribute_values | `OBJECT` | items.custom_attribute_values |
| `items__id` | items.id | `TEXT` | items.id |
| `items__image_id` | items.image_id | `TEXT` | items.image_id |
| `items__is_deleted` | items.is_deleted | `BOOLEAN` | items.is_deleted |
| `items__item_data` | items.item_data | `OBJECT` | items.item_data |
| `items__present_at_all_locations` | items.present_at_all_locations | `BOOLEAN` | items.present_at_all_locations |
| `items__present_at_location_ids` | items.present_at_location_ids | `OBJECT` | items.present_at_location_ids |
| `items__type` | items.type | `TEXT` | items.type |
| `items__updated_at` | items.updated_at | `TIMESTAMP` | items.updated_at |
| `items__version` | items.version | `NUMERIC` | items.version |

## locations

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `locations__address` | locations.address | `OBJECT` | locations.address |
| `locations__business_email` | locations.business_email | `TEXT` | locations.business_email |
| `locations__business_hours` | locations.business_hours | `OBJECT` | locations.business_hours |
| `locations__business_name` | locations.business_name | `TEXT` | locations.business_name |
| `locations__capabilities` | locations.capabilities | `OBJECT` | locations.capabilities |
| `locations__country` | locations.country | `TEXT` | locations.country |
| `locations__created_at` | locations.created_at | `TIMESTAMP` | locations.created_at |
| `locations__currency` | locations.currency | `TEXT` | locations.currency |
| `locations__description` | locations.description | `TEXT` | locations.description |
| `locations__facebook_url` | locations.facebook_url | `TEXT` | locations.facebook_url |
| `locations__id` | locations.id | `TEXT` | locations.id |
| `locations__instagram_username` | locations.instagram_username | `TEXT` | locations.instagram_username |
| `locations__language_code` | locations.language_code | `TEXT` | locations.language_code |
| `locations__mcc` | locations.mcc | `TEXT` | locations.mcc |
| `locations__merchant_id` | locations.merchant_id | `TEXT` | locations.merchant_id |
| `locations__name` | locations.name | `TEXT` | locations.name |
| `locations__phone_number` | locations.phone_number | `TEXT` | locations.phone_number |
| `locations__status` | locations.status | `TEXT` | locations.status |
| `locations__timezone` | locations.timezone | `TEXT` | locations.timezone |
| `locations__twitter_username` | locations.twitter_username | `TEXT` | locations.twitter_username |
| `locations__type` | locations.type | `TEXT` | locations.type |
| `locations__website_url` | locations.website_url | `TEXT` | locations.website_url |

## loyalty

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `loyalty__balance` | loyalty.balance | `NUMERIC` | loyalty.balance |
| `loyalty__created_at` | loyalty.created_at | `TIMESTAMP` | loyalty.created_at |
| `loyalty__customer_id` | loyalty.customer_id | `TEXT` | loyalty.customer_id |
| `loyalty__id` | loyalty.id | `TEXT` | loyalty.id |
| `loyalty__lifetime_points` | loyalty.lifetime_points | `NUMERIC` | loyalty.lifetime_points |
| `loyalty__mapping` | loyalty.mapping | `OBJECT` | loyalty.mapping |
| `loyalty__program_id` | loyalty.program_id | `TEXT` | loyalty.program_id |
| `loyalty__updated_at` | loyalty.updated_at | `TIMESTAMP` | loyalty.updated_at |

## modifier_list

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `modifier_list__id` | modifier_list.id | `TEXT` | modifier_list.id |
| `modifier_list__is_deleted` | modifier_list.is_deleted | `BOOLEAN` | modifier_list.is_deleted |
| `modifier_list__modifier_list_data` | modifier_list.modifier_list_data | `OBJECT` | modifier_list.modifier_list_data |
| `modifier_list__present_at_all_locations` | modifier_list.present_at_all_locations | `BOOLEAN` | modifier_list.present_at_all_locations |
| `modifier_list__type` | modifier_list.type | `TEXT` | modifier_list.type |
| `modifier_list__updated_at` | modifier_list.updated_at | `TIMESTAMP` | modifier_list.updated_at |
| `modifier_list__version` | modifier_list.version | `NUMERIC` | modifier_list.version |

## orders

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `orders__closed_at` | orders.closed_at | `TIMESTAMP` | orders.closed_at |
| `orders__created_at` | orders.created_at | `TIMESTAMP` | orders.created_at |
| `orders__customer_id` | orders.customer_id | `TEXT` | orders.customer_id |
| `orders__discounts` | orders.discounts | `OBJECT` | orders.discounts |
| `orders__fulfillments` | orders.fulfillments | `OBJECT` | orders.fulfillments |
| `orders__id` | orders.id | `TEXT` | orders.id |
| `orders__line_items` | orders.line_items | `OBJECT` | orders.line_items |
| `orders__location_id` | orders.location_id | `TEXT` | orders.location_id |
| `orders__net_amounts` | orders.net_amounts | `OBJECT` | orders.net_amounts |
| `orders__net_amounts__total_money__amount` | orders.net_amounts.total_money.amount | `NUMERIC` | orders.net_amounts.total_money.amount |
| `orders__net_amounts__total_money__currency` | orders.net_amounts.total_money.currency | `TEXT` | orders.net_amounts.total_money.currency |
| `orders__refunds` | orders.refunds | `OBJECT` | orders.refunds |
| `orders__return_amounts` | orders.return_amounts | `OBJECT` | orders.return_amounts |
| `orders__returns` | orders.returns | `OBJECT` | orders.returns |
| `orders__service_charges` | orders.service_charges | `OBJECT` | orders.service_charges |
| `orders__source` | orders.source | `OBJECT` | orders.source |
| `orders__state` | orders.state | `TEXT` | orders.state |
| `orders__taxes` | orders.taxes | `OBJECT` | orders.taxes |
| `orders__tenders` | orders.tenders | `OBJECT` | orders.tenders |
| `orders__total_discount_money` | orders.total_discount_money | `OBJECT` | orders.total_discount_money |
| `orders__total_money` | orders.total_money | `OBJECT` | orders.total_money |
| `orders__total_service_charge_money` | orders.total_service_charge_money | `OBJECT` | orders.total_service_charge_money |
| `orders__total_tax_money` | orders.total_tax_money | `OBJECT` | orders.total_tax_money |
| `orders__total_tip_money` | orders.total_tip_money | `OBJECT` | orders.total_tip_money |
| `orders__updated_at` | orders.updated_at | `TIMESTAMP` | orders.updated_at |
| `orders__version` | orders.version | `NUMERIC` | orders.version |

## payments

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `payments__amount_money` | payments.amount_money | `OBJECT` | payments.amount_money |
| `payments__amount_money__amount` | payments.amount_money.amount | `NUMERIC` | payments.amount_money.amount |
| `payments__amount_money__currency` | payments.amount_money.currency | `TEXT` | payments.amount_money.currency |
| `payments__approved_money` | payments.approved_money | `OBJECT` | payments.approved_money |
| `payments__approved_money__amount` | payments.approved_money.amount | `NUMERIC` | payments.approved_money.amount |
| `payments__approved_money__currency` | payments.approved_money.currency | `TEXT` | payments.approved_money.currency |
| `payments__card_details` | payments.card_details | `OBJECT` | payments.card_details |
| `payments__created_at` | payments.created_at | `TIMESTAMP` | payments.created_at |
| `payments__customer_id` | payments.customer_id | `TEXT` | payments.customer_id |
| `payments__delay_action` | payments.delay_action | `TEXT` | payments.delay_action |
| `payments__delay_duration` | payments.delay_duration | `TEXT` | payments.delay_duration |
| `payments__delayed_until` | payments.delayed_until | `TEXT` | payments.delayed_until |
| `payments__employee_id` | payments.employee_id | `TEXT` | payments.employee_id |
| `payments__id` | payments.id | `TEXT` | payments.id |
| `payments__location_id` | payments.location_id | `TEXT` | payments.location_id |
| `payments__note` | payments.note | `TEXT` | payments.note |
| `payments__order_id` | payments.order_id | `TEXT` | payments.order_id |
| `payments__processing_fee` | payments.processing_fee | `OBJECT` | payments.processing_fee |
| `payments__receipt_number` | payments.receipt_number | `TEXT` | payments.receipt_number |
| `payments__receipt_url` | payments.receipt_url | `TEXT` | payments.receipt_url |
| `payments__refund_ids` | payments.refund_ids | `OBJECT` | payments.refund_ids |
| `payments__refunded_money` | payments.refunded_money | `OBJECT` | payments.refunded_money |
| `payments__risk_evaluation` | payments.risk_evaluation | `OBJECT` | payments.risk_evaluation |
| `payments__source_type` | payments.source_type | `TEXT` | payments.source_type |
| `payments__status` | payments.status | `TEXT` | payments.status |
| `payments__total_money` | payments.total_money | `OBJECT` | payments.total_money |
| `payments__total_money__amount` | payments.total_money.amount | `NUMERIC` | payments.total_money.amount |
| `payments__total_money__currency` | payments.total_money.currency | `TEXT` | payments.total_money.currency |
| `payments__updated_at` | payments.updated_at | `TIMESTAMP` | payments.updated_at |
| `payments__version_token` | payments.version_token | `TEXT` | payments.version_token |

## refunds

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `refunds__amount_money` | refunds.amount_money | `OBJECT` | refunds.amount_money |
| `refunds__created_at` | refunds.created_at | `TIMESTAMP` | refunds.created_at |
| `refunds__id` | refunds.id | `TEXT` | refunds.id |
| `refunds__location_id` | refunds.location_id | `TEXT` | refunds.location_id |
| `refunds__order_id` | refunds.order_id | `TEXT` | refunds.order_id |
| `refunds__payment_id` | refunds.payment_id | `TEXT` | refunds.payment_id |
| `refunds__processing_fee` | refunds.processing_fee | `OBJECT` | refunds.processing_fee |
| `refunds__reason` | refunds.reason | `TEXT` | refunds.reason |
| `refunds__status` | refunds.status | `TEXT` | refunds.status |
| `refunds__updated_at` | refunds.updated_at | `TIMESTAMP` | refunds.updated_at |

## shifts

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `shifts__breaks` | shifts.breaks | `OBJECT` | shifts.breaks |
| `shifts__created_at` | shifts.created_at | `TIMESTAMP` | shifts.created_at |
| `shifts__employee_id` | shifts.employee_id | `TEXT` | shifts.employee_id |
| `shifts__end_at` | shifts.end_at | `TIMESTAMP` | shifts.end_at |
| `shifts__id` | shifts.id | `TEXT` | shifts.id |
| `shifts__location_id` | shifts.location_id | `TEXT` | shifts.location_id |
| `shifts__start_at` | shifts.start_at | `TIMESTAMP` | shifts.start_at |
| `shifts__status` | shifts.status | `TEXT` | shifts.status |
| `shifts__team_member_id` | shifts.team_member_id | `TEXT` | shifts.team_member_id |
| `shifts__timezone` | shifts.timezone | `TEXT` | shifts.timezone |
| `shifts__updated_at` | shifts.updated_at | `TIMESTAMP` | shifts.updated_at |
| `shifts__version` | shifts.version | `NUMERIC` | shifts.version |
| `shifts__wage` | shifts.wage | `OBJECT` | shifts.wage |

## taxes

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `taxes__absent_at_location_ids` | taxes.absent_at_location_ids | `OBJECT` | taxes.absent_at_location_ids |
| `taxes__id` | taxes.id | `TEXT` | taxes.id |
| `taxes__is_deleted` | taxes.is_deleted | `BOOLEAN` | taxes.is_deleted |
| `taxes__present_at_all_locations` | taxes.present_at_all_locations | `BOOLEAN` | taxes.present_at_all_locations |
| `taxes__tax_data` | taxes.tax_data | `OBJECT` | taxes.tax_data |
| `taxes__type` | taxes.type | `TEXT` | taxes.type |
| `taxes__updated_at` | taxes.updated_at | `TIMESTAMP` | taxes.updated_at |
| `taxes__version` | taxes.version | `NUMERIC` | taxes.version |

## team_member_wages

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `team_member_wages__hourly_rate` | team_member_wages.hourly_rate | `OBJECT` | team_member_wages.hourly_rate |
| `team_member_wages__id` | team_member_wages.id | `TEXT` | team_member_wages.id |
| `team_member_wages__team_member_id` | team_member_wages.team_member_id | `TEXT` | team_member_wages.team_member_id |
| `team_member_wages__title` | team_member_wages.title | `TEXT` | team_member_wages.title |

## team_members

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `team_members__assigned_locations` | team_members.assigned_locations | `OBJECT` | team_members.assigned_locations |
| `team_members__created_at` | team_members.created_at | `TIMESTAMP` | team_members.created_at |
| `team_members__email_address` | team_members.email_address | `TEXT` | team_members.email_address |
| `team_members__family_name` | team_members.family_name | `TEXT` | team_members.family_name |
| `team_members__given_name` | team_members.given_name | `TEXT` | team_members.given_name |
| `team_members__id` | team_members.id | `TEXT` | team_members.id |
| `team_members__is_owner` | team_members.is_owner | `BOOLEAN` | team_members.is_owner |
| `team_members__phone_number` | team_members.phone_number | `TEXT` | team_members.phone_number |
| `team_members__reference_id` | team_members.reference_id | `TEXT` | team_members.reference_id |
| `team_members__status` | team_members.status | `TEXT` | team_members.status |
| `team_members__updated_at` | team_members.updated_at | `TIMESTAMP` | team_members.updated_at |

## 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 |
| `now` | Now | `TIMESTAMP` | Current timestamp |
| `source` | Source | `TEXT` | The name of the Windsor connector returning the row |
| `today` | Today | `DATE` | Today's date |
