> For the complete documentation index, see [llms.txt](https://docs.fullwhere.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fullwhere.com/developer/use-cases/send-a-survey-on-your-side.md).

# Send a Survey on your side

This use case shows how to get a Fullwhere survey link for a specific customer and purchase, so you can handle the survey sending on your side, **without triggering the automatic sending** process.

#### 1. Import the customer

Start by importing a customer in Fullwhere.\
This entity contains the customer’s basic information (name, email, etc.) and will be used to link future purchases and surveys to the right customer.

> **API Reference:** [`POST partners/customers`](/developer/api-references/customer.md#post-partners-customer)

***

#### 2. Import the purchase

Next, import a purchase linked to this customer.\
The purchase includes transaction details (amount, date, etc.) and must be linked to the customer you just imported with the `customerId` field.

> **API Reference:** [`POST partners/purchases`](/developer/api-references/purchase.md#post-partners-purchase)

When creating the purchase, set the query parameter `allowSurvey` to **false**:

```json
"allowSurvey": false
```

In this case, **Fullwhere will not send the survey automatically**.\
Instead, Fullwhere makes the survey available for this purchase, allowing you to **retrieve the survey link** and send it to the customer through your own communication channels (email, SMS, etc.).

***

#### 3. Retrieve the survey link

Once you have imported the customer and the purchase, you can retrieve the unique survey URL by generating a `Survey Tracker`.\
You can then distribute this link directly to the customer from your own system.

> **API Reference:** [`POST /partners/survey-tracker/generate`](/developer/api-references/survey-tracker.md#post-partners-survey-tracker-generate)

***

This approach gives you full control over how and when the survey is delivered to the customer.\
When the customer completes the survey, all responses are automatically synchronized and available within Fullwhere.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.fullwhere.com/developer/use-cases/send-a-survey-on-your-side.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
