商品の追加情報の一覧

GET /features

商品の追加情報の一覧を取得するには、/api/featuresにGETリクエストを送信します。

リクエスト:ヘッダー

Name
Value

Content-Type

application/json

Authorization

Basic <認証情報>

認証情報について

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

クエリ パラメータ

Name
Type
説明
デフォルト値

page

integer

ページ番号

1

items_per_page

integer

1ページあたりの表示数

10

レスポンス

{
  "features": [
    {
      "feature_id": "18",
      "company_id": "1",
      "feature_type": "E",
      "parent_id": "0",
      "display_on_product": "N",
      "display_on_catalog": "N",
      "display_on_header": "Y",
      "description": "ブランド",
      "lang_code": "ja",
      "prefix": "",
      "suffix": "",
      "categories_path": "",
      "full_description": "",
      "status": "A",
      "comparison": "N",
      "position": "0",
      "purpose": "organize_catalog",
      "feature_style": "brand",
      "filter_style": "checkbox",
      "group_position": null
    },
    {
      "feature_id": "549",
      "company_id": "1",
      "feature_type": "S",
      "parent_id": "0",
      "display_on_product": "Y",
      "display_on_catalog": "Y",
      "display_on_header": "N",
      "description": "カラー",
      "lang_code": "ja",
      "prefix": "",
      "suffix": "",
      "categories_path": "",
      "full_description": "",
      "status": "A",
      "comparison": "Y",
      "position": "10",
      "purpose": "group_catalog_item",
      "feature_style": "dropdown",
      "filter_style": "checkbox",
      "group_position": null
    }
  ],
  "params": {
    "product_id": 0,
    "category_ids": [],
    "statuses": [],
    "plain": true,
    "feature_types": [],
    "feature_id": 0,
    "display_on": "",
    "exclude_group": false,
    "exclude_filters": false,
    "page": 1,
    "items_per_page": 2,
    "existent_only": false,
    "variants": false,
    "variant_images": true,
    "variants_selected_only": false,
    "skip_variants_threshould": false,
    "variants_only": null,
    "get_descriptions": true,
    "total_items": "28"
  }
}

最終更新