# Fairing (previously EnquireLabs)

## **Snapshot**

| **Features**                    | **Details**                               |
| ------------------------------- | ----------------------------------------- |
| Release Status                  | Released                                  |
| Source API Version              | v2                                        |
| Table Selection                 | Yes                                       |
| Column Selection                | Yes                                       |
| Edit Integrations               | Yes                                       |
| Replication Type Selection      | No                                        |
| Authentication Parameters       | API Key                                   |
| Replication Type                | <p>Key based incremental<br>Full Load</p> |
| Replication Key                 | Date                                      |
| Suggested Replication Frequency | 1 hr                                      |

## **Locating the API Key**

1\. Log in to Fairing (EnquireLabs) *OR*\
\
Log in to your **Shopify store** and go to **Apps**

![](https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FCSx4v3OmeH2tHREoyRGH%2Fimage.png?alt=media\&token=8d637d87-441f-461b-b476-cfcce746ca68)

Here you'll find **Fairing (EnquireLabs)**, then **click on it** and it should redirect you to Fairing (EnquireLabs)as a logged-in user.

2\.       After logging in, click on **Account,** you'll find your API credentials here in the 2nd section, use the **secret token** on Daton.

![Please enter secret token on Daton.](https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FD9c6KU2Fdi4nFSFzeXjI%2Fimage.png?alt=media\&token=295101a5-f214-464e-a098-624de0d29914)

## Fairing (EnquireLabs) **Tables**

Source documentation: <https://docs.enquirelabs.com/reference/api>

**1.       Questions**\
Purpose: To get a list of all the questions in your EnquireLabs account.\
Replication: Full Load.\
\
**Fields**

| **Field Name**          | **Datatype** |
| ----------------------- | ------------ |
| allow\_other            | BOOLEAN      |
| customer\_type          | STRING       |
| frequency\_type         | STRING       |
| id                      | NUMERIC      |
| inserted\_at            | TIMESTAMP    |
| other\_placeholder      | STRING       |
| prompt                  | STRING       |
| published\_at           | TIMESTAMP    |
| randomize\_responses    | BOOLEAN      |
| responses               | RECORD       |
| id                      | NUMERIC      |
| value                   | STRING       |
| clarification\_question | RECORD       |
| allow\_other            | BOOLEAN      |
| id                      | NUMERIC      |
| prompt                  | STRING       |
| randomize\_responses    | BOOLEAN      |
| responses               | RECORD       |
| type                    | STRING       |
| submit\_text            | STRING       |
| type                    | STRING       |
| updated\_at             | TIMESTAMP    |

**2.       Responses**\
Purpose: To get a list of all the responses received in your EnquireLabs.\
Replication: Incremental.\
Replication Key: since & until.\
\
**Fields**

|                                   |              |
| --------------------------------- | ------------ |
| **Field Name**                    | **Datatype** |
| utm\_source                       | STRING       |
| customer\_id                      | STRING       |
| inserted\_at                      | TIMESTAMP    |
| order\_currency\_code             | STRING       |
| response                          | STRING       |
| order\_total                      | STRING       |
| order\_id                         | STRING       |
| clarification\_question           | BOOLEAN      |
| email                             | STRING       |
| order\_platform                   | STRING       |
| response\_id                      | NUMERIC      |
| id                                | STRING       |
| other                             | BOOLEAN      |
| order\_total\_usd                 | STRING       |
| utm\_medium                       | STRING       |
| order\_source                     | STRING       |
| customer\_order\_count            | NUMERIC      |
| order\_number                     | STRING       |
| available\_responses              | STRING       |
| referring\_site                   | STRING       |
| updated\_at                       | TIMESTAMP    |
| question\_type                    | STRING       |
| submit\_delta                     | NUMERIC      |
| response\_provided\_at            | TIMESTAMP    |
| question\_id                      | NUMERIC      |
| question                          | STRING       |
| response\_position                | NUMERIC      |
| referring\_question               | STRING       |
| referring\_question\_response     | STRING       |
| referring\_question\_response\_id | NUMERIC      |
| referring\_question\_id           | NUMERIC      |
| coupon\_amount                    | STRING       |
| coupon\_type                      | STRING       |
| coupon\_code                      | STRING       |
| other\_response                   | STRING       |

\\
