Action | Method | Resource | Description |
---|---|---|---|
Get all | GET | /countries | Get all countries. |
Get | GET | /countries/:country_id | Get country with id country_id . |
Create | POST | /countries | Create a country. |
Update | PUT | /countries/:country_id | Update country with country_id . |
Delete | DELETE | /countries/:country_id | Delete country with country_id . |
The country model is composed of the following attributes:
Attribute | Type | Required | Description | Whereable |
---|---|---|---|---|
name | string | no, required to create. | The country's name. | Yes |
enabled | boolean | no | The 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.