Dashboard
How it Works Documentation Quick Start PAPI — Pages & Assets MAPI — Dynamic Data Integrations SAPI — Sessions & Forms MCP Server OpenClaw Skill Tools Deploy Dashboard
Shopping Cart

Shopping Cart

⚡ Built-in — Platform Built-in

Manage shopping carts with price snapshots, quantity tracking, and cart merging. Works with any product-catalog setup. Cart identified by token (frontend) or ID (API).

⚡ Built-in — No Setup Required This integration is built into the WebsitePublisher platform. All endpoints are available immediately — no API key needed.

Endpoints (7)

POST add-item

Add a product to the cart. Creates a new cart if no cart_token provided. Takes a price snapshot from the product catalog. If item already exists, increments quantity.

No input parameters required.

PUT update-item

Update item quantity in the cart. Set quantity to 0 to remove the item.

No input parameters required.

DELETE remove-item

Remove an item from the cart entirely.

No input parameters required.

GET get-cart

Get the current cart with recalculated totals. Lookup by cart_token, cart_id, or session_id.

No input parameters required.

DELETE clear-cart

Remove all items from the cart. Cart remains active (not deleted).

No input parameters required.

POST merge-cart

Merge an anonymous cart into an authenticated cart. Use after visitor login. Source cart is abandoned, items merged into target.

No input parameters required.

MCP Tool Names

When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:

EndpointMCP Tool Name
add-item shopping-cart_add_item
update-item shopping-cart_update_item
remove-item shopping-cart_remove_item
get-cart shopping-cart_get_cart
clear-cart shopping-cart_clear_cart
merge-cart shopping-cart_merge_cart
link-visitor shopping-cart_link_visitor
← Back to all integrations