Skip to content
Coursey CreativeSign in

GET /config

/api/store/[slug]/config

Returns the store's non-sensitive checkout configuration (flat shipping rate, currency, whether cash orders are enabled, whether Stripe checkout is ready, and which content features are live).

Public - no auth neededRate limit 120/min anonymous, 600/min with a keyHow authentication works

Path parameters

slugstringrequired

Business store slug (non-empty string, trimmed)

Responses

200

The request succeeded.

404

No such store, or no such record inside it.

429

Too many requests. Back off and retry after the window in the response.

What comes back

200 JSON with top-level keys: shipping_flat_rate (number or null), currency (lowercase string, defaults to "usd"), cash_orders_enabled (boolean), stripe_checkout_enabled (boolean), features ({ gallery, social_feed, forums, google_reviews } booleans; all false when addon lookup fails). 404 { error } if slug not found. The 200 is edge-cacheable (browser max-age=30, stale-while-revalidate=120; CDN s-maxage=60, stale-while-revalidate=300); only the 404 business-not-found response is no-store. CORS open (*), OPTIONS preflight supported.