> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.itspropel.com/llms.txt.
> For full documentation content, see https://docs.itspropel.com/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itspropel.com/_mcp/server.

# Update Customer Location

PATCH https://crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D
Content-Type: multipart/form-data

Update an existing customer location. All fields are optional - only include fields you want to change. Address changes will automatically trigger geocoding to update coordinates. Cannot change customer ownership.

Reference: https://docs.itspropel.com/propel-biz/05-crm/customers/customer-location-management/update-customer-location

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: PropelBiz
  version: 1.0.0
paths:
  /crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D:
    patch:
      operationId: update-customer-location
      summary: Update Customer Location
      description: >-
        Update an existing customer location. All fields are optional - only
        include fields you want to change. Address changes will automatically
        trigger geocoding to update coordinates. Cannot change customer
        ownership.
      tags:
        - >-
          subpackage_05Crm.subpackage_05Crm/customers.subpackage_05Crm/customers/customerLocationManagement
      parameters:
        - name: '{{tenant_key_name}}'
          in: header
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/05 CRM_Customers_Customer Location
                  Management_Update Customer Location_Response_200
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                city:
                  type: string
                  description: 'Optional: City name'
                state:
                  type: string
                  description: 'Optional: State/Province code'
                country:
                  type: string
                  description: 'Optional: Country code'
                latitude:
                  type: string
                  description: 'Optional: Latitude coordinate for mapping'
                zip_code:
                  type: string
                  description: 'Optional: ZIP/Postal code'
                is_active:
                  type: string
                  description: 'Optional: Location is active (1=yes, 0=no)'
                longitude:
                  type: string
                  description: 'Optional: Longitude coordinate for mapping'
                is_billing:
                  type: string
                  description: 'Optional: Set as billing location (1=yes, 0=no)'
                is_primary:
                  type: string
                  description: 'Optional: Set as primary location (1=yes, 0=no)'
                contact_name:
                  type: string
                  description: 'Optional: Primary contact name at this location'
                safety_notes:
                  type: string
                  description: 'Optional: Safety considerations for service visits'
                contact_email:
                  type: string
                  description: 'Optional: Primary contact email address'
                contact_phone:
                  type: string
                  description: 'Optional: Primary contact phone number'
                location_notes:
                  type: string
                  description: 'Optional: Additional notes about the location'
                access_instructions:
                  type: string
                  description: 'Optional: Special access instructions for technicians'
                is_service_location:
                  type: string
                  description: 'Optional: Location can receive services (1=yes, 0=no)'
                parking_instructions:
                  type: string
                  description: 'Optional: Parking instructions for service visits'
                preferred_visit_time:
                  type: string
                  description: >-
                    Optional: Preferred time for service visits (morning,
                    afternoon, evening)
                special_instructions:
                  type: string
                  description: 'Optional: General special instructions'
              required:
                - city
                - state
                - country
                - latitude
                - zip_code
                - is_active
                - longitude
                - is_billing
                - is_primary
                - contact_name
                - safety_notes
                - contact_email
                - contact_phone
                - location_notes
                - access_instructions
                - is_service_location
                - parking_instructions
                - preferred_visit_time
                - special_instructions
servers:
  - url: https:/
components:
  schemas:
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataAudit:
      type: object
      properties:
        created_at:
          type: string
          format: date-time
        created_by:
          type: integer
        deleted_at:
          description: Any type
        updated_at:
          type: string
          format: date-time
        updated_by:
          type: integer
      required:
        - created_at
        - created_by
        - updated_at
        - updated_by
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataAudit
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataFlags:
      type: object
      properties:
        is_billing_address:
          type: boolean
        is_primary_location:
          type: boolean
      required:
        - is_billing_address
        - is_primary_location
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataFlags
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataAccess:
      type: object
      properties:
        gate_code:
          description: Any type
        instructions:
          type: string
        lockbox_code:
          description: Any type
        parking_instructions:
          type: string
      required:
        - instructions
        - parking_instructions
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataAccess
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataAddress:
      type: object
      properties:
        city:
          type: string
        state:
          type: string
        county:
          description: Any type
        line_1:
          type: string
        line_2:
          type: string
        country:
          type: string
        postal_code:
          type: string
      required:
        - city
        - state
        - line_1
        - line_2
        - country
        - postal_code
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataAddress
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataService:
      type: object
      properties:
        area:
          description: Any type
        zone:
          description: Any type
        zone_id:
          description: Any type
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataService
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataCustomer:
      type: object
      properties:
        id:
          type: integer
        display_name:
          type: string
        business_name:
          description: Any type
        customer_type:
          type: string
      required:
        - id
        - display_name
        - customer_type
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataCustomer
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataProperty:
      type: object
      properties:
        type:
          description: Any type
        is_owned:
          type: boolean
        lot_size:
          description: Any type
        occupancy_type:
          type: string
        square_footage:
          description: Any type
      required:
        - is_owned
        - occupancy_type
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataProperty
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataSeasonal:
      type: object
      properties:
        end_date:
          description: Any type
        is_active:
          description: Any type
        start_date:
          description: Any type
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataSeasonal
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataConditions:
      type: object
      properties:
        dog_on_premises:
          type: boolean
        special_hazards:
          description: Any type
      required:
        - dog_on_premises
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataConditions
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataCoordinates:
      type: object
      properties:
        latitude:
          type: number
          format: double
        longitude:
          type: number
          format: double
      required:
        - latitude
        - longitude
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataCoordinates
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataCreatedByUser:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        email:
          type: string
          format: email
      required:
        - id
        - name
        - email
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataCreatedByUser
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataUpdatedByUser:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        email:
          type: string
          format: email
      required:
        - id
        - name
        - email
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataUpdatedByUser
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaData:
      type: object
      properties:
        id:
          type: string
          format: uuid
        audit:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataAudit
        flags:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataFlags
        access:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataAccess
        status:
          type: string
        address:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataAddress
        service:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataService
        customer:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataCustomer
        property:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataProperty
        seasonal:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataSeasonal
        conditions:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataConditions
        coordinates:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataCoordinates
        customer_id:
          type: string
          format: uuid
        location_code:
          description: Any type
        location_name:
          description: Any type
        location_type:
          type: string
        created_by_user:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataCreatedByUser
        updated_by_user:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaDataUpdatedByUser
      required:
        - id
        - audit
        - flags
        - access
        - status
        - address
        - service
        - customer
        - property
        - seasonal
        - conditions
        - coordinates
        - customer_id
        - location_type
        - created_by_user
        - updated_by_user
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaData
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaMeta:
      type: object
      properties:
        type:
          type: string
        version:
          type: string
        generated_at:
          type: string
          format: date-time
      required:
        - type
        - version
        - generated_at
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaMeta
    05 CRM_Customers_Customer Location Management_Update Customer Location_Response_200:
      type: object
      properties:
        data:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaData
        meta:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DPatchResponsesContentApplicationJsonSchemaMeta
      required:
        - data
        - meta
      title: >-
        05 CRM_Customers_Customer Location Management_Update Customer
        Location_Response_200

```

## SDK Code Examples

```python 05 CRM_Customers_Customer Location Management_Update Customer Location_example
import requests

url = "https://https/crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D"

payload = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"city\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"state\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"country\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"latitude\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"zip_code\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_active\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"longitude\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_billing\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_primary\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_name\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"safety_notes\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_email\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_phone\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"location_notes\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"access_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_service_location\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"parking_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"preferred_visit_time\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"special_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001--\r\n"
headers = {
    "{{tenant_key_name}}": "{{tenant_key_value1}}|{{tenant_key_value2}}",
    "Content-Type": "multipart/form-data; boundary=---011000010111000001101001"
}

response = requests.patch(url, data=payload, headers=headers)

print(response.json())
```

```javascript 05 CRM_Customers_Customer Location Management_Update Customer Location_example
const url = 'https://https/crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D';
const form = new FormData();
form.append('city', 'string');
form.append('state', 'string');
form.append('country', 'string');
form.append('latitude', 'string');
form.append('zip_code', 'string');
form.append('is_active', 'string');
form.append('longitude', 'string');
form.append('is_billing', 'string');
form.append('is_primary', 'string');
form.append('contact_name', 'string');
form.append('safety_notes', 'string');
form.append('contact_email', 'string');
form.append('contact_phone', 'string');
form.append('location_notes', 'string');
form.append('access_instructions', 'string');
form.append('is_service_location', 'string');
form.append('parking_instructions', 'string');
form.append('preferred_visit_time', 'string');
form.append('special_instructions', 'string');

const options = {
  method: 'PATCH',
  headers: {'{{tenant_key_name}}': '{{tenant_key_value1}}|{{tenant_key_value2}}'}
};

options.body = form;

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go 05 CRM_Customers_Customer Location Management_Update Customer Location_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://https/crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D"

	payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"city\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"state\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"country\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"latitude\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"zip_code\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_active\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"longitude\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_billing\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_primary\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_name\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"safety_notes\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_email\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_phone\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"location_notes\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"access_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_service_location\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"parking_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"preferred_visit_time\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"special_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001--\r\n")

	req, _ := http.NewRequest("PATCH", url, payload)

	req.Header.Add("{{tenant_key_name}}", "{{tenant_key_value1}}|{{tenant_key_value2}}")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby 05 CRM_Customers_Customer Location Management_Update Customer Location_example
require 'uri'
require 'net/http'

url = URI("https://https/crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Patch.new(url)
request["{{tenant_key_name}}"] = '{{tenant_key_value1}}|{{tenant_key_value2}}'
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"city\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"state\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"country\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"latitude\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"zip_code\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_active\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"longitude\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_billing\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_primary\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_name\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"safety_notes\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_email\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_phone\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"location_notes\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"access_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_service_location\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"parking_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"preferred_visit_time\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"special_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001--\r\n"

response = http.request(request)
puts response.read_body
```

```java 05 CRM_Customers_Customer Location Management_Update Customer Location_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.patch("https://https/crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D")
  .header("{{tenant_key_name}}", "{{tenant_key_value1}}|{{tenant_key_value2}}")
  .body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"city\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"state\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"country\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"latitude\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"zip_code\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_active\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"longitude\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_billing\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_primary\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_name\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"safety_notes\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_email\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_phone\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"location_notes\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"access_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_service_location\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"parking_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"preferred_visit_time\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"special_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001--\r\n")
  .asString();
```

```php 05 CRM_Customers_Customer Location Management_Update Customer Location_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PATCH', 'https://https/crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D', [
  'multipart' => [
    [
        'name' => 'city',
        'contents' => 'string'
    ],
    [
        'name' => 'state',
        'contents' => 'string'
    ],
    [
        'name' => 'country',
        'contents' => 'string'
    ],
    [
        'name' => 'latitude',
        'contents' => 'string'
    ],
    [
        'name' => 'zip_code',
        'contents' => 'string'
    ],
    [
        'name' => 'is_active',
        'contents' => 'string'
    ],
    [
        'name' => 'longitude',
        'contents' => 'string'
    ],
    [
        'name' => 'is_billing',
        'contents' => 'string'
    ],
    [
        'name' => 'is_primary',
        'contents' => 'string'
    ],
    [
        'name' => 'contact_name',
        'contents' => 'string'
    ],
    [
        'name' => 'safety_notes',
        'contents' => 'string'
    ],
    [
        'name' => 'contact_email',
        'contents' => 'string'
    ],
    [
        'name' => 'contact_phone',
        'contents' => 'string'
    ],
    [
        'name' => 'location_notes',
        'contents' => 'string'
    ],
    [
        'name' => 'access_instructions',
        'contents' => 'string'
    ],
    [
        'name' => 'is_service_location',
        'contents' => 'string'
    ],
    [
        'name' => 'parking_instructions',
        'contents' => 'string'
    ],
    [
        'name' => 'preferred_visit_time',
        'contents' => 'string'
    ],
    [
        'name' => 'special_instructions',
        'contents' => 'string'
    ]
  ]
  'headers' => [
    '{{tenant_key_name}}' => '{{tenant_key_value1}}|{{tenant_key_value2}}',
  ],
]);

echo $response->getBody();
```

```csharp 05 CRM_Customers_Customer Location Management_Update Customer Location_example
using RestSharp;

var client = new RestClient("https://https/crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D");
var request = new RestRequest(Method.PATCH);
request.AddHeader("{{tenant_key_name}}", "{{tenant_key_value1}}|{{tenant_key_value2}}");
request.AddParameter("undefined", "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"city\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"state\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"country\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"latitude\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"zip_code\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_active\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"longitude\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_billing\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_primary\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_name\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"safety_notes\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_email\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contact_phone\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"location_notes\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"access_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"is_service_location\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"parking_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"preferred_visit_time\"\r\n\r\nstring\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"special_instructions\"\r\n\r\nstring\r\n-----011000010111000001101001--\r\n", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift 05 CRM_Customers_Customer Location Management_Update Customer Location_example
import Foundation

let headers = ["{{tenant_key_name}}": "{{tenant_key_value1}}|{{tenant_key_value2}}"]
let parameters = [
  [
    "name": "city",
    "value": "string"
  ],
  [
    "name": "state",
    "value": "string"
  ],
  [
    "name": "country",
    "value": "string"
  ],
  [
    "name": "latitude",
    "value": "string"
  ],
  [
    "name": "zip_code",
    "value": "string"
  ],
  [
    "name": "is_active",
    "value": "string"
  ],
  [
    "name": "longitude",
    "value": "string"
  ],
  [
    "name": "is_billing",
    "value": "string"
  ],
  [
    "name": "is_primary",
    "value": "string"
  ],
  [
    "name": "contact_name",
    "value": "string"
  ],
  [
    "name": "safety_notes",
    "value": "string"
  ],
  [
    "name": "contact_email",
    "value": "string"
  ],
  [
    "name": "contact_phone",
    "value": "string"
  ],
  [
    "name": "location_notes",
    "value": "string"
  ],
  [
    "name": "access_instructions",
    "value": "string"
  ],
  [
    "name": "is_service_location",
    "value": "string"
  ],
  [
    "name": "parking_instructions",
    "value": "string"
  ],
  [
    "name": "preferred_visit_time",
    "value": "string"
  ],
  [
    "name": "special_instructions",
    "value": "string"
  ]
]

let boundary = "---011000010111000001101001"

var body = ""
var error: NSError? = nil
for param in parameters {
  let paramName = param["name"]!
  body += "--\(boundary)\r\n"
  body += "Content-Disposition:form-data; name=\"\(paramName)\""
  if let filename = param["fileName"] {
    let contentType = param["content-type"]!
    let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)
    if (error != nil) {
      print(error as Any)
    }
    body += "; filename=\"\(filename)\"\r\n"
    body += "Content-Type: \(contentType)\r\n\r\n"
    body += fileContent
  } else if let paramValue = param["value"] {
    body += "\r\n\r\n\(paramValue)"
  }
}

let request = NSMutableURLRequest(url: NSURL(string: "https://https/crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PATCH"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```