---
title: "Customer detail"
method: GET
path: "/shops/{SHOP_ID}/customers/{CUSTOMER_ID}"
tags: ["Customer"]
---

# Customer detail

`GET /shops/{SHOP_ID}/customers/{CUSTOMER_ID}`

## Request

- Base URL: `https://pos.pages.fm/api/v1`
- URL: `https://pos.pages.fm/api/v1/shops/{SHOP_ID}/customers/{CUSTOMER_ID}`
- Auth: API key in query parameter `api_key`

Get detail information of a customer

## Path parameters

- `SHOP_ID` integer, required
- `CUSTOMER_ID` string, required

## Response `200`

Success

- object
  - `data` Customer: Customer information
    - `id` string: Customer ID
    - `name` string: Full name
    - `gender` string: Gender
    - `emails` string[]: Email addresses
    - `phone_numbers` string[]: Phone numbers
    - `pages_customers` object[]: Customer's linked pages
      - `id` string: Page ID
      - `name` string: Page name
      - `platform` string: Platform
    - `date_of_birth` string, date: Date of birth
    - `reward_point` number: Reward point
    - `is_discount_by_level` boolean: Discount based on level
    - `tags` string[]: Customer tags
    - `is_block` boolean: Block customer
    - `assigned_user_id` string: Assigned employee ID
    - `level_id` string: Customer level ID
    - `notes` object[]: Customer notes
      - `id` string: Note ID
      - `message` string: Note content
      - `images` object[]: Note images
        - `url` string, uri
    - `shop_customer_address` object[]: Customer addresses
      - `id` string: Address ID (include to update, omit to create new)
      - `country_code` integer: Country code
      - `province_id` string: Province ID
      - `district_id` string: District ID
      - `commune_id` string: Commune ID
      - `address` string: Address
      - `full_address` string: Full address
      - `full_name` string: Recipient name
      - `phone_number` string: Phone number
    - `order_count` integer: Order count
    - `purchased_amount` integer: Purchased amount
    - `succeed_order_count` integer: Succeed order count
    - `last_order_at` string, date-time: Last order at
    - `conversation_link` string, uri: Conversation link
    - `referral_code` string: Referral code
    - `fb_id` string: Facebook ID
    - `customer_id` string: Customer ID
  - `success` boolean: Success status

---

[API](https://skmtc.dev/pancake/apis/pancake-pos-open-api.md) - [All operations](https://skmtc.dev/pancake/apis/pancake-pos-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pancake/apis/pancake-pos-open-api/revisions/3df28d1fb5dc?raw)
