One workspace per environment#
Create a dedicated sandbox workspace for integration work and keep it separate from production. Use one key for the sandbox and a different key for production. A key belongs to exactly one workspace and one environment. A key issued for your sandbox cannot access another workspace's business records.
Name the sandbox obviously, for example "Sandbox — test data only". Use clearly fake business names for test records, such as "Cedar Bicycle Repair", so a test record is never mistaken for a real customer, vendor, or order.
What the sandbox does and does not isolate#
A sandbox workspace isolates your business records: customers, products, orders, and work created there stay there. It does not automatically isolate provider-backed side effects when an operation is connected to an external service. The published VIN operations read the active stored VPIC catalog snapshot; VIN decoding does not make a live provider request for each call. Check the operation reference before assuming that any provider-backed operation is test-only.
For that reason, do not connect production provider credentials to the sandbox workspace. Where a provider offers its own test mode, use it. Prove every write in the sandbox before pointing the same code at production.
Reset by recreating the workspace#
The published API has no hard-delete operation. Business records are lifecycle-managed: products and locations archive, purchase orders cancel, and nothing is hard-removed through the API.
To reset test state, delete the sandbox workspace in Settings as a signed-in member, then create a fresh one. Workspace deletion is a deliberate human action; API keys cannot delete workspaces. Recreate the sandbox key afterward and update your test environment.
Promote to production deliberately#
When the integration behaves in the sandbox:
- create a production key with the smallest role and overrides the integration needs
- store it in your production secret store, separate from the sandbox secret
- point configuration at the production workspace ID and verify the first reads return production data
- keep the sandbox workspace for regression checks on every later change