---
search:
  tags:
    - 購入者
    - POST
seo:
  description: >-
    購入者の商品アクセス権を判定する. Reference for the POST /customer/entitlements/check
    endpoint in the Cozeni 外部 API.
sidebar:
  label: 購入者の商品アクセス権を判定する
  badge: POST
title: 購入者の商品アクセス権を判定する
type: openapi-operation
---
`POST /customer/entitlements/check`

**Request body** (`application/json`, required)

- `product_id` (string, required)

Request body example:

```json
{
  "product_id": "string"
}
```

**Responses**

- `200` — 許可、未購入または剥奪済み。拒否時はproduct\_idの形式が正しければ enter\_url（http(s)絶対URL）を含む。
- `400` — invalid\_input。SDKは拒否として扱う。
- `401` — セッションがない・無効・期限切れ・epoch不一致。product\_idの形式が正しければ enter\_url（http(s)絶対URL）を含む。
- `503` — 権利を確認できないため拒否。enter\_urlは付けない（障害を再認証要求に変換しないため）。

Response example, 200:

```json
{
  "entitled": true
}
```
