FacetFlux
pim.channels.create
Create a channel for the current tenant, or return the existing one if `code` already exists. Channels are thin distribution-target overlays on a master schema. To customize per-channel attribute requirements after creation, use pim.channels.attributeConfig.set. Response: { channel: {...}, created: bool }. Errors: { error: { code: 'not_found' | 'bad_input', ... } }.
Remote revuo:facetflux
Other tools also called pim.channels.create?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"code": {
"description": "Channel code. Unique per tenant. Re-calling with same code returns the existing channel.",
"type": "string"
},
"schemaId": {
"description": "Schema id this channel overlays.",
"type": "string"
},
"labels": {
"description": "Localized labels.",
"type": [
"object",
"null"
],
"additionalProperties": {
"type": [
"string",
"null"
]
},
"default": null
},
"country": {
"description": "Optional ISO country code (e.g. 'DE', 'US').",
"type": [
"string",
"null"
],
"default": null
},
"tags": {
"description": "Optional tag list.",
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"default": null
},
"minReadinessPercent": {
"description": "Minimum readiness percent for products to be eligible to publish (default 100).",
"type": "integer",
"default": 100
},
"isActive": {
"description": "Active flag (default true).",
"type": "boolean",
"default": true
}
},
"required": [
"code",
"schemaId"
]
}