Start, Stop, Reset (DBINIT), and Restart an On-Demand Sandbox

To stop, start, or reset (DBINIT) a sandbox, use the POST/sandboxes/{sandboxId}/operations method. Stopped sandboxes consume fewer credits than running sandboxes.

  1. To open the Sandbox API user interface, go to B2C Commerce Sandbox API.
  2. Click Authorize.
  3. Enter the API client ID for the Sandbox API.
  4. To dismiss the authorization window and return to the Sandbox API user interface, click Close.
  5. In the Sandboxes section of the Sandbox API user interface, click to expand the POST/sandboxes/{sandboxId}/operations method.
  6. Click Try it out.
  7. Edit the operation in the request body to specify what you want to do.
    • start: Makes a sandbox in a stopped state accessible again.
    • stop: Stops a sandbox.
    • reset: Refreshes a sandbox instance with a new database using the DBINIT process.
    • restart: Makes a sandbox that is in a stopped state accessible again. Stops an active sandbox and starts it again.
  8. Enter the sandbox ID.
  9. Click Execute.
  10. Check the status of the sandbox to make sure it has changed accordingly. See Check the Status of a Sandbox.