Test mode
A test store for your organization: try the API and your integrations end to end without reaching real customers, money or partners.
Every organization can have one test store. It is a real store on the platform, with its own catalog, stock, customers and orders, and the same API. What it does stays inside, so you can build and try an integration before you point it at your real store.
Open the test store
In the admin, open Access in the sidebar, then the Service accounts tab, and click Open the test store. The first time, it is made for you; after that, the same button takes you back to it. While you are in it, a line under the header says so.
It does not count against your plan's store limit.
Then create a service account and a key in it, as in the Quickstart: a key of the test store works only there. Your code uses the test store's key while you build, and the real store's key in production. Nothing else changes.
What stays inside
| In the test store | |
|---|---|
| Orders | Every order is a test order (is_test: true): no sales fee, no ad conversion, no figures in your reports. |
| Sent only to people of your organization. E-mails to anyone else (a customer's address) are kept in the store's e-mail log and not sent, so you can see what would have gone out. | |
| Payments | No payment provider can be connected. Record payments with POST /orders/{order_id}/payments, or a sale already paid with POST /orders and source: manual. |
| Freight | No carrier can be connected, so nothing is booked. Shipments, their status and tracking codes work. |
| Channels | WhatsApp, Instagram, mailboxes, team notification channels and the assistant's WhatsApp cannot be connected. Sign-in codes for customers go by e-mail only. |
| Marketplaces, ads and pixels | Mercado Livre, Meta, Google and the like cannot be connected. |
| Fiscal documents | They stay in homologação (the SEFAZ test environment). |
| Storefront | Works, but search engines are told not to index it. |
| Webhooks | Delivered. Point them at your server to try them. |
A request that would connect one of these answers 403 with the code
sandbox_not_allowed.
Moving to your real store
Create a service account and a key in your real store with the same permission sets, and swap the key. Products, customers and orders of the test store stay there; nothing moves on its own.