Use
Road:/api/types
Protected:true
Attributes
id:integer
meta_title:translation
name:translation
meta_description:translation
active:boolean
meta_keywords:translation
description:translation
type_id:integer
url_rewrite:translation
Roads
Returns the list of types
Returns details of the type whose ID is {id}
Returns details of the type whose rewritten URL is {url_rewrite}
Returns manufacturer details attached to the type whose ID is {id}
Put | /store |
Required | id, name |
Optional | description, url_rewrite, meta_title, meta_description, meta_keywords |
Create a type using the body of the request
Post | /{id} |
Required | ps_id, active, name, description, url_rewrite, meta_title, meta_description, meta_keywords |
Updates the type whose ID is {id} based on the keys and values given in the body of the request
Delete | /{id} |
Optional | type: {type_id} |
Removes the type whose ID is {id}. If specified, replace the type deleted with the type given in parameter{type_id} for all models using the old one.