REST web service interface

GET locales

Updated, 2012-06-19 14:28

Returns a list of languages ​​configured for the catalog.

Resource Information

Rate Limited? No
Authentication Optional
Response Formats json,xml
HTTP Methods GET
Response Object list<Locale>

Resource URL

https://ecommerce.dexero.com/service/rest/2/merchant/catalog/locales.format

Example Request

https://ecommerce.dexero.com/service/rest/2/merchand/catalogue/locales.json

Example Response

XML JSON
{
  "locale" : [
    {
      "id" : 1,
      "code" : "fr"
    },
    {
      "id" : 4,
      "code" : "en"
    }
  ]
}

Response Object "Locale"

Field Data type Description
id long The unique identification number of the language. The ID is automatically generated and can not be changed.
code string The ISO language code.