Node

  • Interface

The node interface is implemented by entities that have a global unique identifier.

#

Fields


#

Implementations


Attribute

Defines a product attribute in Thor, such as color, size, or material, that describes a specific aspect of a product. Attributes are used to distinguish between different variants of the same product—each unique combination of attribute values represents a distinct variant. This enables flexible filtering, grouping, and enrichment of product data across the catalog.

Cart

Represents a cart in Thor, encapsulating all information required to display and manage items across storefronts and sales channels.

Each cart includes details such as the total price, line items, shipping address, and available shipping methods. Carts can be used to track items before purchase, allowing customers to review and modify their selections.

CartDiscountGroup

Represents a group for cart discounts with stacking behavior.

CartLineItem

Represents a line item in a cart, which includes details about the product, variant, and any associated discounts.

Each line item contains information such as the product name, variant details, total price, and any applicable discounts. This allows for detailed tracking of items within a cart, including their pricing and discount applications.

Category

Represents a grouping of products within Thor Commerce, enabling merchants to organize and showcase items across storefronts and sales channels. Categories can be defined manually or dynamically via rules based on product attributes, tags, or metadata. Each category supports hierarchical relationships, custom fields, and localization to optimize navigation and personalize the shopping experience.

Collection

Defines a set of products in our catalog that can be grouped either manually or automatically based on criteria such as tags, categories, or attributes. Collections enable flexible organization and presentation of items across storefronts, marketing campaigns, and custom sales channels. Manual collections let administrators assign products directly, while automated collections update dynamically as product data changes.

OrderLineItem

Represents a line item in a order, which includes details about the product, variant, and any associated discounts.

Each line item contains information such as the product name, variant details, total price, and any applicable discounts. This allows for detailed tracking of items within a cart, including their pricing and discount applications.

OrderShippingLine

Represents a shipping line applied to an order.

ShippingMethod

Represents a shipping method.