---
updatedAt: 2026-06-16T12:56:40.000Z
agentTools:
  projectIndex: https://docs.bamboopayment.com/llms.txt
---

# Update Customer

<br />

| Environment    | Endpoint                                                   |
| -------------- | ---------------------------------------------------------- |
| **Staging**    | `https://api.stage.bamboopayment.com/v3/api/Customer/{id}` |
| **Production** | `https://api.bamboopayment.com/v3/api/Customer/{id}`       |

<br />

<Callout icon="📘" theme="info">
  For a full overview of customer fields and usage scenarios, refer to the [Customer guide](/docs/customer-management). It provides context on how customer records are structured and how to work with stored payment profiles.
</Callout>

<br />

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Gateway.ServiceFacade.API",
    "version": "3"
  },
  "paths": {
    "/v3/api/Customer/{id}": {
      "put": {
        "tags": [
          "Customer"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutCustomerDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutCustomerDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutCustomerDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PutCustomerDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PutCustomerDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PutCustomerDto"
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ],
        "summary": "Update Customer"
      }
    }
  },
  "components": {
    "schemas": {
      "Address": {
        "type": "object",
        "properties": {
          "Country": {
            "type": "string",
            "nullable": true
          },
          "State": {
            "type": "string",
            "nullable": true
          },
          "AddressDetail": {
            "type": "string",
            "nullable": true
          },
          "PostalCode": {
            "type": "string",
            "nullable": true
          },
          "City": {
            "type": "string",
            "nullable": true
          },
          "CountryIsoCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PutCustomerDto": {
        "required": [
          "FirstName"
        ],
        "type": "object",
        "properties": {
          "FirstName": {
            "type": "string"
          },
          "LastName": {
            "type": "string",
            "nullable": true
          },
          "PhoneNumber": {
            "type": "string",
            "nullable": true
          },
          "Address": {
            "$ref": "#/components/schemas/Address"
          },
          "DocumentType": {
            "type": "string",
            "nullable": true
          },
          "DocumentNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "description": "Commerce account Private Key",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.bamboopayment.com"
    }
  ],
  "x-readme": {}
}
```