Version: 202601
Publish language to markets
POST/openapi/2026-01/languages/:language_code/publish
Configure a language to one or more markets. Full replacement of market relations; an empty list removes all relations. A disabled language can be configured but does not take effect until enabled.
Request
Path Parameters
language_code stringrequired
IETF language code
- application/json
- Body
- Example
Bodyrequired
market_idsstring[]
Market IDs this language is configured to. Full replacement, NOT incremental. An empty array removes all market relations of this language
{
"market_ids": [
"string"
]
}
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
codestring
error code
messagestring
error message
data object
object
{
"code": "string",
"message": "string",
"data": {}
}