FacetFlux

pim.attributeDefinitions.list

List attribute definitions in a schema. Pass `traitId` to scope to a single trait, or pass `includeGlobalOnly=true` to get only global (non-trait-scoped) attributes. Response: { attributeDefinitions: [{ id, schemaId, traitId, code, labels, dataType, unit, isRequired, isTranslatable, scope, role, hasAllowedValues, allowedValueCount }] }. Errors: { error: { code: 'not_found', ... } }.

Remote revuo:facetflux

Other tools also called pim.attributeDefinitions.list? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "schemaId": {
      "description": "Schema id to scope the listing.",
      "type": "string"
    },
    "traitId": {
      "description": "Optional trait id. When set, returns only attribute definitions on that trait.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "includeGlobalOnly": {
      "description": "If true, returns only global (non-trait-scoped) attribute definitions. Ignored when `traitId` is set.",
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "schemaId"
  ]
}