Countries Model

ActionMethodResourceDescription
Get allGET/countriesGet all countries.
GetGET/countries/:country_idGet country with id country_id.
CreatePOST/countriesCreate a country.
UpdatePUT/countries/:country_idUpdate country with country_id.
DeleteDELETE/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.