Realm administrators can configure when to start and stop sandboxes to better manage
on-demand sandbox usage. For example, with an Operation Scheduler, you can turn sandboxes on
or off at specific times on specified weekdays.
When creating an Operation Scheduler, keep these considerations in mind:
- For the scheduler to manage an on-demand sandbox, you must set the sandbox
autoScheduled
parameter to
true.
- Scheduler times use Zulu (Coordinated Universal Time) or Greenwich Mean Time
(+offset) format.
- Default Operation Scheduler settings turn all auto-scheduled sandboxes on Monday
through Friday at 08:00:00+03:00 and off on the same weekdays at 19:00:00Z.
- To turn off the scheduler, set the
startScheduler
and
stopScheduler
parameters to null.
For example:

Create an Operation Scheduler using the
PATCH/realms/{realm}/configuration
method.
-
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 Realms section of the Sandbox API user interface, click to expand the
PATCH/realms/{realm}/configuration
method.
-
Click Try it out.
-
In the request body, modify the
startScheduler
and
stopScheduler
weekdays and times to when you want to start
and stop auto-scheduled sandboxes.
-
Specify the four-letter ID for the realm.
-
Click Execute.
The API creates an Operation Scheduler that manages all sandboxes in the
realm with their autoScheduled
parameter set to
true.