# Commercetools connector

> Connect Commercetools to Windsor.ai: 156 fields in 6 tables, and how to query them or send them to a destination.

The Commercetools connector pulls your Commercetools data into Windsor.ai. You can query it with one API, send it to a destination, or ask about it in Claude or ChatGPT.

## Connect Commercetools

1. Open [Commercetools in Windsor.ai](https://onboard.windsor.ai/app/commercetools) and sign in.
2. Authorize Commercetools, or enter the credentials that the screen asks for.
3. Select the accounts to include.

## Available data

156 fields in 6 tables.

| Table | Fields | Examples |
| --- | --- | --- |
| orders | 48 | orders.anonymousId, orders.billingAddress, orders.cart, orders.completedAt, orders.country |
| customers | 32 | customers.addresses, customers.authenticationMode, customers.billingAddressIds, customers.CompanyName, customers.createdAt |
| discount_codes | 24 | discount_codes.applicationVersion, discount_codes.attributeTypes, discount_codes.cartDiscounts, discount_codes.cartFieldTypes, discount_codes.code |
| Other | 21 | Account ID, Account Name, Data fetched at, Data Source, Date |
| payments | 16 | payments.amountPlanned, payments.anonymousId, payments.createdAt, payments.createdBy, payments.custom |
| products | 15 | products.createdAt, products.createdBy, products.id, products.key, products.lastMessageSequenceNumber |

The full list, with the type and description of each field, is at `https://connectors.windsor.ai/commercetools/fields`.

## Query the data

Request fields by their IDs. For example:

```url
https://connectors.windsor.ai/commercetools?api_key=YOUR_API_KEY&fields=date,orders__anonymousid,orders__billingaddress&date_preset=last_7d
```

## Next steps

- [Send the data to a destination](https://windsor.ai/documentation/destinations/index.md), such as Looker Studio, Google Sheets or BigQuery.
- [Connect Windsor.ai to Claude or ChatGPT](https://windsor.ai/documentation/mcp/index.md) and ask about your Commercetools data.
- [Fix a connection problem](https://windsor.ai/documentation/troubleshooting/index.md).
