---
updatedAt: 2025-10-29T15:53:35.000Z
agentTools:
  projectIndex: https://docs.ecartpay.com/llms.txt
---

# Update Customer

Updates the information from an existing customer. Updated email or phone number must not be associated to any other existing customer within the same merchant.

> 📘 Visit our Documentation to learn more about [Customers](https://docs.ecartpay.com/docs/customers-1#/).

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Payments API, the best solution in LATAM for businesses | Ecart Pay Developers",
    "description": "**Ecart Pay** is a payment solution which unifies multiple payment processors into a single, easy to use, platform or API.\n\n**Why should I use Ecart Pay?**\n\n1.  Increase acceptance rate by using more than one payment processor.\n2.  Manage all your payments with a unified admin tool.\n3.  Create partial and complete refunds easily.\n4.  Issue invoices which comply with government requirements in every country.\n5.  Send payouts to bank accounts around the world.\n    \n\nIf your business accepts payments online, we are a right fit for you.\n\n**What makes Ecart Pay unique?**\n\nWe offer a 360 solution for [payments](https://docs.ecartpay.com/#16e69a32-46ca-4075-8c7d-b67e6df258fd), [payouts](https://docs.ecartpay.com/#db2cfd82-eca8-4531-a965-31e3da4a791f) and withdrawals with government compliance.\n\nWith Ecart Pay you can receive payments not only by credit and debit cards. Your customers will be able to pay in the supermarket, convenience stores, bank transfers and other local payment solutions that vary by country.\n\n**Which countries and currencies does Ecart Pay serve?**\n\n| **Currency** | **Country** |\n| --- | --- |\n| USD | USA |\n| INR | India |\n| MXN | Mexico |\n| BRL | Brasil |\n| COP | Colombia |\n| ARG | Argentina |\n| GTQ | Guatemala |\n| CLP | Chile |\n| PEN | Peru |\n| CAD | Canada |\n| EUR | Spain |\n| AUS | Australia |\n\n**And more countries coming soon!**",
    "version": "1.0.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://sandbox.ecartpay.com"
    }
  ],
  "paths": {
    "/api/customers/{id}": {
      "put": {
        "summary": "Update Customer",
        "description": "",
        "operationId": "put_apicustomers{id}",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "account_id": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string"
                    },
                    "first_name": {
                      "type": "string"
                    },
                    "last_name": {
                      "type": "string"
                    },
                    "phone": {
                      "type": "string"
                    },
                    "user_id": {
                      "type": "string"
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "updated_at": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "first_name": {
                    "type": "string"
                  },
                  "last_name": {
                    "type": "string"
                  },
                  "user_id": {
                    "type": "string"
                  },
                  "phone": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-readme": {}
}
```