---
title: "Update customer mapping"
method: POST
path: "/v1/customer/list"
tags: ["Customer"]
---

# Update customer mapping

`POST /v1/customer/list`

## Request

- Base URL: `https://app.getswipe.in/api/partner`
- URL: `https://app.getswipe.in/api/partner/v1/customer/list`
- Auth: HTTP bearer

**v1 is deprecated — use the v2 endpoint instead.** Re-links your customer IDs to existing Swipe records in bulk. Use this after changing IDs in your own system, so future calls don't create duplicate customers.

## Request body

- ListCustomerMapModel
  - `customer_mapping` CustomerMapModel[], required
    - `customer_id` string, required: Customer ID
    - `swipe_id` string, required: Swipe ID
    - `force_update` boolean: Updates even if the customer id is already mapped with other swipe id, no customer details will be updated

## Response `200`

Updated successfully

- CustomerResponse
  - `success` boolean: Success flag
  - `message` string: Response message

## Other responses

- `400`: Error in mapping Customer List
- `401`: Unauthorized
- `409`: Error in mapping Customer List
- `500`: Internal Server Error

## Changes

- **2026-11-03** `0bcdbc62187b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getswipe/apis/swipeapi/changes/v1/customer/list/post.md)

---

[API](https://skmtc.dev/getswipe/apis/swipeapi.md) - [All operations](https://skmtc.dev/getswipe/apis/swipeapi/llms.txt) - [OpenAPI document](https://skmtc.dev/getswipe/apis/swipeapi/revisions/0bcdbc62187b?raw)
