Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Create an On-Demand Sandbox

Use the POST/sandboxes method of the Sandbox API to create an on-demand sandbox.

  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 method.

  6. Click Try it out.

  7. In the request body, replace <your realm id> with the appropriate value.

  8. If you don't want to use 24 hours for the Time-to-Live value for the sandbox, replace the ttl value of 24 with any number of hours up to 2160. You can also enter 0 or less for ttl to specify that the sandbox lasts until you delete it.

  9. Enter values for OCAPI or WebDAV settings if applicable, or delete those sections of the request body.

  10. Click Execute.
    Note - BM creation will take 15-20 minutes after hitting the API

Set up the RefArch Sites-

  1. In the response of sandbox creation API, you will get a BM link. Use that link to open BM.

  2. Navigate to Administration → Site Development → Site Import & Export.

  3. From the list of available imports, Select “Storefront Reference Architecture Demo Sites“ and clink on Import.

  4. On the next page, Select “Storefront Reference Architecture base“ amd click “Deploy”.

  5. It will take 15-20 mins for the Import.

  6. Once the import is done, Click on “Select a Site“ and select “RefArch“.

  7. Navigate to Merchant Tools → Search → Search Indexes and Click on “Rebuild All“.

  8. Storefront is ready to use.

  • No labels