Characteristics products

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
Requiredid, name
Create a product’s Feature using request’s body

POST /{id}
Requiredname
Update the product’s Feature  {id} according to the keys and values given in body

DELETE /{id}
Optionalfeature: {feature_id}
Delete the product’s Feature {id}. If specified within the body, replace any feature_id using {id} with {feature_id}

    • Related Articles

    • Products

      Usage Route : /api/products Protected : true Attributes id : integer supplier_reference : string name : string ean13 : string reference : string Endpoints GET / Return Products index list GET /{id} Return details of the Product {id} PUT /store ...
    • 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 ...
    • 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 ...
    • 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 Required id, name Optional url_rewrite Create ...
    • 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 ...