Skip to main content

Documentation Index

Fetch the complete documentation index at: https://colossal.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Colossal provides a server-persisted cart that stores customer product selections across sessions and devices. A cart is scoped to a project and can be anonymous or linked to an existing customer. When a cart is used with Colossal checkout, guest carts are linked to a customer during checkout.

How to use

Cart is a standalone primitive. You can use it as part of the Colossal platform — alongside products and checkout — or drop it into an existing platform to add a server-persisted cart on top of your own product catalog and checkout flow.

Where to use

Actions

4 actions for fetching and modifying carts.

Storefront API

GraphQL queries and mutations for your storefront.

Real-time cart modifications

Carts can be modified in real time using sync actions from agents. For example, you can automatically apply discounts, add free items, or validate cart contents before checkout. These run synchronously so the customer sees the result immediately. See sync agents for how to set this up.