Compatibilities

Compatibilities

Route

/api/compats

Protected

true



modele_id

integer

product_id

integer

year

integer



GET

/

Return compatibilities index list


GET

/modeles/{id}

Return compatibilities found matching modele_id {id}


GET

/products/{id}

Return compatibilities found matching product_id {id}


PUT

/store

Required

modele_id, product_id

Optional

year

Create a compatibility using request’s body


POST

/modeles/{id}

Required

product_id

Update the compatibility modele_id {id} according to the keys and values given in body


POST

/products/{id}

Required

modele_id

Update the compatibility product_id {id} according to the keys and values given in body



DELETE

/

Required

modele_id, product_id

Optional

year

Delete the compatibility with given modele_id and product_id. If specified, only deletes records for the year contained within the request’s body.


DELETE

/modeles/{id}

Optional

year

Delete the compatibility with modele_id {id}. If specified, only deletes records for the year contained within the request’s body.


DELETE

/products/{id}

Optional

year

Delete the compatibility with product_id {id}. If specified, only deletes records for the year contained within the request’s body.

    • Related Articles

    • Products

      Use of Route:/api/products Protected:True Attributes Id:Integer Provider_reference: string Name: string Ean13: string Reference: string Product_ids: Array Status: string Roads Get / Returns the product list Get /{id} Returns details of the product ...
    • Models

      Use of Route:/api/models Protected:True Attributes Name:String Commercial cylinder:Integer Type_id:Integer Description:Translated Manufacturer_id:Integer Url_rewrite:Translated Reference:String Meta_title:Translated Year_Begin:Integer ...
    • Settings

      Use of Route : /api/settings Protected : True Routes GET / Retrieves the panel settings
    • Companies

      Use of Route:/api/companies Protected:True Roads Get / List all available shops
    • KPI

      Use of Route : /api/kpis Protected : true Routes GET / Returns the list of available KPIs