> ## Documentation Index
> Fetch the complete documentation index at: https://docs.interchange.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete buyer mapping

> Remove a buyer-to-GAM advertiser routing override

`DELETE /api/v2/storefront/esa/{esaId}/buyer-advertiser-mappings/{mappingId}`

Removes a per-buyer routing override from a GAM-backed embedded sales agent. After deletion, that buyer falls back to the storefront default advertiser on its next request.

## Request

<CodeGroup>
  ```bash curl theme={null}
  curl -X DELETE https://api.interchange.io/api/v2/storefront/esa/123/buyer-advertiser-mappings/map-abc \
    -H "Authorization: Bearer $SCOPE3_API_KEY"
  ```
</CodeGroup>

## Parameters

| Field       | Type    | Required | Notes                                                                                          |
| ----------- | ------- | -------- | ---------------------------------------------------------------------------------------------- |
| `esaId`     | integer | Yes      | Path. Embedded sales-agent connection id                                                       |
| `mappingId` | string  | Yes      | Path. Mapping id from [list](/v2/storefront/buyer-routing/tasks/list-buyer-mappings) or create |

## Response

Returns `204 No Content` with an empty body. The buyer now resolves through the default advertiser.

## Errors

* `400 VALIDATION_ERROR` — `esaId` is not a positive integer, `mappingId` is empty, or the ESA is not Google Ad Manager-backed.

See [Errors](/v2/reference/errors) for the full error contract.

## Related

<CardGroup cols={2}>
  <Card title="Buyer routing tasks" href="/v2/storefront/buyer-routing/tasks" icon="list-check">
    All buyer-routing operations
  </Card>

  <Card title="List buyer mappings" href="/v2/storefront/buyer-routing/tasks/list-buyer-mappings" icon="table-list">
    Find the mapping id
  </Card>

  <Card title="Set default advertiser" href="/v2/storefront/buyer-routing/tasks/set-default-advertiser" icon="star">
    The fallback after deletion
  </Card>

  <Card title="List recent buyers" href="/v2/storefront/buyer-routing/tasks/list-recent-buyers" icon="clock-rotate-left">
    Confirm how the buyer now resolves
  </Card>
</CardGroup>
