Generates a sandbox with mocked out data.
Uses the same connection ID every time, and will reset any existing sandbox.
See the walkthrough for more information.
POST
/
sandbox
/
generate-sandbox
/
{integration_type}
Generate Sandbox
curl --request POST \ --url https://production.trackstarhq.com/sandbox/generate-sandbox/{integration_type} \ --header 'x-trackstar-api-key: <x-trackstar-api-key>'
Information that helps identify the connected account. If null, the integration does not provide this information.
Show child attributes
Example:
{ "account_id": "account_12345", "account_name": "My WMS Account" }
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Trackstar","colors":{"primary":"#7691DA","light":"#D3D665","dark":"#2E3B72"},"logo":{"light":"https://mintcdn.com/trackstar/e_R8AMY4ayyVfYRU/logo/light.svg?fit=max\u0026auto=format\u0026n=e_R8AMY4ayyVfYRU\u0026q=85\u0026s=eb832f4ffc768291fd95c4939b2ac6c2","dark":"https://mintcdn.com/trackstar/e_R8AMY4ayyVfYRU/logo/dark.svg?fit=max\u0026auto=format\u0026n=e_R8AMY4ayyVfYRU\u0026q=85\u0026s=1a2845225060cfe1d75c91a7240341a0"},"favicon":"https://mintcdn.com/trackstar/ronaGfFeKtERpohJ/favicon.png?fit=max\u0026auto=format\u0026n=ronaGfFeKtERpohJ\u0026q=85\u0026s=b3a24a0d7d7c7acc8e7394c0640eb8c6","api":{"openapi":"https://production.trackstarhq.com/openapi.json","mdx":{"server":"https://production.trackstarhq.com"}},"navbar":{"primary":{"type":"button","label":"Get an API Key","href":"https://www.trackstarhq.com/#"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/trackstarhq","website":"https://www.trackstarhq.com/"}},"integrations":{"clearbit":{"publicApiKey":"pk_1c5d72a7b03149b504c277cee5b4032a"}},"contextual":{"options":["copy","view","claude","chatgpt","cursor","vscode","mcp","add-mcp","download-spec"],"display":"header"},"markdown":{"instructions":["Trackstar is a unified REST API for WMS, cart, and carrier systems. Base URL: https://production.trackstarhq.com. There is no SDK; call the API with plain HTTP.","Send x-trackstar-api-key on every request. Endpoints scoped to one connection also need x-trackstar-access-token. Read both from environment variables and never print them.","Reads return data Trackstar has already synced from the connected system. Writes (POST, PUT, PATCH, DELETE) are forwarded to the connected system immediately.","A new connection has no data until its initial sync finishes. Wait for the connection.historical-sync-completed webhook, or poll GET /connections/{connection_id} and check historical_sync_completed.","List endpoints page with page_token and next_token (limit is capped at 1000). Repeat every filter on every page. Filters use field[operator]=value, for example created_date[gte]=2026-01-01T00:00:00Z.","Write bodies must not contain null or empty strings; omit the field instead. Call GET /integrations/{integration_type}/{integration_name}/write-info first to learn the exact fields an integration accepts.","To test without real credentials, POST /sandbox/generate-sandbox/{wms|cart|carrier} with the API key returns a sandbox access token. Start at https://docs.trackstarhq.com/how-to-guides/build-with-ai.md and install the skills with: npx skills add https://docs.trackstarhq.com"]},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Request an API Key","icon":"key","href":"https://trackstarhq.com/get-started"},{"anchor":"Login to Dashboard","icon":"browser","href":"https://dashboard.trackstarhq.com"},{"anchor":"WMS Integrations","icon":"warehouse","href":"https://trackstarhq.com/integrations/wms"},{"anchor":"Cart Integrations","icon":"cart-shopping","href":"https://trackstarhq.com/integrations/cart"},{"anchor":"Carrier Integrations","icon":"truck","href":"https://trackstarhq.com/integrations/carrier"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trackstar","hasAudioNarration":false,"actualSubdomain":"trackstar","customDomains":["docs.trackstarhq.com"],"gitSource":{"type":"github","owner":"trackstarhq","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4f3ab7acf49fac9da16ec","collectionId":"8357bb4d-ef58-4cad-9f49-3af74e319ee4","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4f3ab7acf49fac9da16ec"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae4f3ab7acf49fac9da16ec","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Guides","count":67},{"language":"default","tag":"How-To Guides","count":58},{"language":"default","tag":"WMS API","count":55},{"language":"default","tag":"WMS API Reference","count":55},{"language":"default","tag":"Webhooks","count":48},{"language":"default","tag":"WMS","count":29},{"language":"default","tag":"Admin API","count":21},{"language":"default","tag":"Admin API Reference","count":20},{"language":"default","tag":"Orders","count":17},{"language":"default","tag":"Cart API","count":16}]},"assistantConfig":{"enableStarterQuestions":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/sandbox/generate-sandbox","slug":"/api-reference/sandbox/generate-sandbox","pageMetadata":{"openapi":"post /sandbox/generate-sandbox/{integration_type}","title":"Generate Sandbox","description":"Generates a sandbox with mocked out data.\nUses the same connection ID every time, and will reset any existing sandbox.\nSee the [walkthrough](/how-to-guides/sandbox) for more information.","href":"/api-reference/sandbox/generate-sandbox"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Generates a sandbox with mocked out data.\\nUses the same connection ID every time, and will reset any existing sandbox.\\nSee the \", _jsx(_components.a, {\n href: \"/how-to-guides/sandbox\",\n children: \"walkthrough\"\n }), \" for more information.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"post /sandbox/generate-sandbox/{integration_type}","title":"Generate Sandbox","description":"Generates a sandbox with mocked out data.\nUses the same connection ID every time, and will reset any existing sandbox.\nSee the [walkthrough](/how-to-guides/sandbox) for more information.","href":"/api-reference/sandbox/generate-sandbox"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/trackstar/30b448b1cb413b03/required.js","/_mintlify/custom/trackstar/a23a6fd668fcabff/tab-dropdown.js","/_mintlify/custom/trackstar/bf284930523528a1/write-fields.js"],"openApiReferenceData":{"operation":{"parameters":["72f8a6eb-1cb3-490c-a08d-e73136071af9","732b87de-12b5-48d9-9a2b-a02cf155e1a0"],"responses":{"200":"6acef71e-3756-4877-a4f4-0a3efc2cada8","404":"0e992cc0-00a2-477d-8b1c-f5594c8e30a9","422":"1b832523-e00e-48a3-9b8f-089f24f7e0af"},"tags":["Sandbox"],"summary":"Generate Sandbox","description":"Generates a sandbox with mocked out data.\nUses the same connection ID every time, and will reset any existing sandbox.\nSee the [walkthrough](/how-to-guides/sandbox) for more information.","operationId":"post_POST__sandbox_generate-sandbox_integration_type","method":"post","type":"path","servers":["eb5659b4-6eec-462c-991a-7da8383bb677"],"security":[],"path":"/sandbox/generate-sandbox/{integration_type}","baseUrlOptions":["https://production.trackstarhq.com"],"title":"Generate Sandbox","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"72f8a6eb-1cb3-490c-a08d-e73136071af9":{"in":"path","name":"integration_type","schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true},"732b87de-12b5-48d9-9a2b-a02cf155e1a0":{"in":"header","name":"x-trackstar-api-key","description":"Your organization-level Trackstar API key.","schema":{"type":"string","example":"\u003cx-trackstar-api-key>","isRequired":true,"description":"Your organization-level Trackstar API key.","uniqueKey":"","typeLabel":"string"},"required":true}},"responses":{"6acef71e-3756-4877-a4f4-0a3efc2cada8":{"content":{"application/json":{"schema":{"type":"object","properties":{"access_token":{"type":"string","description":"The permanent access token for the integration used to make requests to the Trackstar API.","example":"your_permanent_access_token","isRequired":true,"uniqueKey":"access_token","typeLabel":"string"},"connection_id":{"type":"string","description":"A unique connection ID for the integration.","example":"unique_connection_id","isRequired":true,"uniqueKey":"connection_id","typeLabel":"string"},"integration_name":{"type":"string","description":"The name of the integration that was installed.","example":"sandbox","isRequired":true,"uniqueKey":"integration_name","typeLabel":"string"},"customer_id":{"oneOf":[{"type":"string","description":"An identifier for your end customer.","example":"customer_id","isRequired":true,"uniqueKey":"customer_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"An identifier for your end customer.","example":"customer_id","isRequired":true,"uniqueKey":"customer_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"customer_id","typeLabel":"string | null"},"available_actions":{"type":"array","description":"A list of actions that the integration supports.","example":["get_inventory","get_products"],"items":{"type":"string","description":"Actions supported by the integration","example":"available_actions","uniqueKey":"available_actions.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"available_actions","typeLabel":"string[]"},"me":{"oneOf":[{"type":"object","description":"Information that helps identify the connected account. If null, the integration does not provide this information.","example":{"account_id":"account_12345","account_name":"My WMS Account"},"additionalProperties":{"description":"Field value. Structure varies based on integration.","uniqueKey":"me.oneOf.0.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"me.oneOf.0","typeLabel":"object"},{"type":"null","description":"Information that helps identify the connected account. If null, the integration does not provide this information.","example":{"account_id":"account_12345","account_name":"My WMS Account"},"additionalProperties":{"description":"Field value. Structure varies based on integration.","uniqueKey":"me.oneOf.1.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"me.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"me","typeLabel":"object | null"}},"required":["access_token","available_actions","connection_id","customer_id","integration_name","me"],"additionalProperties":false,"title":"ExchangeResponseSandbox","uniqueKey":"","typeLabel":"ExchangeResponseSandbox · object"},"examples":{"Example":{"title":"Example","value":{"access_token":"your_permanent_access_token","connection_id":"unique_connection_id","integration_name":"sandbox","customer_id":"customer_id","available_actions":["get_inventory","get_products"],"me":{"account_id":"account_12345","account_name":"My WMS Account"}}}},"exampleType":"generated"}},"description":"Successful response","exampleType":"generated"},"0e992cc0-00a2-477d-8b1c-f5594c8e30a9":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"id":{"type":"string","description":"The ID of the item that wasn't found.","uniqueKey":"id","typeLabel":"string"}},"required":["error"],"type":"object","title":"HTTPError","uniqueKey":"","typeLabel":"HTTPError · object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","id":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Not found","exampleType":"generated"},"1b832523-e00e-48a3-9b8f-089f24f7e0af":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"detail":{"type":"object","properties":{"\u003clocation>":{"type":"object","properties":{"\u003cfield_name>":{"type":"array","items":{"type":"string","uniqueKey":"detail.\u003clocation>.\u003cfield_name>.items.[INDEX]","typeLabel":"string"},"uniqueKey":"detail.\u003clocation>.\u003cfield_name>","typeLabel":"string[]"}},"uniqueKey":"detail.\u003clocation>","typeLabel":"object"}},"uniqueKey":"detail","typeLabel":"object"}},"required":["error"],"type":"object","title":"ValidationError","uniqueKey":"","typeLabel":"ValidationError · object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","detail":{"\u003clocation>":{"\u003cfield_name>":["\u003cstring>"]}}}}},"exampleType":"generated"}},"description":"Validation error","exampleType":"generated"}},"security":{},"servers":{"eb5659b4-6eec-462c-991a-7da8383bb677":{"description":"Trackstar API","url":"https://production.trackstarhq.com"}}},"originalFileLocation":"https://production.trackstarhq.com/openapi.json"},"subdomain":"trackstar","siteName":"Trackstar","title":"Generate Sandbox - Trackstar","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-28T22:40:27.776Z","originalFileLocation":"api-reference/sandbox/generate-sandbox.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Generates a sandbox with mocked out data. Uses the same connection ID every time, and will reset any existing sandbox. See the walkthrough for more information.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Trackstar\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Generate Sandbox - Trackstar\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generates a sandbox with mocked out data. Uses the same connection ID every time, and will reset any existing sandbox. See the walkthrough for more information.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Trackstar\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.trackstarhq.com/api-reference/sandbox/generate-sandbox\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trackstar.mintlify.app/_mintlify/api/og/v2?division=Sandbox\u0026amp;title=Generate+Sandbox\u0026amp;description=Generates+a+sandbox+with+mocked+out+data.%0AUses+the+same+connection+ID+every+time%2C+and+will+reset+any+existing+sandbox.%0ASee+the+%5Bwalkthrough%5D%28%2Fhow-to-guides%2Fsand\u0026amp;theme=a7581761d745b5f6f24e3162\u0026amp;signature=9d681b00794b315eac050823cd2d94f5a5f5bae43a4420609f3cdcb3cda30d07\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Generate Sandbox - Trackstar\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generates a sandbox with mocked out data. Uses the same connection ID every time, and will reset any existing sandbox. See the walkthrough for more information.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trackstar.mintlify.app/_mintlify/api/og/v2?division=Sandbox\u0026amp;title=Generate+Sandbox\u0026amp;description=Generates+a+sandbox+with+mocked+out+data.%0AUses+the+same+connection+ID+every+time%2C+and+will+reset+any+existing+sandbox.%0ASee+the+%5Bwalkthrough%5D%28%2Fhow-to-guides%2Fsand\u0026amp;theme=a7581761d745b5f6f24e3162\u0026amp;signature=9d681b00794b315eac050823cd2d94f5a5f5bae43a4420609f3cdcb3cda30d07\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Trackstar\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7691DA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.trackstarhq.com/api-reference/sandbox/generate-sandbox\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/sandbox/generate-sandbox.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.trackstarhq.com/#organization\",\"name\":\"Trackstar\",\"url\":\"https://docs.trackstarhq.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/trackstar/e_R8AMY4ayyVfYRU/logo/light.svg?fit=max\u0026auto=format\u0026n=e_R8AMY4ayyVfYRU\u0026q=85\u0026s=eb832f4ffc768291fd95c4939b2ac6c2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.trackstarhq.com#website\",\"name\":\"Trackstar\",\"url\":\"https://docs.trackstarhq.com\",\"publisher\":{\"@id\":\"https://docs.trackstarhq.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.trackstarhq.com/api-reference/sandbox/generate-sandbox#webpage\",\"url\":\"https://docs.trackstarhq.com/api-reference/sandbox/generate-sandbox\",\"name\":\"Generate Sandbox\",\"description\":\"Generates a sandbox with mocked out data. Uses the same connection ID every time, and will reset any existing sandbox. See the walkthrough for more information.\",\"dateModified\":\"2026-01-28T22:40:27.776Z\",\"isPartOf\":{\"@id\":\"https://docs.trackstarhq.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trackstarhq.com/api-reference/sandbox/generate-sandbox#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trackstarhq.com/api-reference/sandbox/generate-sandbox#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trackstar\",\"item\":\"https://docs.trackstarhq.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Generate Sandbox\",\"item\":\"https://docs.trackstarhq.com/api-reference/sandbox/generate-sandbox\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.trackstarhq.com/api-reference/sandbox/generate-sandbox#apireference\",\"headline\":\"Generate Sandbox\",\"name\":\"Generate Sandbox\",\"description\":\"Generates a sandbox with mocked out data. Uses the same connection ID every time, and will reset any existing sandbox. See the walkthrough for more information.\",\"url\":\"https://docs.trackstarhq.com/api-reference/sandbox/generate-sandbox\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trackstarhq.com/api-reference/sandbox/generate-sandbox#webpage\"},\"dateModified\":\"2026-01-28T22:40:27.776Z\",\"publisher\":{\"@id\":\"https://docs.trackstarhq.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.trackstarhq.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Trackstar\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Trackstar","nav":{"global":{"anchors":[{"anchor":"Request an API Key","icon":"key","href":"https://trackstarhq.com/get-started"},{"anchor":"Login to Dashboard","icon":"browser","href":"https://dashboard.trackstarhq.com"},{"anchor":"WMS Integrations","icon":"warehouse","href":"https://trackstarhq.com/integrations/wms"},{"anchor":"Cart Integrations","icon":"cart-shopping","href":"https://trackstarhq.com/integrations/cart"},{"anchor":"Carrier Integrations","icon":"truck","href":"https://trackstarhq.com/integrations/carrier"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"Admin API","groups":[{"group":"Admin API Reference","pages":[{"openapi":"post /link/token","title":"Create Link Token","href":"/api-reference/mgmt/create-link-token"},{"openapi":"post /link/exchange","title":"Exchange Auth Code","href":"/api-reference/mgmt/exchange-auth-code"},{"openapi":"get /connections","title":"Get Connections","href":"/api-reference/mgmt/get-connections"},{"openapi":"get /connections/{connection_id}","title":"Get Connection","href":"/api-reference/mgmt/get-connection"},{"openapi":"patch /connections","title":"Update Connection","href":"/api-reference/mgmt/update-connection"},{"openapi":"post /connections/sync","title":"Sync Connection","href":"/api-reference/mgmt/sync-connection"},{"openapi":"delete /connections","title":"Delete Connection","href":"/api-reference/mgmt/delete-connection"},{"openapi":"patch /schedules/{function_name}/toggle","title":"Toggle Schedule","href":"/api-reference/mgmt/toggle-connection-schedule"},{"openapi":"patch /schedules/toggle-all","title":"Toggle All Schedules","href":"/api-reference/mgmt/toggle-all-schedules"},{"openapi":"get /integrations/{integration_type}","title":"Integration Info","href":"/api-reference/mgmt/integrations"},{"openapi":"get /integrations/{integration_type}/{integration_name}","title":"Integration Info for Single Integration","href":"/api-reference/mgmt/get-integration"},{"openapi":"get /integrations/{integration_type}/{integration_name}/write-info","title":"Integration Write Info","href":"/api-reference/mgmt/integration-write-info"},{"openapi":"post /integration-requests","title":"Request an Integration","href":"/api-reference/mgmt/create-integration-request"},{"openapi":"get /integration-requests/flows","title":"Integration Request Flows","href":"/api-reference/mgmt/integration-request-flows"},{"openapi":"get /magic-links","title":"Get Magic Links","href":"/api-reference/mgmt/get-magic-links"},{"openapi":"get /magic-links/{magic_link_id}","title":"Get Magic Link","href":"/api-reference/mgmt/get-magic-link"},{"openapi":"post /magic-links","title":"Create Magic Link","href":"/api-reference/mgmt/create-magic-link"},{"openapi":"delete /magic-links/{magic_link_id}","title":"Delete Magic Link","href":"/api-reference/mgmt/delete-magic-link"},{"openapi":"get /api-logs","title":"Get API Logs","href":"/api-reference/mgmt/search-api-logs"},{"openapi":"get /api-logs/facets","title":"Get API Log Facets","description":"Returns the distinct values your organization's API logs contain for each filter, so you can discover what to pass to the search endpoint. Scoped to the same connection, integration, and date range.","href":"/api-reference/mgmt/api-log-facets"}]},{"group":"Sandbox","pages":[{"openapi":"post /sandbox/generate-sandbox/{integration_type}","title":"Generate Sandbox","href":"/api-reference/sandbox/generate-sandbox"}]}]},{"tab":"WMS API","pages":[{"title":"WMS API","href":"/api-reference/wms-api/inventory/info"}]},{"tab":"Cart API","pages":[{"title":"Cart API","href":"/api-reference/cart-api/products/info"}]},{"tab":"Carrier API","pages":[{"title":"Carrier API","href":"/api-reference/carrier-api/invoice-line-items/info"}]}]},"basePath":"","title":"Generate Sandbox - Trackstar","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}