Customer

Update customer mapping

Changed on

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.

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

Request body

Example request

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

Response

Updated successfully

successboolean

Success flag

messagestring

Response message

Example response

{
  "success": true,
  "message": "Customer added successfully"
}

Changes