FacetFlux

pim.schemas.set.defaultChannels

Set the schema's default channel codes — the codes auto-assigned to new products in this schema. This replaces the existing list. Pass [] to clear. Response: { schemaId, defaultChannelCodes }. Errors: { error: { code: 'not_found', ... } }.

Remote revuo:facetflux

Other tools also called pim.schemas.set.defaultChannels? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "schemaId": {
      "description": "Schema id.",
      "type": "string"
    },
    "defaultChannelCodes": {
      "description": "Channel codes to assign as defaults. Empty array clears.",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "schemaId",
    "defaultChannelCodes"
  ]
}