## productCategories **Type:** GraphQL queries **Description:** List product categories with optional workspace filter and tree traversal. ### Arguments - ids (String) - parentId (String) - withChild (Boolean) - searchValue (String) - status (String) - page (Int) - perPage (Int) ### Response **Type:** ProductCategoryListResponse **Description:** undefined #### Fields - data (ProductCategory) - pagination (PaginationInfo) --- ## productCategoryDetail **Type:** GraphQL queries **Description:** Fetch single product category detail by id. ### Arguments - _id (String) ### Response **Type:** ProductCategory **Description:** Category (taxonomy) for products. #### Fields - _id (String) - name (String) - description (String) - parentId (String) - code (String) - order (String) - slug (String) - workspaceId (String) - attachment (Attachment) - status (String) - isRoot (Boolean) - productCount (Int) - seo (ProductSEO) - createdAt (Date) - updatedAt (Date) --- ## products **Type:** GraphQL queries **Description:** List products with filtering, segmentation, and pagination. ### Arguments - type (String) - status (String) - categoryId (String) - searchValue (String) - vendorId (String) - tag (String) - ids (String) - codes (String) - excludeIds (Boolean) - excludeCodes (Boolean) - image (String) - page (Int) - perPage (Int) - sortField (String) - sortDirection (SortDirection): undefined ### Response **Type:** ProductListResponse **Description:** undefined #### Fields - data (Product) - pagination (PaginationInfo) --- ## productDetail **Type:** GraphQL queries **Description:** Detailed product by id. ### Arguments - _id (String) ### Response **Type:** Product **Description:** Product entity including variants, pricing, and metadata. #### Fields - _id (String) - name (String) - shortName (String) - slug (String) - status (String) - code (String) - type (String) - description (String) - barcodes (String) - unitPrice (Float) - salePrice (Float) - costPrice (Float) - currency (String) - categoryId (String) - customFieldsData (JSON) - customFieldsDataByFieldCode (JSON) - createdAt (Date) - updatedAt (Date) - publishedAt (Date) - createdBy (String) - updatedBy (String) - getTags (Tag) - tagIds (String) - attachment (Attachment) - attachmentMore (Attachment) - media (Attachment) - vendorId (String) - workspaceId (String) - uom (String) - subUoms (JSON) - category (ProductCategory) - vendor (Company) - taxType (String) - taxCode (String) - sku (String) - externalUrl (String) - source (String) - mpn (String) - gtin (String) - requireShipping (Boolean) - channels (String) - unlimitedQuantity (Boolean) - saleStart (Date) - saleEnd (Date) - maxPerOrder (Int) - maxPerCustomer (Int) - isAvailable (Boolean) - hideQuantity (Boolean) - productOptions (ProductOption) - productVariants (ProductVariant) - priceRange (PriceRange) - hasVariants (Boolean) - hasCatalogWarning (Boolean) - weight (Float) - weightUnit (String) - dimensions (ProductDimensions) - inventory (ProductInventory) - seo (ProductSEO) --- ## productCountByTags **Type:** GraphQL queries **Description:** Count products grouped by tag. ### Response **Type:** JSON