Skip to content
ShopentlyLearn

Features and values

Maintain feature dictionaries and the values assigned to products.

Operations

GETList features/api/v1/features

POSTCreate a feature/api/v1/features

DELETEDelete a feature/api/v1/features/{identity}

GETGet a feature/api/v1/features/{identity}

PATCHUpdate a feature/api/v1/features/{identity}

GETList feature values/api/v1/features/{identity}/values

POSTCreate a feature value/api/v1/features/{identity}/values

DELETEDelete a feature value/api/v1/features/{identity}/values/{value_id}

GETGet a feature value/api/v1/features/{identity}/values/{value_id}

PATCHUpdate a feature value/api/v1/features/{identity}/values/{value_id}

How it works

Features and their values have separate collection, detail, create, update and delete operations. Use returned value identifiers when assigning features to products.

Selection rules and existing product relationships are validated. Read current versions before changes and resolve dependencies before deleting a value that is still in use.