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

# Get Customer

GET https://connect.plex.com/mdm/v1/customers/{id}

Retrieve a single customer by ID.

Reference: https://rockwell.ferndocs.com/api-reference/customers-api/get-customer

## Request

### Path parameters

- `id` (string, required)

## Response

### 200

Success - Customer Retrieved

- `id` (string, optional)
- `customerCode` (string, optional)
- `name` (string, optional)
- `legalName` (string, optional)
- `status` (string, optional)
- `customerType` (string, optional)
- `taxId` (string, optional)
- `contactInformation` (MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaContactInformation, optional)
- `financialInformation` (MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaFinancialInformation, optional)
- `addresses` (list of MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaAddressesItems, optional)
- `metadata` (MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaMetadata, optional)

## Errors

### 400 Bad Request Error

Bad Request - Invalid ID Format

- `error` (MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaError, optional)

### 401 Unauthorized Error

Unauthorized - Missing Token

- `error` (MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaError, optional)

### 404 Not Found Error

Not Found - Customer Does Not Exist

- `error` (MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaError, optional)

### 429 Too Many Requests Error

Rate Limit Exceeded

- `error` (MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaError, optional)

## Types

### MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaContactInformation

- `primaryContact` (string, optional)
- `email` (string, optional)
- `phone` (string, optional)
- `fax` (string, optional)
- `website` (string, optional)

### MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaFinancialInformation

- `paymentTerms` (string, optional)
- `creditLimit` (integer, optional)
- `currency` (string, optional)
- `pricingTier` (string, optional)
- `taxExempt` (boolean, optional)

### MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaAddressesItems

- `id` (string, optional)
- `type` (string, optional)
- `isPrimary` (boolean, optional)
- `addressLine1` (string, optional)
- `addressLine2` (string, optional)
- `city` (string, optional)
- `state` (string, optional)
- `postalCode` (string, optional)
- `country` (string, optional)

### MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaMetadata

- `createdAt` (datetime, optional)
- `createdBy` (string, optional)
- `lastModifiedAt` (datetime, optional)
- `lastModifiedBy` (string, optional)

### MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaError

- `code` (string, optional)
- `message` (string, optional)
- `details` (list of MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaErrorDetailsItems, optional)
- `timestamp` (datetime, optional)
- `path` (string, optional)
- `documentation` (string, optional)
- `suggestions` (list of string, optional)

### MdmV1CustomersIdGetResponsesContentApplicationJsonSchemaErrorDetailsItems

- `issue` (string, optional)
- `limit` (integer, optional)
- `remaining` (integer, optional)
- `resetAt` (datetime, optional)
- `retryAfter` (integer, optional)

## Examples

**Response**

```json
{
  "id": "CUST-12345",
  "customerCode": "ACME001",
  "name": "Acme Corporation",
  "legalName": "Acme Corporation Inc.",
  "status": "Active",
  "customerType": "Commercial",
  "taxId": "12-3456789",
  "contactInformation": {
    "primaryContact": "John Smith",
    "email": "john.smith@acmecorp.com",
    "phone": "+1-555-0123",
    "fax": "+1-555-0124",
    "website": "https://www.acmecorp.com"
  },
  "financialInformation": {
    "paymentTerms": "Net 30",
    "creditLimit": 50000,
    "currency": "USD",
    "pricingTier": "Standard",
    "taxExempt": false
  },
  "addresses": [
    {
      "id": "ADDR-001",
      "type": "Billing",
      "isPrimary": true,
      "addressLine1": "123 Main Street",
      "addressLine2": "Suite 100",
      "city": "Springfield",
      "state": "IL",
      "postalCode": "62701",
      "country": "US"
    },
    {
      "id": "ADDR-002",
      "type": "Shipping",
      "isPrimary": false,
      "addressLine1": "456 Industrial Parkway",
      "addressLine2": "",
      "city": "Springfield",
      "state": "IL",
      "postalCode": "62702",
      "country": "US"
    }
  ],
  "metadata": {
    "createdAt": "2024-01-15T10:30:00Z",
    "createdBy": "system@plex.com",
    "lastModifiedAt": "2024-03-20T14:45:00Z",
    "lastModifiedBy": "admin@acmecorp.com"
  }
}
```

**SDK Code**

```python getCustomer_example
import requests

url = "https://connect.plex.com/mdm/v1/customers/id"

response = requests.get(url)

print(response.json())
```

```javascript getCustomer_example
const url = 'https://connect.plex.com/mdm/v1/customers/id';
const options = {method: 'GET'};

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

```go getCustomer_example
package main

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

func main() {

	url := "https://connect.plex.com/mdm/v1/customers/id"

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

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

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

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

}
```

```ruby getCustomer_example
require 'uri'
require 'net/http'

url = URI("https://connect.plex.com/mdm/v1/customers/id")

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

request = Net::HTTP::Get.new(url)

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

```java getCustomer_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://connect.plex.com/mdm/v1/customers/id")
  .asString();
```

```php getCustomer_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://connect.plex.com/mdm/v1/customers/id');

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

```csharp getCustomer_example
using RestSharp;

var client = new RestClient("https://connect.plex.com/mdm/v1/customers/id");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift getCustomer_example
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://connect.plex.com/mdm/v1/customers/id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

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