Association of a feature with a model
Usage
Route : /api/modele_specs
Protected : true
Attributes
id : integer
name : translated
modele_id : integer
specification_id : integer
Endpoints
Return ModeleSpecifiation associations index list
Return details of the Specifications for Modele {id}
Return details of the Modeles for Specification {id}
PUT | /store |
Required | modele_id, specification_id, name |
Create an association of a Model with a Specification using request’s body
POST | /{id} |
Required | modele_id, name |
Update every ModeleSpecification with specification_id {id} according to the keys and values given in the request's body. If a modele_id is specified, only update the matching record.
DELETE | /modeles/{id} |
Optional | specification_id: {specification_id} |
Delete every ModeleSpecification with modele_id {id}. If specified within the body, only delete the entry with specification_id {specification_id}.
DELETE | /specifications/{id} |
Optional | modele_id: {modele_id} |
Delete every ModeleSpecification with specification_id {id}. If specified within the body, only delete the entry with modele_id {modele_id}.
Related Articles
Model characteristics
Use Road:/api/specifications Protected:true Attributes id:integer group_id:integer name:translation url_rewrite:translation Roads Get / Return the list of specifications Get /{id} Returns the details of the specification corresponding to the ID {id} ...
Association of characteristics to a product
Use Road:/api/product_features Protected:true Attributes id:integer feature_id:integer (PUT, DELETE), object (POST) product_id:integer (PUT, DELETE), object (POST) Roads Get / Returns the list of associations of characteristics to products Get ...
Rules of compatibility
Use Road:/api/rules Protected:true Roads Get / Returns the list of existing compatibility rules Get /{id} Returns the details of the rule whose ID is {id} Get /specification/{id} Returns the list of rules containing model carcatetristics whose ID is ...
Associations of Product Character Values
Use Road:/api/feature_associations Protected:true Attributes id:integer feature_id:integer (PUT, DELETE), object (POST) value_id:integer (PUT, DELETE), object (POST) Roads Get / Returns the list of characteristic associations products and values Get ...
Export to PrestaShop
Use Road:/api/export_to Protected:true Attributes scope:string (case sensitive) onlyFor:integer startAt:integer onlyMissing:boolean Roads Put /prestashop Required scope Optional startAt, onlyFor, onlyMissing Exports data to PrestaShop based on the ...