FacetFlux

pim.products.traits.add

Assign one or more traits to a product. Traits add their attribute definitions to the product's editable surface. Idempotent. Response: { productId, traitIds, added: count }. Errors: { error: { code: 'not_found', ... } }.

Remote revuo:facetflux

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

Input Schema


            {
  "type": "object",
  "properties": {
    "productId": {
      "description": "Product id.",
      "type": "string"
    },
    "traitIds": {
      "description": "Trait ids to add.",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "productId",
    "traitIds"
  ]
}