# Mark listings as not duplicates

```http
POST https://api.synup.com/api/v4/locations/listings/mark-as-not-duplicate
```

This API removes the duplicate flag from one or more listings for a specific location.

**Behavior:**
- Allows correction of incorrectly flagged duplicates.
- Ensures that distinct business locations remain separately listed.

Source: https://developer.synup.com/api/listings/mark-listings-as-not-duplicates

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Content-Type` | string | required |  |

## Request body

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `input` | object | required |  |
| `input.locationId` | string | required | The unique identifier of the location |
| `input.listingItemIds` | array of string | required | Array of listing IDs to mark as not duplicates |

## Example request

```bash
curl -X POST 'https://api.synup.com/api/v4/locations/listings/mark-as-not-duplicate' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "input": {
    "locationId": "TG9jYXRpb246MjcyODc2",
    "listingItemIds": [
      "TGlzdGluZ0l0ZW06NDMzODcxMjY=",
      "TGlzdGluZ0l0ZW06NDMzODcxMzE="
    ]
  }
}'
```

## Responses

| Status | Description |
| --- | --- |
| `200` | Operation completed successfully |
| `400` | Bad request - invalid input parameters |
| `401` | Unauthorized - invalid or missing API key |
| `403` | Forbidden - insufficient permissions |
