コンテンツにスキップ
ShopentlyLearn

属性と値

属性辞書と、商品に割り当てる値を管理します。

操作

GET一覧取得 — 属性と値/api/v1/features

POST作成 — 属性と値/api/v1/features

DELETE削除 — 属性と値/api/v1/features/{identity}

GET取得 — 属性と値/api/v1/features/{identity}

PATCH更新 — 属性と値/api/v1/features/{identity}

GET一覧取得 · 値 — 属性と値/api/v1/features/{identity}/values

POST作成 · 値 — 属性と値/api/v1/features/{identity}/values

DELETE削除 · 値 — 属性と値/api/v1/features/{identity}/values/{value_id}

GET取得 · 値 — 属性と値/api/v1/features/{identity}/values/{value_id}

PATCH更新 · 値 — 属性と値/api/v1/features/{identity}/values/{value_id}

仕組み

属性と属性値には、それぞれコレクション、詳細、作成、更新、削除の操作があります。商品への割り当てには、返された値の識別子を使ってください。

選択ルールと既存の商品との関連付けが検証されます。変更前に現在のバージョンを取得し、使用中の値を削除する前に依存関係を解消します。