Groups of model characteristics

Groups of model characteristics

Usage

Route : /api/groups
Protected : true

Attributes

id : integer
name : translated
url_rewrite : translated

Endpoints

GET /
Return Group index list

GET /{id}
Return details of the Group {id}

PUT/store
Requiredid, name
Optionalurl_rewrite
Create a Group using request’s body

POST /{id}
Requiredps_id, name, url_rewrite
Update the Group {id} according to the keys and values given in body

DELETE /{id}
Optionalgroup: {group_id}
Delete the Group {id}. If specified within the body, replace group_id in any Specification with {group_id}.

    • Related Articles

    • Model characteristics

      Usage Route : /api/specifications Protected : true Attributes id : integer group_id : integer name : translated url_rewrite : translated Endpoints GET / Return Specifications index list GET /{id} Return details of the Specification {id} PUT /store ...
    • Characteristics products

      Usage Route : /api/features Protected : true Attributes id : integer name : translated Endpoints GET / Return Features index list GET /{id} Return details of the Feature {id} PUT /store Required id, name Create a product’s Feature using request’s ...
    • Values of product characteristics

      Usage Route : /api/feature_values Protected : true Attributes id : integer name : translated Endpoints GET / Return feature Values index list GET /{id} Return details of the feature Value {id} PUT /store Required id, name Create a feature Value using ...
    • Association of characteristics to a product

      Usage Route : /api/product_features Protected : true Attributes id : integer feature_id : integer (PUT, DELETE), object (POST) product_id : integer (PUT, DELETE), object (POST) Endpoints GET / Return product and feature associations index list GET ...
    • Exporting to ElasticSearch

      Usage Route : /api/export Protected : true Endpoints GET / Export all your model/product associations to ElasticSearch. DELETE /delete Empty your ElasticSearch index. Warning : this operation is not reversible!