Admin Settings: Channels

Create a new channel

Mirrors Bagisto admin Settings → Channels → Create. Validates code (unique, alpha-dash), hostname (unique), locales/currencies/inventory_sources (non-empty arrays), default_locale_id and base_currency_id (must appear in the respective arrays), root_category_id (must exist).

post/settings/channels

Request

Request body

object required

Response

Channel created.

idinteger nullable
codestring nullable
namestring nullable
descriptionstring nullable
hostnamestring nullable
themestring nullable
timezonestring nullable
defaultLocaleIdinteger nullable
baseCurrencyIdinteger nullable
rootCategoryIdinteger nullable
isMaintenanceOnboolean nullable
maintenanceModeTextstring nullable
allowedIpsstring[] nullable
logostring nullable
logoUrlstring nullable
faviconstring nullable
faviconUrlstring nullable
localesobject[] nullable
currenciesobject[] nullable
inventorySourcesobject[] nullable
homeSeoobject nullable
translationsobject[] nullable
createdAtstring nullable
updatedAtstring nullable

Changes

No recorded changes to this operation across all 8 revisions of this API.