# List product relation types Retrieves a paginated list of product relation types with optional filtering. Endpoint: GET /v1/product-relation-types Version: 1.0.0 Security: Bearer ## Query parameters: - `uuids[eq]` (array) Filter by one or more UUIDs. Accepts multiple values. - `codes[eq]` (array) Filter by one or more exact codes. Accepts multiple values. - `code[contains]` (string) Filter by partial code match. - `code[starts]` (string) Filter by code prefix. - `code[ends]` (string) Filter by code suffix. - `code[order]` (string) Sort order for code field. Values: asc, desc. - `createdAt[eq]` (string) Filter by exact creation timestamp. Example: "2025-11-23T14:15:22.123456Z" - `createdAt[min]` (string) Filter by minimum creation timestamp. Example: "2025-11-23T14:15:22.123456Z" - `createdAt[max]` (string) Filter by maximum creation timestamp. Example: "2025-11-23T14:15:22.123456Z" - `createdAt[order]` (string) Sort order for creation timestamp. Values: asc, desc. - `updatedAt[eq]` (string) Filter by exact update timestamp. Example: "2025-11-23T14:15:22.123456Z" - `updatedAt[min]` (string) Filter by minimum update timestamp. Example: "2025-11-23T14:15:22.123456Z" - `updatedAt[max]` (string) Filter by maximum update timestamp. Example: "2025-11-23T14:15:22.123456Z" - `updatedAt[order]` (string) Sort order for update timestamp. Values: asc, desc. - `page` (integer) Page number for pagination. Default is 1. - `size` (integer) Page size for pagination. Default is 20. ## Response 200 fields (application/json): - `items` (array, required) - `items.uuid` (string, required) Unique identifier for this product relation type. - `items.createdAt` (string, required) Timestamp when this product relation type was created. Example: "2025-11-23T14:15:22.123456Z" - `items.updatedAt` (string, required) Timestamp when this product relation type was last modified. Example: "2025-11-23T14:15:22.123456Z" - `items.code` (string, required) Code for this product relation type. - `items.direction` (string, required) Direction of the relation. OneWay creates a directional relation. TwoWay creates a symmetrical relation visible from both products. Enum: "oneWay", "twoWay" - `items.reverseRelationTypeUuid` (string,null) For one-way relations, links to another relation type that represents the reverse perspective. Example: 'accessory' links to 'compatible-with' so accessories show compatible products. - `pagination` (object, required) - `pagination.page` (integer, required) - `pagination.size` (integer, required) - `pagination.totalItems` (integer, required) - `pagination.totalPages` (integer, required) ## Response 401 fields (application/problem+json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) ## Response 403 fields (application/problem+json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) - `correlationId` (string,null) ## Response 500 fields (application/problem+json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) - `correlationId` (string,null)