Countries Model

ActionMethodResourceDescription
Get allGET/countriesGet all countries.
GetGET/countries/:country_idGet country with id country_id.
Create POST/countriesCreate a country.
Update PUT/countries/:country_idUpdate country with country_id.
Delete DELETE/countries/:country_idDelete country with country_id.

The country model is composed of the following attributes:

AttributeTypeRequiredDescriptionWhereable
namestringno, required to create.The country's name.Yes
enabledbooleannoThe country's status.Yes

🚧

Multi currencies functionality (Coming soon)

Although you can already create more than one country, we are working to add new functionality to allow multi currencies support.