> 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.

# Activate Location

POST https://crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D/activate

Activate a previously deactivated location. This makes the location available for new service orders and scheduling. Activation is logged in the location's audit trail.

Reference: https://docs.itspropel.com/propel-biz/05-crm/customers/customer-location-management/activate-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/activate:
    post:
      operationId: activate-location
      summary: Activate Location
      description: >-
        Activate a previously deactivated location. This makes the location
        available for new service orders and scheduling. Activation is logged in
        the location's audit trail.
      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_Activate Location_Response_200
servers:
  - url: https:/
components:
  schemas:
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataAudit:
      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: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataAudit
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataFlags:
      type: object
      properties:
        is_billing_address:
          type: boolean
        is_primary_location:
          type: boolean
      required:
        - is_billing_address
        - is_primary_location
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataFlags
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataAccess:
      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: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataAccess
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataAddress:
      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: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataAddress
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataService:
      type: object
      properties:
        area:
          description: Any type
        zone:
          description: Any type
        zone_id:
          description: Any type
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataService
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataCustomer:
      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: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataCustomer
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataProperty:
      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: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataProperty
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataSeasonal:
      type: object
      properties:
        end_date:
          description: Any type
        is_active:
          description: Any type
        start_date:
          description: Any type
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataSeasonal
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataConditions:
      type: object
      properties:
        dog_on_premises:
          type: boolean
        special_hazards:
          description: Any type
      required:
        - dog_on_premises
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataConditions
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataCoordinates:
      type: object
      properties:
        latitude:
          type: number
          format: double
        longitude:
          type: number
          format: double
      required:
        - latitude
        - longitude
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataCoordinates
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataCreatedByUser:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        email:
          type: string
          format: email
      required:
        - id
        - name
        - email
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataCreatedByUser
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataUpdatedByUser:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        email:
          type: string
          format: email
      required:
        - id
        - name
        - email
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataUpdatedByUser
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaData:
      type: object
      properties:
        id:
          type: string
          format: uuid
        audit:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataAudit
        flags:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataFlags
        access:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataAccess
        status:
          type: string
        address:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataAddress
        service:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataService
        customer:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataCustomer
        property:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataProperty
        seasonal:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataSeasonal
        conditions:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataConditions
        coordinates:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataCoordinates
        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/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataCreatedByUser
        updated_by_user:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaDataUpdatedByUser
      required:
        - id
        - audit
        - flags
        - access
        - status
        - address
        - service
        - customer
        - property
        - seasonal
        - conditions
        - coordinates
        - customer_id
        - location_type
        - created_by_user
        - updated_by_user
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaData
    CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaMeta:
      type: object
      properties:
        type:
          type: string
        version:
          type: string
        generated_at:
          type: string
          format: date-time
      required:
        - type
        - version
        - generated_at
      title: >-
        CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaMeta
    05 CRM_Customers_Customer Location Management_Activate Location_Response_200:
      type: object
      properties:
        data:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaData
        meta:
          $ref: >-
            #/components/schemas/CrmCustomers7BcustomerId7DLocations7BcustomerLocationId7DActivatePostResponsesContentApplicationJsonSchemaMeta
      required:
        - data
        - meta
      title: >-
        05 CRM_Customers_Customer Location Management_Activate
        Location_Response_200

```

## SDK Code Examples

```python 05 CRM_Customers_Customer Location Management_Activate Location_example
import requests

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

headers = {"{{tenant_key_name}}": "{{tenant_key_value1}}|{{tenant_key_value2}}"}

response = requests.post(url, headers=headers)

print(response.json())
```

```javascript 05 CRM_Customers_Customer Location Management_Activate Location_example
const url = 'https://https/crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D/activate';
const options = {
  method: 'POST',
  headers: {'{{tenant_key_name}}': '{{tenant_key_value1}}|{{tenant_key_value2}}'}
};

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_Activate Location_example
package main

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

func main() {

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

	req, _ := http.NewRequest("POST", url, nil)

	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_Activate Location_example
require 'uri'
require 'net/http'

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

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

request = Net::HTTP::Post.new(url)
request["{{tenant_key_name}}"] = '{{tenant_key_value1}}|{{tenant_key_value2}}'

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

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

HttpResponse<String> response = Unirest.post("https://https/crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D/activate")
  .header("{{tenant_key_name}}", "{{tenant_key_value1}}|{{tenant_key_value2}}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://https/crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D/activate', [
  'headers' => [
    '{{tenant_key_name}}' => '{{tenant_key_value1}}|{{tenant_key_value2}}',
  ],
]);

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

```csharp 05 CRM_Customers_Customer Location Management_Activate Location_example
using RestSharp;

var client = new RestClient("https://https/crm/customers/%7Bcustomer_id%7D/locations/%7Bcustomer_location_id%7D/activate");
var request = new RestRequest(Method.POST);
request.AddHeader("{{tenant_key_name}}", "{{tenant_key_value1}}|{{tenant_key_value2}}");
IRestResponse response = client.Execute(request);
```

```swift 05 CRM_Customers_Customer Location Management_Activate Location_example
import Foundation

let headers = ["{{tenant_key_name}}": "{{tenant_key_value1}}|{{tenant_key_value2}}"]

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

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()
```