Configuring Open Commerce API Settings

You must configure Open Commerce API (OCAPI) settings.

To configure Open Commerce API settings:
  1. Navigate to Administration > Site Development > Open Commerce API Settings.

The Open Commerce API Settings page opens.

  1. In the Select type dropdown list, select Data.

The page updates.

  1. Add the resource for jobs executions.

Note: For testing purpose, you can use the demo Client ID (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa), but in a production environment, obtain a Client ID from your Commerce Cloud Account Manager.

Your configuration should be similar to the following:

  1. In the bottom-right corner, click Apply.

  2. Navigate to Administration > Operations > Services to configure the OCAPI credentials.

  3. Click the Credentials tab.

  1. In the Name column, click the link for the OCAPIToken service.

The OCAPIToken-Credentials page opens.

  1. Enter the credentials for the OCAPIData service. a. In the User field, enter the OCAPI client ID. b. In the Password field, enter the OCAPI client password. c. Click Apply.

  2. In the Name column, click the link for the OCAPIData service.

The OCAPIData-Credentials page opens.

  1. In the URL field, enter your environment path in the following format: https://hostname/s/-/dw/data/version, where:
  • hostname is your base URL.
  • version is the OCAPI Data version set up in the Open Commerce API Settings page described in steps 2 and 3, above.

For example: https://myinstance.demandware.net/s/-/dw/data/v17_3.

  1. Click Apply.