Dev

Getting Started

Which CloudCart API to use, how to authenticate, and your first successful call in five minutes.

Welcome. This page orients you: which API fits your task, which credential it needs, and the fastest path to a first successful call.

Which API do I need?

You want to…UseCredential
Manage store data — products, orders, customers, discountsGraphQL Admin APIPAT
Build a custom storefront / mobile appGraphQL Storefront API + NitrogenStorefront token
Quick CRUD integration, ERP sync, feedsREST JSON:APIAPI key
React to events (new order, product change)WebhooksWebhook secret
Work from the terminal or CICloudCart CLIPAT
Let an AI assistant write correct queriesDev MCP Servernone (schema only)

Rule of thumb

PAT (cc_pat_…) → GraphQL Admin API + CLI. API key → REST. Storefront token → Storefront API. Each is created in a different admin screen — the guides below show exactly where.

Five minutes to your first call

1. Create a Personal Access Token

Settings → PAT Tokens → Create Token, access level Read Only. Step-by-step with screenshots: PAT guide.

2. Call the Admin API

curl -X POST https://mystore.cloudcart.com/api/gql \
  -H "Authorization: Bearer cc_pat_your_token" \
  -H "Content-Type: application/json" \
  -d '{"query": "{ generalSettings { siteName } }"}'
{ "data": { "generalSettings": { "siteName": "My Store" } } }

That's a working integration. Everything else is more fields and more queries.

3. Pick your next step

Authentication at a glance

CredentialFormatCreated inUsed as
Personal Access Tokencc_pat_…Settings → PAT TokensAuthorization: Bearer … on /api/gql
API keyopaque stringSettings → API KeysX-CloudCart-ApiKey: … on /api/v2/
Storefront tokenper-storefrontNitrogen → Storefront SettingsX-Storefront-Access-Token: … on /api/sf
Nova deploy tokencc_nova_…Nitrogen storefront creationCLOUDCART_NOVA_TOKEN for deploys

Details: Authentication · Rate limits

On this page