Languages
Languages are the localizations of which data can exist in the PIM installation. If users shall be able to enter data in a specific culture, that language must be added to the system. All languages in the system are based on ISO Culture codes. Each ISO culture code can only be added once, meaning no two languages can use the same culture code
Authorizations
Body
Model to add a language
CultureCodestring | nullableOptional
ISO 639-1 culture code
Namestring | nullableOptional
Presented name of language
SortOrderinteger · int32Optional
Sort order of language
Responses
200
OK
Responseinteger · int32
400
Bad Request
post
POST /v1/Languages HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 50
{
"CultureCode": "text",
"Name": "text",
"SortOrder": 1
}
1
Authorizations
Body
Represents a language
Idinteger · int32Optional
Unique id of language
CultureCodestring | nullableOptional
Culture code of language
Namestring | nullableOptional
Presented name of language
SortOrderinteger · int32Optional
Sort order of language
Responses
200
OK
400
Bad Request
put
PUT /v1/Languages HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 57
{
"Id": 1,
"CultureCode": "text",
"Name": "text",
"SortOrder": 1
}
No content