---
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> `/2.0/pages`

登録されたページの一覧を取得するには、`/2.0/pages`に対してGETを送信します。

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

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

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

## クエリ パラメータ

page int32 Defaults to 1 ページ番号

1 items\_per\_page int32 Defaults to 10 1ページあたりの表示数

10 sort\_by string Defaults to position ソートキー

position sort\_order string Defaults to desc desc parent\_id int32 page\_type string T / L / F / B

simple string q string status string item\_ids string get\_tree int32 Defaults to null true / plain

| Name             | Type    | 説明                            | デフォルト値   |
| ---------------- | ------- | ----------------------------- | -------- |
| `page`           | integer | ページ番号                         | 1        |
| `items_per_page` | integer | 1ページあたりの表示数                   | 10       |
| `sort_by`        | string  | ソートキー                         | position |
| `sort_order`     | string  | ソート順序                         | desc     |
| `parent_id`      | integer | 親ページID                        |          |
| `page_type`      | string  | ページタイプ（`T` / `L` / `F` / `B`） |          |
| `q`              | string  | 検索文字列                         |          |
| `status`         | string  | ステータス（`A` / `D` / `H`）        |          |
| `item_ids`       | string  | アイテムID（カンマ区切り）                |          |
| `get_tree`       | integer | ツリー表示（`1`: true / `0`: plain） | null     |

## レスポンス

### 200

```json
{
  "pages": [
    {
      "page_id": "4",
      "company_id": "1",
      "parent_id": "0",
      "id_path": "4",
      "status": "A",
      "page_type": "T",
      "position": "0",
      "timestamp": "1208808000",
      "usergroup_ids": "0",
      "localization": "",
      "new_window": "0",
      "use_avail_period": "N",
      "avail_from_timestamp": "0",
      "avail_till_timestamp": "0",
      "lang_code": "ja",
      "page": "30日間返金保証",
      "description": "<p>お買い上げいただいた商品は、購入後30日以内であれば理由の如何にかかわらず返品・返金を承ります。</p><p>返品の申請は「マイアカウント」内のメニューより実施いただけます。</p>",
      "meta_keywords": "",
      "meta_description": "",
      "page_title": "",
      "link": "",
      "seo_name": null,
      "seo_path": null,
      "level": 0
    },
    {
      "page_id": "30",
      "company_id": "1",
      "parent_id": "0",
      "id_path": "30",
      "status": "A",
      "page_type": "F",
      "position": "0",
      "timestamp": "1208808000",
      "usergroup_ids": "0",
      "localization": "",
      "new_window": "0",
      "use_avail_period": "N",
      "avail_from_timestamp": "0",
      "avail_till_timestamp": "0",
      "lang_code": "ja",
      "page": "お問い合わせ",
      "description": "下記フォームからお問い合わせいただけます。",
      "meta_keywords": "",
      "meta_description": "",
      "page_title": "",
      "link": "",
      "seo_name": null,
      "seo_path": null,
      "level": 0
    }
  ],
  "params": {
    "page_id": 0,
    "page": 1,
    "visible": false,
    "get_tree": "",
    "pdescr": "",
    "subpages": "",
    "match": "",
    "page_type": "",
    "items_per_page": 10,
    "full_search": true,
    "pname": "Y",
    "sort_order": "asc",
    "sort_by": "position",
    "sort_order_rev": "desc",
    "total_items": "17"
  }
}
```

### 400

```json
{}
```

Source: https://apidocs.cs-cart.jp/pages/api-pages-list/index.mdx
