Sandbox — Developer Test Environment
Build your integration (e.g. an Odoo add-on) without touching live Stokzone or real customer data. The sandbox runs on a completely separate database with separate keys.
What is the sandbox?
An isolated test environment that serves the same API as production, but has its own database, its own users and its own API keys. Your live account and keys do NOT work in the sandbox, and sandbox keys do not work in production.
| Environment | Address |
|---|---|
| Sandbox panel (sign-up, API keys) | https://sandbox.stokzone.com |
| Sandbox API | https://sandbox-api.stokzone.com |
| Live API (for comparison) | https://api.stokzone.com |
1. Sign up on the sandbox
Create a free developer account on the sandbox panel. After signing up, enter the verification code sent to your e-mail; the account cannot be used until it is verified.
Opening soon2. Explore the sample data
Your new account starts with sample data: two fake marketplace stores, simple/variant/bundle products, orders in different states and returns. These stores are not connected to any real marketplace.
3. Create a test API key
Generate a key under Settings → API Keys in the panel. Sandbox keys start with the prefix: sk_test_
4. Send your first request
Send requests to the sandbox API address. Endpoints, parameters and responses are the same as the live API; the API Reference applies to the sandbox too.
curl -i -H "X-API-Key: sk_test_xxxxxxxxxxxx" \
https://sandbox-api.stokzone.com/api/v1/web-api/v1/productsEvery sandbox response carries a header identifying the environment. Use it to verify that your code is not accidentally talking to production.
HTTP/2 200
x-stokzone-ortam: sandbox
x-robots-tag: noindex, nofollow, noarchive, nosnippetMarketplace connections in the sandbox
The sandbox has no internet egress: even if you enter real marketplace, shipping or accounting credentials, no request leaves the sandbox and nothing is written anywhere. Try marketplace flows with the fake stores in the sample data. For the same reason, webhooks are not delivered out of the sandbox.
Limits
| Resource | Limit |
|---|---|
| Products | 500 per account |
| Users | 3 per account |
| API requests | 1,000 per key per hour (per-minute limits same as production) |
| Sign-up | Rate limited per IP; a daily total sign-up cap applies |
| Automatic cleanup | Accounts inactive for 30 days are deleted |
Rules
- Do not enter real customer, personal or company data into the sandbox. Sandbox data is not backed up and not guaranteed.
- No calls are made to external systems (marketplaces, shipping, e-invoice, payment); nothing done in the sandbox has real-world effects.
- Payments and subscriptions are disabled in the sandbox; API access is enabled on every sandbox account.
- Sandbox and live accounts, keys and sessions are completely separate.
- Accounts with no sign-in and no API key usage for 30 days are deleted together with their data. The sandbox may occasionally be reset completely.
Going live
When your integration is ready, create a new API key in your live Stokzone account (app.stokzone.com) and change the base URL to https://api.stokzone.com. Sandbox keys do not work in production.