---
updatedAt: 2026-11-13T21:05:22.000Z
agentTools:
  projectIndex: https://developers.zenbooker.com/llms.txt
---

# Add an address to a customer

Adds a new address record to an existing customer.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "zenbooker-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.zenbooker.com/v1/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/customers/{id}/addresses": {
      "post": {
        "summary": "Add an address to a customer",
        "description": "Adds a new address record to an existing customer.",
        "operationId": "add-an-address-to-a-customer",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The ID of the customer to add an address to.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "line1",
                  "city",
                  "state"
                ],
                "properties": {
                  "line1": {
                    "type": "string",
                    "description": "The street address. E.g. `123 Example St`."
                  },
                  "line2": {
                    "type": "string",
                    "description": "Apartment/unit/floor number."
                  },
                  "city": {
                    "type": "string",
                    "description": "The name of the city or town. E.g. `Baltimore`."
                  },
                  "state": {
                    "type": "string",
                    "description": "The name or code of the state/region. E.g. `Maryland` or `MD`."
                  },
                  "postal_code": {
                    "type": "string",
                    "description": "The ZIP code or postcode of the address."
                  },
                  "is_default_address_for_customer": {
                    "type": "boolean",
                    "description": "Pass `true` to make this new address the default address for the customer."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"name\": \"Elizabeth Bishop\",\n  \"phone\": null,\n  \"email\": \"ya.bishop@example.com\",\n  \"notes\": [],\n  \"addresses\": [\n    {\n      \"formatted\": \"4340 Connecticut Ave NW, Unit 2, Washington, DC 20008, USA\",\n      \"line1\": \"4340 Connecticut Avenue Northwest\",\n      \"line2\": \"Unit 2\",\n      \"city\": \"Washington\",\n      \"state\": \"District of Columbia\",\n      \"postal_code\": \"20008\",\n      \"lat\": 38.946214,\n      \"lng\": -77.065222,\n      \"nickname\": null,\n      \"is_default_address_for_customer\": false,\n      \"id\": \"1633924525106x388926612313997300\"\n    },\n    {\n      \"formatted\": \"7301 Loch Edin Ct, Potomac, MD 20854, USA\",\n      \"line1\": \"7301 Loch Edin Court\",\n      \"line2\": null,\n      \"city\": \"Potomac\",\n      \"state\": \"Maryland\",\n      \"postal_code\": \"20854\",\n      \"lat\": 38.9830891,\n      \"lng\": -77.20391289999999,\n      \"nickname\": null,\n      \"is_default_address_for_customer\": true,\n      \"id\": \"1634270937784x542779273710302800\"\n    }\n  ],\n  \"jobs\": [\n    \"1633924629397x126349539940739060\",\n    \"1633924652345x144735610192903170\",\n    \"1633924703232x275819003259168100\",\n    \"1633924754230x881008443847167000\",\n    \"1633959030423x796834142308424600\"\n  ],\n  \"recurring_bookings\": [\n    \"1633924636599x902147450662800000\"\n  ],\n  \"stripe_customer_id\": \"cus_KO1pAAdBSrkfJf\",\n  \"created\": \"2021-10-11T03:55:28.018Z\",\n  \"id\": \"1633924525106x595176034560376800\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "example": "Elizabeth Bishop"
                    },
                    "phone": {},
                    "email": {
                      "type": "string",
                      "example": "ya.bishop@example.com"
                    },
                    "notes": {
                      "type": "array"
                    },
                    "addresses": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "formatted": {
                            "type": "string",
                            "example": "4340 Connecticut Ave NW, Unit 2, Washington, DC 20008, USA"
                          },
                          "line1": {
                            "type": "string",
                            "example": "4340 Connecticut Avenue Northwest"
                          },
                          "line2": {
                            "type": "string",
                            "example": "Unit 2"
                          },
                          "city": {
                            "type": "string",
                            "example": "Washington"
                          },
                          "state": {
                            "type": "string",
                            "example": "District of Columbia"
                          },
                          "postal_code": {
                            "type": "string",
                            "example": "20008"
                          },
                          "lat": {
                            "type": "number",
                            "example": 38.946214,
                            "default": 0
                          },
                          "lng": {
                            "type": "number",
                            "example": -77.065222,
                            "default": 0
                          },
                          "nickname": {},
                          "is_default_address_for_customer": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "id": {
                            "type": "string",
                            "example": "1633924525106x388926612313997300"
                          }
                        }
                      }
                    },
                    "jobs": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "1633924629397x126349539940739060"
                      }
                    },
                    "recurring_bookings": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "1633924636599x902147450662800000"
                      }
                    },
                    "stripe_customer_id": {
                      "type": "string",
                      "example": "cus_KO1pAAdBSrkfJf"
                    },
                    "created": {
                      "type": "string",
                      "example": "2021-10-11T03:55:28.018Z"
                    },
                    "id": {
                      "type": "string",
                      "example": "1633924525106x595176034560376800"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```