Edit in GitHubLog an issue

Using the Catalog Views and Policies API

Base URL

Use the following base URL for all Catalog Views and Policies API requests.

https://na1-sandbox.api.commerce.adobe.com/{{tenantId}}/admin/graphql

The URL structure is:

https://{{region}}-{{environment}}.api.commerce.adobe.com/{{tenantId}}

  • region is the cloud region where your instance is deployed.
  • environment-type is included only for non-production URLs (sandbox).
  • tenantId is the unique identifier for your organization's specific instance within the Adobe Experience Cloud.

Get your instance ID

From Cloud Manager, you can find the endpoint URLs and tenant ID (instance ID) in the instance details for your Commerce Optimizer project.

  1. Log in to your Adobe Experience Cloud account.

  2. Under Quick access, click Commerce to open the Commerce Cloud Manager.

    The Commerce Cloud Manager displays a list of instances that are available in your Adobe IMS organization.

  3. To get the base URLs and instance ID, click the information icon next to the Adobe Commerce Optimizer instance name.

    Access URLs for Commerce Optimizer UI, REST, and GraphQL APIs

Authentication

Every API request must include a bearer token in the request header:

Authorization: Bearer {{accessToken}}

The bearer token is generated using the credentials from the Adobe developer project for the API integration. The token is valid for 24 hours. When it expires, use the Adobe developer project credentials to generate a new one.


Get credentials and bearer access tokens

To get API authentication credentials and tokens, create an Adobe developer project to enable communication between your Commerce project and Merchandising Services APIs.

  1. Log in to the Adobe Developer Console.

    You can also access the Developer Console from the Get Credentials section of the Data Ingestion API Reference. If you use this method, you are automatically directed to the correct organization. You can complete the process to create credentials and generate an access token from there.

  2. Select the Experience Cloud Organization for the integration.

  3. Create an API project.

    1. Add the Adobe Commerce Optimizer Ingestion API to your project. Then, click Next.

    2. Configure the Client ID and Client Secret credentials by selecting the OAUTH Server to Server Authentication option.

    3. Click Save configured API.

  4. In the Connected Credentials section, view API configuration details by selecting OAUTH Server-to-Server.

    Adobe developer project - Credential Details

  5. Copy the Client ID and the Client Secret values to a secure location.

    You use these values to refresh expired bearer tokens.

  6. Get the bearer access token.

    1. Select Generate Access Token.

    2. Save the bearer token to a secure location.

    The bearer token is valid for 24 hours. You can use the same bearer token for all API requests until it expires.

Generate a new access token

To get API authentication credentials and tokens, create an Adobe developer project to enable communication between your Commerce project and Merchandising Services APIs.

  1. Log in to the Adobe Developer Console.

    You can also access the Developer Console from the Get Credentials section of the Data Ingestion API Reference. If you use this method, you are automatically directed to the correct organization. You can complete the process to create credentials and generate an access token from there.

  2. Select the Experience Cloud Organization for the integration.

  3. Create an API project.

    1. Add the Adobe Commerce Optimizer Ingestion API to your project. Then, click Next.

    2. Configure the Client ID and Client Secret credentials by selecting the OAUTH Server to Server Authentication option.

    3. Click Save configured API.

  4. In the Connected Credentials section, view API configuration details by selecting OAUTH Server-to-Server.

    Adobe developer project - Credential Details

  5. Copy the Client ID and the Client Secret values to a secure location.

    You use these values to refresh expired bearer tokens.

  6. Get the bearer access token.

    1. Select Generate Access Token.

    2. Save the bearer token to a secure location.

    The bearer token is valid for 24 hours. You can use the same bearer token for all API requests until it expires.

Headers

Include the following headers in GraphQL requests.

Header NameRequiredDescription
Content-Type
Yes
Specifies the media type of the resource. Accepted value: application/json.
Authorization: Bearer {{accessToken}}
Yes
Bearer token generated from IMS credentials.

Request template

Use the following template to submit requests using curl, replacing the placeholders as required.

Copied to your clipboard
curl --request POST \
--url https://na1-sandbox.api.commerce.adobe.com/{{tenantId}}/admin/graphql \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {{accessToken}}" \
--data "{{apiPayload}}"

For sample requests, see the tutorial.

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.