Ordering is Multi-Language by default. We added a translations model to allow any text or string to be translated to any number of languages.
| Action | Method | Resource | Description |
|---|---|---|---|
| Get all | GET | /translations | Get all translations. |
| Get | GET | /translations/:translation_id | Get translation with id translation_id. |
| Create | POST | /translations | Create a translation. |
| Update | PUT | /translations/:translation_id | Update translation with translation_id. |
| Delete | DELETE | /translations/:translation_id | Delete translation with translation_id. |
The translations model is composed of the following attributes:
| Attribute | Type | Required | Description | Whereable |
|---|---|---|---|---|
| key | string | required | The translation's key. | Yes |
| text | string | required | The translation's value. | Yes |
Translations can be obtained by any user no matter what level they are.
Translation only can be created, updated or removed by users level 0 (Type: Administrator)

