Node
- Interface
The node interface is implemented by entities that have a global unique identifier.
Fields
Implementations
- •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.
- •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.
- •CartShippingLine
Represents a shipping line on a cart, including method and totals.
- •Category
Represents a category, encapsulating all information required to display and manage categories across storefronts and sales channels.
Each category includes core details such as title, description, and associated products. Categories can be organized hierarchically to create a structured navigation experience for customers.
- •Collection
Represents a collection, encapsulating all information required to display and manage collections across storefronts and sales channels.
Each collection includes core details such as title, description, and associated products. Collections can be organized hierarchically to create a structured navigation experience for customers.
- •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.
- •Product
Represents a product in Thor Commerce, encapsulating all information required to display and manage items across storefronts and sales channels. Each product includes core details such as title, rich description, pricing, media assets, and customizable options (e.g., size, color). Variants enable multiple versions of a product with distinct attributes and prices. You can add or update images, videos, and other media to enrich the customer experience. Products can be organized into categories for intuitive browsing and discovery.
- •ProductDiscount
Represents a discounted price for a product variant.