FacetFlux

pim.traits.attributes.add

Bind one or more attribute definitions to a trait by setting their `traitId`. Each attribute definition in the list has its `traitId` updated to the given trait. Idempotent — already-bound definitions are no-ops. Definitions in other schemas or other tenants are skipped with a reason. Response: { traitId, attributeDefinitionIds, bound: count, skipped: [{ id, reason }] }. Errors: { error: { code: 'not_found', ... } }.

Remote revuo:facetflux

Other tools also called pim.traits.attributes.add? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "traitId": {
      "description": "Trait id to bind to.",
      "type": "string"
    },
    "attributeDefinitionIds": {
      "description": "Attribute definition ids to bind.",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "traitId",
    "attributeDefinitionIds"
  ]
}