To stop, start, or reset (DBINIT) a sandbox, use the
POST/sandboxes/{sandboxId}/operations
method. Stopped sandboxes consume
fewer credits than running sandboxes.
-
To open the Sandbox API user interface, go to B2C Commerce Sandbox API.
-
Click Authorize.
-
Enter the API client ID for the Sandbox API.
-
To dismiss the authorization window and return to the Sandbox API user
interface, click Close.
-
In the Sandboxes section of the Sandbox API user interface, click to expand the
POST/sandboxes/{sandboxId}/operations
method.
-
Click Try it out.
-
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.
-
Enter the sandbox ID.
-
Click Execute.
-
Check the status of the sandbox to make sure it has changed accordingly. See
Check the Status of a Sandbox.