Skip to main content
Version: 202601

Update market domain

PUT 

/openapi/2026-01/markets/:id/domain

Change a market's domain mode (primary domain or sub-path).

Request

Path Parameters

    id stringrequired

    Market ID

Bodyrequired

    domain_typestringrequired

    Domain mode. Allowed values:

    • primary: use a primary (independent) domain
    • sub_path: use a sub-path suffix under the primary domain For a non-primary market, switching domain_type deletes all existing language configurations of this market and re-copies them from the primary market.
    domain_valuestring

    Domain value. Maximum 255 characters; letters, digits and underscore only. Required when domain_type is sub_path. The sub-path must not clash with a language code abbreviation (e.g., ca)

Responses

OK

Schema
    codestring

    error code

    messagestring

    error message

    data object
    object