---
title: "ユーザーの詳細"
---

> Documentation Index
> Fetch the complete documentation index at: https://apidocs.cs-cart.jp/llms.txt
> Use this file to discover all available pages before exploring further.

# ユーザーの詳細

<span class="api-method api-method-get">`GET`</span> `/users/{USER_ID}`

特定のユーザーの詳細を取得するには、`/api/users/{USER_ID}`エンドポイントにGETリクエストを送信します。

## PATH パラメータ

| Name      | Type    | 説明     |
| --------- | ------- | ------ |
| `USER_ID` | integer | ユーザーID |

## リクエスト：ヘッダー

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Basic <認証情報>`     |

> **認証情報について**
>
> 認証情報は、ユーザーのEメールアドレスとAPIキーをコロンで連結したものをBase64エンコードしたものです。

## レスポンス

### 200

```json
{
  "user_id": "3",
  "user_login": "customer",
  "is_root": "N",
  "timestamp": "1576988370",
  "user_type": "C",
  "status": "A",
  "firstname": "鈴木",
  "lastname": "一郎",
  "email": "customer@example.com",
  "company": "Simtech",
  "company_id": "1",
  "phone": "77 77 777 7777",
  "company_name": "CS-Cart.jp"
}
```

### 400

```json
{}
```

Source: https://apidocs.cs-cart.jp/users/api-user-detail/index.mdx
