> 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.

# Storefront REST APIs

Client-side REST APIs designed for use in a browser or storefront context. These APIs let you interact with carts, checkouts, and customer data directly from storefront JavaScript without a server-side proxy.

## Authentication

Storefront REST APIs use same-origin CORS authentication — no token is required when requests are made from the store's native storefront. Requests must originate from the storefront domain.

For server-side or headless usage, consider the [GraphQL Storefront API](/developer/docs/storefront/guides/graphql-storefront-api/overview), which offers broader capabilities with bearer token authentication.

For full details, see [Authentication overview](/developer/docs/overview/api-fundamentals/api-accounts#same-origin-cors-authentication).

## What's inside

* **Carts** — Create and manage shopping carts, cart items, and cart currency
* **Checkouts** — Manage checkout state, billing address, consignments, coupons, and gift certificates
* **Checkout Spam Protection** — Validate checkout spam protection
* **Checkout Store Credit** — Apply and remove store credit during checkout
* **Consent** — Manage cookie consent preferences
* **Customers** — Create customer accounts from the storefront
* **Subscriptions** — Manage customer subscriptions
* **Form Fields** — Retrieve storefront form field configuration
* **Orders** — Look up order details from the storefront
* **Pickup Options** — Retrieve available pickup options

## Common use cases

* Cart manipulation via storefront JavaScript
* Checkout customization and payment flow
* Customer signup and consent management
* Order lookup from confirmation pages

> **Note**
>
> For richer querying and mutations from the storefront, consider the [GraphQL Storefront API](/developer/docs/storefront/guides/graphql-storefront-api/overview), which supports product queries, customer management, and cart operations with bearer token authentication.