Manufacturers

Manufacturers

Use

Road:/api/manufacturers
Protected:true

Attributes

id:integer
meta_title:translation
name:string
meta_description:translation
active:boolean
meta_keywords:translation
description:translation
url:translation
url_rewrite:translation
manufacturer_id:integer


Roads


Get/
Returns the list of manufacturers

Get/{id}
Returns the details of the constructor whose ID is {id}

Get/url/{url_rewrite}
Returns manufacturer details whose written URL is {url_rewrite}

Get/modeles/{typeId}/{manufacturerId}
Returns the details of type models whose ID is {typeId} and the constructor whose ID is {manufacturerId}

Put/store
Requiredid, name
Optionaldescription, url_rewrite, meta_title, meta_description, meta_keywords, url
Creates a builder using the body of the request

Post/{id}
Optionalps_id, active, name, description, url_rewrite, meta_title, meta_description, meta_keywords, url
Updates the builder whose ID is {id} based on data from the body of the request.

Delete/{id}
Optionalmanufacturer: {manufacturer_id}
Removes the constructor whose ID is {id}. If specified, replace the constructor of all models with the manufacturer ID {id} with {manufacturer_id}