> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# CartSource

GraphQL enum

The source that created the cart.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/storefront/types/enums/cart-source

## Values

- `B2B` — Cart created from a B2B (business-to-business) transaction.
- `B2B_INVOICE` — Cart created from a B2B invoice.
- `B2B_QUOTE` — Cart created from a B2B quote.
- `BUY_NOW` — Cart created via the Buy Now flow.

## Definition

```graphql
enum CartSource {
  B2B
  B2B_INVOICE
  B2B_QUOTE
  BUY_NOW
}
```