Test mode
Use test mode when wiring a storefront before sending live customer work through StackFill.
Keys and sessions
API keys can be created in live or test mode. Embed applications and sessions also carry a mode. Use test keys for development and live keys for production storefronts.
curl https://api.stackfill.com/v1/embed/sessions \
-H "Authorization: Bearer stackfill_test_sk_REPLACE_ME" \
-H "Content-Type: application/json" \
-d '{"external_product_id":"business-card","mode":"test"}'
Common handling
Keep test and live product mappings separate when possible. Do not store test fill IDs on production orders.
See Authentication.