---
updatedAt: 2026-06-19T16:07:00.000Z
---

# Customer (BigCommerce)

Updates a _Customer_.

**Important information:**

<ul><li><p><b>The customer's identifiers must exist.</b></p></li></ul>

[More information about the ecommerce's resource.](https://developer.bigcommerce.com/api-reference/108a5ba9c9794-update-a-customer)

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "BigCommerce"
  },
  "servers": [
    {
      "url": "https://api.ecartapi.com/api/v2"
    }
  ],
  "paths": {
    "/customers/{customerId}": {
      "put": {
        "summary": "Customer (BigCommerce)",
        "description": "Updates a _Customer_.\n\n**Important information:**\n\n<ul><li><p><b>The customer's identifiers must exist.</b></p></li></ul>\n\n[More information about the ecommerce's resource.](https://developer.bigcommerce.com/api-reference/108a5ba9c9794-update-a-customer)",
        "operationId": "update_customer_bigcommerce",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "customer": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "1"
                        },
                        "email": {
                          "type": "string",
                          "example": "fake@email.com"
                        },
                        "firstName": {
                          "type": "string",
                          "example": "Jane"
                        },
                        "lastName": {
                          "type": "string",
                          "example": "Doe"
                        },
                        "status": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "nullable": true
                            },
                            "status": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        "note": {
                          "type": "string",
                          "nullable": true
                        },
                        "phone": {
                          "type": "string",
                          "example": "8111111111"
                        },
                        "currency": {
                          "type": "string",
                          "nullable": true
                        },
                        "addresses": {
                          "type": "array",
                          "items": {
                            "type": "object"
                          }
                        },
                        "dates": {
                          "type": "object",
                          "properties": {
                            "createdAt": {
                              "type": "string",
                              "example": "2021-12-10T21:29:36Z"
                            },
                            "updatedAt": {
                              "type": "string",
                              "example": "2021-12-10T21:29:36Z"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "OK": {
                    "summary": "OK",
                    "value": {
                      "success": true,
                      "customer": {
                        "id": "2",
                        "email": "admin_12e431@ecartapi.com",
                        "firstName": "Excepte",
                        "lastName": "incidi",
                        "status": {
                          "id": null,
                          "status": null
                        },
                        "note": "undefined",
                        "phone": "quis ",
                        "currency": null,
                        "addresses": [],
                        "dates": {
                          "createdAt": "2021-12-10T21:48:55Z",
                          "updatedAt": "2021-12-10T21:49:53Z"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the customer."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "customer": {
                    "type": "object",
                    "properties": {
                      "firstName": {
                        "type": "string",
                        "description": "Customer first name"
                      },
                      "lastName": {
                        "type": "string",
                        "description": "Customer last name"
                      },
                      "email": {
                        "type": "string",
                        "description": "Customer email"
                      },
                      "phone": {
                        "type": "string",
                        "description": "Customer phone"
                      }
                    }
                  }
                }
              },
              "examples": {
                "New Example": {
                  "summary": "New Example",
                  "value": {
                    "customer": {
                      "email": "admin_12e431@ecartapi.com",
                      "firstName": "Excepte",
                      "lastName": "incidi",
                      "phone": "quis ",
                      "note": "adipisicing incididunt quis dolor"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Used to authenticate API requests after completing the store authorization or integration process. The access_token is generated once the e-commerce store grants access and must be included in every request header to validate the authorized connection."
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "security": [
    {
      "Authorization": []
    }
  ]
}
```