> For the complete documentation index, see [llms.txt](https://help.citrusad.com/retail-media-interface/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.citrusad.com/retail-media-interface/integration/pt-br/integration/manage-customers-and-segments.md).

# Gerenciar vínculo de segmento de cliente

{% hint style="info" %}
Máximo de 100 segmentos por cliente.

Se você estiver sincronizando mais de 100 segmentos para um cliente, entre em contato com Epsilon. Se você exceder 100 segmentos por cliente, as solicitações de anúncios poderão ter um pooling de segmentos reduzido e truncar segmentos na solicitação.
{% endhint %}

## POST /customers/manage-segments

> Manage customer-segment linkage

```json
{"openapi":"3.1.0","info":{"title":"integration","version":"1"},"servers":[{"url":"https://integration-BASE-URL.citrusad.com/v1/"}],"security":[{"sec0":[]}],"components":{"securitySchemes":{"sec0":{"in":"header","name":"Authorization","type":"apiKey"}}},"paths":{"/customers/manage-segments":{"post":{"deprecated":false,"description":"","operationId":"manage-customers-and-segments","requestBody":{"content":{"application/json":{"schema":{"properties":{"customerId":{"description":"The unique identifier of the customer you are managing segments for.","type":"string"},"segments":{"items":{"properties":{"segmentIds":{"default":[],"description":"The list of Segment IDs the customer has access to.","items":{"type":"string"},"type":"array"}},"type":"object"},"type":"array"},"teamId":{"description":"The retailer teamId for the retailer the customer is within.","type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{}},"description":"200"},"400":{"content":{"application/json":{"schema":{"properties":{"additionalInfo":{"items":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"type":"object"},"type":"array"},"message":{"type":"string"}},"type":"object"}}},"description":"400"},"401":{"content":{"text/plain":{}},"description":"401"},"403":{"content":{"text/plain":{}},"description":"403"},"404":{"content":{"text/plain":{}},"description":"404"},"429":{"content":{"text/plain":{}},"description":"429"},"500":{"content":{"text/plain":{}},"description":"500"},"502":{"content":{"text/plain":{}},"description":"502"},"503":{"content":{"text/plain":{}},"description":"503"},"504":{"content":{"text/plain":{}},"description":"504"}},"summary":"Manage customer-segment linkage"}}}}
```


---

# 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://help.citrusad.com/retail-media-interface/integration/pt-br/integration/manage-customers-and-segments.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.
