Vendor V2

Update vendor mapping

Changed on

Re-links your vendor IDs to existing Swipe records in bulk. Use this after changing IDs in your own system, so future calls don't create duplicate vendors.

post/v2/vendor/list

Request

  • Base URL
    https://app.getswipe.in/api/partner
  • URL
    https://app.getswipe.in/api/partner/v2/vendor/list
  • Auth
    HTTP bearer

Request body

Example request

{
  "vendor_mapping": [
    {
      "force_update": true
    }
  ]
}

Response

Updated successfully

successboolean

Success flag

messagestring

Response message

error_codestring

Error Code

errorsobject

Errors

Example response

{
  "success": true,
  "data": {
    "message": "No data found!"
  }
}

Changes