> For the complete documentation index, see [llms.txt](https://helpcenter.channable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-nl/regels-bulkbewerken-en-verrijken/how-to-use-actions-then-in-rules/itemacties/rule-action-remove-duplicate-items.md).

# Verwijder dubbele producten

Verwijder dubbele items of behoud één item op basis van een gekozen identifier en sorteervolgorde.

Gebruik **`Remove duplicate products`** om items met dezelfde identificatiecode te beheren.

Deze actie is handig voor taken zoals:

* Alle items met een dubbele identificatiecode verwijderen.
* Het item met de laagste of hoogste waarde uit elke groep met dubbele items behouden.

Kies het veld met de identificatiecode waarmee dubbele items worden herkend, zoals `id` of `gtin`.

### Beschikbare opties

Kies een van de volgende opties:

* `verwijder dubbele items`
* `behoud laagste`
* `behoud hoogste`

***

## Voorbeeld `Dubbele producten verwijderen` gebruiksscenario's

### Verwijder opnieuw gebruikte GTIN's

#### Hoe je een Regel aanmaakt

* Voorwaarde: **`Voor alle Items`**
* Actie: DAN **`Dubbele producten verwijderen`** op basis van `GTIN` `verwijder dubbele items`

Deze Regel verwijdert bijvoorbeeld beide Items met de `123` GTIN:

| GTIN | title                  |
| ---- | ---------------------- |
| 123  | Nike Air Max sneaker   |
| 123  | Adidas Classic sneaker |
| 654  | New Balance sneaker    |

### Behoud het product met de laagste prijs

#### Hoe je een Regel aanmaakt

* Voorwaarde: **`Voor alle Items`**
* Actie: DAN **`Dubbele producten verwijderen`** op basis van `id`&#x20;
  * `behoud laagste` van `price` en sorteer `numeriek`

Deze Items hebben bijvoorbeeld dezelfde `id`:

| id  | title                             | prijs  |
| --- | --------------------------------- | ------ |
| 234 | De ronde designtafel 100x100 cm   | 650.00 |
| 234 | De ronde designtafel 120x120 cm   | 750.00 |
| 234 | De ronde designtafel 140x140 cm   | 850.00 |
| 653 | De vierkante designtafel 50x50 cm | 500.00 |

Nadat de regel is uitgevoerd, blijft het item met de laagste prijs over voor elke `id`:

| id  | title                             | prijs  |
| --- | --------------------------------- | ------ |
| 234 | De ronde designtafel 100x100 cm   | 650.00 |
| 653 | De vierkante designtafel 50x50 cm | 500.00 |

{% hint style="info" %}

#### Belangrijke details

Selecteer **Sorteer nummers** wanneer je numerieke waarden vergelijkt, zoals prijzen. Duidelijk **Sorteer nummers** wanneer je tekstwaarden vergelijkt.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-nl/regels-bulkbewerken-en-verrijken/how-to-use-actions-then-in-rules/itemacties/rule-action-remove-duplicate-items.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
