Catalog items
Navixy Repository API is a work in progress. This documentation is published for preview purposes only and doesn't reflect a stable release. Structure, field names, and behaviors are subject to change.
Operations and types for managing catalog items - the configurable lookup entries.
Queries
catalog
Retrieves a catalog by its ID.
catalog(id: ID!): CatalogArguments
id
ID!
The ID of the catalog to retrieve.
Output types:
Catalog
A catalog definition that contains catalog items. Catalogs are themselves catalog items.
Implements: CatalogItem, Node, Versioned, Titled
id
ID!
A globally unique identifier.
version
Int!
The version number for optimistic locking.
title
String!
The human-readable display name. Can be localized.
code
Code!
A machine-readable code, unique within the catalog scope.
order
Int!
The display order within the same level or category.
Organization (entity)
An organization in the hierarchy that owns entities and users.
Implements: Node, Versioned, Titled
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
version
Int!
The version number for optimistic locking. Incremented on each update. Must be provided in update/delete mutations to prevent lost updates.
title
String!
The human-readable display name.
externalId
String
An external system identifier for integration purposes.
isActive
Boolean!
Whether this organization is active.
catalogs
Lists catalogs for an organization.
Arguments
organizationId
ID!
The organization to retrieve catalogs for.
filter
CatalogItemFilter
Filtering options for the returned catalogs.
orderBy
CatalogItemOrder
The ordering options for the returned catalogs.
Input types:
CatalogItemFilter
Filtering options for catalog items.
titleContains
String
Partial match on title (case-insensitive contains).
codes
[Code!]
Match any of these codes.
Output types:
CatalogConnection
PageInfo (entity)
Information about the current page in a paginated connection.
hasNextPage
Boolean!
Whether more items exist after the current page.
hasPreviousPage
Boolean!
Whether more items exist before the current page.
startCursor
String
The cursor pointing to the first item in the current page.
endCursor
String
The cursor pointing to the last item in the current page.
Objects
Catalog
A catalog definition that contains catalog items. Catalogs are themselves catalog items.
Implements: CatalogItem, Node, Versioned, Titled
id
ID!
A globally unique identifier.
version
Int!
The version number for optimistic locking.
title
String!
The human-readable display name. Can be localized.
code
Code!
A machine-readable code, unique within the catalog scope.
order
Int!
The display order within the same level or category.
CatalogItemMeta
Metadata about a catalog item.
description
String
A description of the catalog item. Can be localized.
canBeDeleted
Boolean!
Whether this item can be deleted. Returns false if the item has dependencies or is system-managed.
hidden
Boolean!
Whether this item is hidden from regular UI lists.
textColor
HexColorCode
The text color for UI display.
backgroundColor
HexColorCode
The background color for UI display.
icon
String
A relative URL to the icon for this item.
Inputs
CatalogItemFilter
Filtering options for catalog items.
titleContains
String
Partial match on title (case-insensitive contains).
codes
[Code!]
Match any of these codes.
CatalogItemChildrenFilter
Filtering options for catalog item children.
titleContains
String
Partial match on title (case-insensitive contains).
CatalogItemOrder
Ordering options for catalog items.
CatalogItemMetaInput
Display properties for catalog items.
description
String
The description.
hidden
Boolean
Whether the item is hidden from regular UI lists.
textColor
HexColorCode
The text color for UI display.
backgroundColor
HexColorCode
The background color for UI display.
icon
String
A relative URL to the icon.
CatalogItemDeleteInput
Input for deleting a catalog item.
id
ID!
The catalog item ID to delete.
version
Int!
The current version for optimistic locking.
Enums
CatalogItemOrderField
Fields available for ordering catalog items.
ORDER
Order by display order.
CODE
Order by code.
TITLE
Order by title.
CREATED_AT
Order by creation date and time.
CatalogItemOrigin
The origin of a catalog item, indicating how it was created.
SYSTEM
Predefined by platform. Immutable and available to all organizations.
ORGANIZATION
Created by the current organization.
PARENT_ORGANIZATION
Inherited from a parent organization in the dealer hierarchy.
Interfaces
CatalogItem
A dictionary item that provides reference data for the system.
Implements: Node, Versioned, Titled
id
ID!
A globally unique identifier.
version
Int!
The version number for optimistic locking.
title
String!
The human-readable display name. Can be localized.
code
Code!
A machine-readable code, unique within the catalog scope.
order
Int!
The display order within the same level or category.
HierarchicalCatalogItem
A catalog item that supports parent-child hierarchy.
Pagination types
CatalogItemConnection
A paginated list of CatalogItem items.
Implements: Connection
CatalogItemEdge
An edge in the CatalogItem connection.
Implements: Edge
cursor
String!
An opaque cursor for this edge.
CatalogConnection
A paginated list of Catalog items.
Implements: Connection
CatalogEdge
An edge in the Catalog connection.
Implements: Edge
cursor
String!
An opaque cursor for this edge.
Last updated
Was this helpful?