Skip to main content

attributeResultByCustomerId

Retrieve comprehensive attribute results for a specific customer with optional default values.

Returns attribute data for the specified customer, including both assigned attribute values and optionally default values from attribute descriptions. The response combines actual attribute values with default values when requested, providing a complete view of all available attributes for the customer.

When includeDefaultValues is true, the result includes default values from attribute descriptions for attributes that haven't been explicitly assigned to the customer. This is perfect for displaying complete customer profiles or generating forms with pre-filled default values.

Possible errors:

  • ATTRIBUTE_VALIDATION_ERROR: Search input parameters failed validation
attributeResultByCustomerId(
customerId: Int!
input: AttributeResultSearchInput!
): AttributeResultResponse!

Arguments

attributeResultByCustomerId.customerId ● Int! non-null scalar

Unique identifier of the customer to retrieve attribute results for.

Must be a positive integer representing a valid customer ID in the system. The customer must exist and be accessible within the current context.

attributeResultByCustomerId.input ● AttributeResultSearchInput! non-null input

Search criteria and options for filtering attribute results.

Contains filtering options, pagination settings, and the includeDefaultValues flag to control whether default values from attribute descriptions should be included in the results.

Type

AttributeResultResponse object

Paginated response containing comprehensive attribute result data.

Provides a structured response for attribute result queries including the matching attribute results with complete attribute information, pagination metadata, and total count information. Used for attribute result search and listing operations with comprehensive pagination support.

Each result combines attribute descriptions, values, and entity associations to provide complete attribute information for display and business logic operations.