# commercetools fields

> The 156 fields of the commercetools connector: field ID, name, type and description.

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

## customers

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `customers__addresses` | customers.addresses | `OBJECT` | customers.addresses |
| `customers__authenticationmode` | customers.authenticationMode | `TEXT` | customers.authenticationMode |
| `customers__billingaddressids` | customers.billingAddressIds | `OBJECT` | customers.billingAddressIds |
| `customers__companyname` | customers.CompanyName | `TEXT` | customers.CompanyName |
| `customers__createdat` | customers.createdAt | `TIMESTAMP` | customers.createdAt |
| `customers__createdby` | customers.createdBy | `OBJECT` | customers.createdBy |
| `customers__custom` | customers.custom | `OBJECT` | customers.custom |
| `customers__customergroup` | customers.customerGroup | `OBJECT` | customers.customerGroup |
| `customers__customernumber` | customers.customerNumber | `TEXT` | customers.customerNumber |
| `customers__dateofbirth` | customers.dateOfBirth | `DATE` | customers.dateOfBirth |
| `customers__defaultbillingaddressid` | customers.defaultBillingAddressId | `TEXT` | customers.defaultBillingAddressId |
| `customers__defaultshippingaddressid` | customers.defaultShippingAddressId | `TEXT` | customers.defaultShippingAddressId |
| `customers__email` | customers.email | `TEXT` | customers.email |
| `customers__externalid` | customers.externalId | `TEXT` | customers.externalId |
| `customers__firstname` | customers.firstname | `TEXT` | customers.firstName |
| `customers__id` | customers.id | `TEXT` | customers.id |
| `customers__isemailverified` | customers.isEmailVerified | `BOOLEAN` | customers.isEmailVerified |
| `customers__key` | customers.key | `TEXT` | customers.key |
| `customers__lastmessagesequencenumber` | customers.lastMessageSequenceNumber | `NUMERIC` | customers.lastMessageSequenceNumber |
| `customers__lastmodifiedat` | customers.lastModifiedAt | `TIMESTAMP` | customers.lastModifiedAt |
| `customers__lastmodifiedby` | customers.lastModifiedBy | `OBJECT` | customers.lastModifiedBy |
| `customers__lastname` | customers.lastname | `TEXT` | customers.lastName |
| `customers__locale` | customers.locale | `TEXT` | customers.locale |
| `customers__middlename` | customers.middleName | `TEXT` | customers.middleName |
| `customers__password` | customers.password | `TEXT` | customers.password |
| `customers__salutation` | customers.salutation | `TEXT` | customers.salutation |
| `customers__shippingaddressids` | customers.shippingAddressIds | `OBJECT` | customers.shippingAddressIds |
| `customers__stores` | customers.stores | `OBJECT` | customers.stores |
| `customers__title` | customers.title | `TEXT` | customers.title |
| `customers__vatid` | customers.vatId | `TEXT` | customers.vatId |
| `customers__version` | customers.version | `NUMERIC` | customers.version |
| `customers__versionmodifiedat` | customers.versionModifiedAt | `TIMESTAMP` | customers.versionModifiedAt |

## discount_codes

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `discount_codes__applicationversion` | discount_codes.applicationVersion | `NUMERIC` | discount_codes.applicationVersion |
| `discount_codes__attributetypes` | discount_codes.attributeTypes | `OBJECT` | discount_codes.attributeTypes |
| `discount_codes__cartdiscounts` | discount_codes.cartDiscounts | `OBJECT` | discount_codes.cartDiscounts |
| `discount_codes__cartfieldtypes` | discount_codes.cartFieldTypes | `OBJECT` | discount_codes.cartFieldTypes |
| `discount_codes__code` | discount_codes.code | `TEXT` | discount_codes.code |
| `discount_codes__createdat` | discount_codes.createdAt | `TIMESTAMP` | discount_codes.createdAt |
| `discount_codes__createdby` | discount_codes.createdBy | `OBJECT` | discount_codes.createdBy |
| `discount_codes__custom` | discount_codes.custom | `OBJECT` | discount_codes.custom |
| `discount_codes__customlineitemfieldtypes` | discount_codes.customLineItemFieldTypes | `OBJECT` | discount_codes.customLineItemFieldTypes |
| `discount_codes__description` | discount_codes.description | `OBJECT` | discount_codes.description |
| `discount_codes__groups` | discount_codes.groups | `OBJECT` | discount_codes.groups |
| `discount_codes__id` | discount_codes.id | `TEXT` | discount_codes.id |
| `discount_codes__isactive` | discount_codes.isActive | `BOOLEAN` | discount_codes.isActive |
| `discount_codes__lastmodifiedat` | discount_codes.lastModifiedAt | `TIMESTAMP` | discount_codes.lastModifiedAt |
| `discount_codes__lastmodifiedby` | discount_codes.lastModifiedBy | `OBJECT` | discount_codes.lastModifiedBy |
| `discount_codes__lineitemfieldtypes` | discount_codes.lineItemFieldTypes | `OBJECT` | discount_codes.lineItemFieldTypes |
| `discount_codes__maxapplications` | discount_codes.maxApplications | `NUMERIC` | discount_codes.maxApplications |
| `discount_codes__maxapplicationspercustomer` | discount_codes.maxApplicationsPerCustomer | `NUMERIC` | discount_codes.maxApplicationsPerCustomer |
| `discount_codes__name` | discount_codes.name | `OBJECT` | discount_codes.name |
| `discount_codes__references` | discount_codes.references | `OBJECT` | discount_codes.references |
| `discount_codes__validfrom` | discount_codes.validFrom | `TEXT` | discount_codes.validFrom |
| `discount_codes__validuntil` | discount_codes.validUntil | `TEXT` | discount_codes.validUntil |
| `discount_codes__version` | discount_codes.version | `NUMERIC` | discount_codes.version |
| `discount_codes__versionmodifiedat` | discount_codes.versionModifiedAt | `TIMESTAMP` | discount_codes.versionModifiedAt |

## orders

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `orders__anonymousid` | orders.anonymousId | `TEXT` | orders.anonymousId |
| `orders__billingaddress` | orders.billingAddress | `OBJECT` | orders.billingAddress |
| `orders__cart` | orders.cart | `OBJECT` | orders.cart |
| `orders__completedat` | orders.completedAt | `NUMERIC` | orders.completedAt |
| `orders__country` | orders.country | `COUNTRY` | orders.country |
| `orders__createdat` | orders.createdAt | `TIMESTAMP` | orders.createdAt |
| `orders__createdby` | orders.createdBy | `OBJECT` | orders.createdBy |
| `orders__custom` | orders.custom | `OBJECT` | orders.custom |
| `orders__customeremail` | orders.customerEmail | `TEXT` | orders.customerEmail |
| `orders__customergroup` | orders.customerGroup | `OBJECT` | orders.customerGroup |
| `orders__customerid` | orders.customerId | `TEXT` | orders.customerId |
| `orders__customlineitems` | orders.customLineItems | `OBJECT` | orders.customLineItems |
| `orders__directdiscounts` | orders.directDiscounts | `OBJECT` | orders.directDiscounts |
| `orders__discountcodes` | orders.discountCodes | `OBJECT` | orders.discountCodes |
| `orders__id` | orders.id | `TEXT` | orders.id |
| `orders__inventorymode` | orders.inventoryMode | `TEXT` | orders.inventoryMode |
| `orders__itemshippingaddresses` | orders.itemShippingAddresses | `OBJECT` | orders.itemShippingAddresses |
| `orders__lastmessagesequencenumber` | orders.lastMessageSequenceNumber | `NUMERIC` | orders.lastMessageSequenceNumber |
| `orders__lastmodifiedat` | orders.lastModifiedAt | `TIMESTAMP` | orders.lastModifiedAt |
| `orders__lastmodifiedby` | orders.lastModifiedBy | `OBJECT` | orders.lastModifiedBy |
| `orders__lineitems` | orders.lineItems | `OBJECT` | orders.lineItems |
| `orders__locale` | orders.locale | `TEXT` | orders.locale |
| `orders__ordernumber` | orders.orderNumber | `TEXT` | orders.orderNumber |
| `orders__orderstate` | orders.orderState | `TEXT` | orders.orderState |
| `orders__origin` | orders.origin | `TEXT` | orders.origin |
| `orders__paymentinfo` | orders.paymentInfo | `OBJECT` | orders.paymentInfo |
| `orders__paymentstate` | orders.paymentState | `TEXT` | orders.paymentState |
| `orders__refusedgifts` | orders.refusedGifts | `OBJECT` | orders.refusedGifts |
| `orders__returninfo` | orders.returnInfo | `OBJECT` | orders.returnInfo |
| `orders__shipmentstate` | orders.shipmentState | `TEXT` | orders.shipmentState |
| `orders__shipping` | orders.shipping | `OBJECT` | orders.shipping |
| `orders__shippingaddress` | orders.shippingAddress | `OBJECT` | orders.shippingAddress |
| `orders__shippinginfo` | orders.shippingInfo | `OBJECT` | orders.shippingInfo |
| `orders__shippingmode` | orders.shippingMode | `TEXT` | orders.shippingMode |
| `orders__shippingrateinput` | orders.shippingRateInput | `OBJECT` | orders.shippingRateInput |
| `orders__state` | orders.state | `OBJECT` | orders.state |
| `orders__store` | orders.store | `OBJECT` | orders.store |
| `orders__syncinfo` | orders.syncInfo | `OBJECT` | orders.syncInfo |
| `orders__taxcalculationmode` | orders.taxCalculationMode | `TEXT` | orders.taxCalculationMode |
| `orders__taxedprice` | orders.taxedPrice | `OBJECT` | orders.taxedPrice |
| `orders__taxedshippingprice` | orders.taxedShippingPrice | `OBJECT` | orders.taxedShippingPrice |
| `orders__taxmode` | orders.taxMode | `TEXT` | orders.taxMode |
| `orders__taxroundingmode` | orders.taxRoundingMode | `TEXT` | orders.taxRoundingMode |
| `orders__totalprice` | orders.totalPrice | `OBJECT` | orders.totalPrice |
| `orders__transactionfee` | orders.transactionFee | `BOOLEAN` | orders.transactionFee |
| `orders__type` | orders.type | `TEXT` | orders.type |
| `orders__version` | orders.version | `NUMERIC` | orders.version |
| `orders__versionmodifiedat` | orders.versionModifiedAt | `TIMESTAMP` | orders.versionModifiedAt |

## payments

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `payments__amountplanned` | payments.amountPlanned | `OBJECT` | payments.amountPlanned |
| `payments__anonymousid` | payments.anonymousId | `TEXT` | payments.anonymousId |
| `payments__createdat` | payments.createdAt | `TIMESTAMP` | payments.createdAt |
| `payments__createdby` | payments.createdBy | `OBJECT` | payments.createdBy |
| `payments__custom` | payments.custom | `OBJECT` | payments.custom |
| `payments__customer` | payments.customer | `OBJECT` | payments.customer |
| `payments__id` | payments.id | `TEXT` | payments.id |
| `payments__interfaceid` | payments.interfaceId | `TEXT` | payments.interfaceId |
| `payments__interfaceinteractions` | payments.interfaceInteractions | `OBJECT` | payments.interfaceInteractions |
| `payments__key` | payments.key | `TEXT` | payments.key |
| `payments__lastmodifiedat` | payments.lastModifiedAt | `TIMESTAMP` | payments.lastModifiedAt |
| `payments__lastmodifiedby` | payments.lastModifiedBy | `OBJECT` | payments.lastModifiedBy |
| `payments__paymentmethodinfo` | payments.paymentMethodInfo | `OBJECT` | payments.paymentMethodInfo |
| `payments__paymentstatus` | payments.paymentStatus | `OBJECT` | payments.paymentStatus |
| `payments__transactions` | payments.transactions | `OBJECT` | payments.transactions |
| `payments__version` | payments.version | `NUMERIC` | payments.version |

## products

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `products__createdat` | products.createdAt | `TIMESTAMP` | products.createdAt |
| `products__createdby` | products.createdBy | `OBJECT` | products.createdBy |
| `products__id` | products.id | `TEXT` | products.id |
| `products__key` | products.key | `TEXT` | products.key |
| `products__lastmessagesequencenumber` | products.lastMessageSequenceNumber | `NUMERIC` | products.lastMessageSequenceNumber |
| `products__lastmodifiedat` | products.lastModifiedAt | `TIMESTAMP` | products.lastModifiedAt |
| `products__lastmodifiedby` | products.lastModifiedBy | `OBJECT` | products.lastModifiedBy |
| `products__lastvariantid` | products.lastVariantId | `NUMERIC` | products.lastVariantId |
| `products__masterdata` | products.masterData | `OBJECT` | products.masterData |
| `products__producttype` | products.productType | `OBJECT` | products.productType |
| `products__reviewratingstatistics` | products.reviewRatingStatistics | `OBJECT` | products.reviewRatingStatistics |
| `products__state` | products.state | `OBJECT` | products.state |
| `products__taxcategory` | products.taxCategory | `OBJECT` | products.taxCategory |
| `products__version` | products.version | `NUMERIC` | products.version |
| `products__versionmodifiedat` | products.versionModifiedAt | `TIMESTAMP` | products.versionModifiedAt |

## Other

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `account_id` | Account ID | `TEXT` | Account ID. |
| `account_name` | Account Name | `TEXT` | Account name. |
| `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` | 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 |
