---
title: "Update vendor mapping"
method: POST
path: "/v2/vendor/list"
tags: ["Vendor V2"]
---

# Update vendor mapping

`POST /v2/vendor/list`

## Request body

- ListVendorMapModel
  - `vendor_mapping` VendorMapModel[], required
    - `vendor_id` string, required — Vendor ID
    - `swipe_id` string, required — Swipe ID
    - `force_update` boolean — Updates even if the vendor id is already mapped with other swipe id, no vendor details will be updated

## Response `200`

Updated successfully

- VendorResponseV2
  - `success` boolean — Success flag
  - `message` string — Response message
  - `error_code` string — Error Code
  - `errors` object — Errors
  - `data` EmptyData
    - `message` string — Response message

## Other responses

- `400` — Error in mapping Vendor List
- `401` — Unauthorized
- `409` — Error in mapping Vendor List
- `500` — Internal Server Error

---

[API](https://skmtc.dev/getswipe/apis/swipeapi.md) · [All operations](https://skmtc.dev/getswipe/apis/swipeapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getswipe/swipeapi/revisions/80fcaf1a3463/schema)
