---
title: "Get Customer ID"
method: GET
path: "/customers/lookup"
---

# Get Customer ID

`GET /customers/lookup`

Lets you fetch unique ID of a customer generated internally. This is required for customer related activities such as fetch customer details, update customer details, manage subscription details and other activities.

## Query parameters

- `source` 'FACEBOOK' | 'WEB_ENGAGE' | 'WECHAT' | 'INSTORE' | 'MARTJACK' | 'TMALL' | 'TAOBAO' | 'JD' | 'ECOMMERCE' | 'WEBSITE' | 'LINE' | 'ALL', required
- `accountId` string
- `identifierName` 'mobile' | 'email' | 'externalId' | 'cardnumber' | 'wechat' | 'martjackId' | 'fbId', required
- `identifierValue` string, required

## Headers

- `X-CAP-API-OAUTH-TOKEN` string

## Response `200`

200

- union
  - object
    - `entity` integer
    - `warnings` unknown[]
      - unknown
  - object
    - `entity` integer
    - `warnings` unknown[]
      - unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/versions/de241f2ed9b3/schema)
