API Access Control

If Yandex Market API If unavailable, follow these steps: check the access status, determine the reason for the block, and resolve it.

Request logs

If the API is unavailable, requests are not executed and are not recorded in request logs.

How to find out the API access status

Use the following methods:

Check the parameter in the response apiAvailability:

You can also view the API access status in the seller's account on the Market in the section SettingsAPIs and modules.

Reasons for blocking and solutions

Integration is disabled manually

Status: MANUALLY_DISABLED

Error message:

API for campaign {campaignId} manually disabled.

How to restore access:

Enable integration in the seller's account on the Market.

The store has been inactive for more than 90 days

Status: DISABLED_BY_INACTIVITY

Error message:

API for campaign {campaignId} disabled due to inactivity.

Reason: The store has not placed products in the showcase for more than 90 days.

How to restore access:

  1. Enable integration in the seller's account on the Market.
  2. Check that the integration is working correctly in query logs.
  3. Make sure that the prices and product balances are up to date.
  4. Submit the store for moderation to return to the showcase.

There is no active agreement

Status: DISABLED_BY_NO_ACTIVE_CONTRACT

Error message:

API for campaign {campaignId} disabled because there are no active contracts with Market.

How to restore access:

Complete the account connection in the section "Legal data".

The store is not connected to the placement program

Status: DISABLED_BY_NO_PLACEMENT_TYPE

Error message:

API for campaign {campaignId} disabled because it has no placement program.

How to restore access:

Connect the store to the placement program in the seller's account on the Market.

All cabinet stores are disabled

Error message:

API for business {businessId} disabled because it has only disabled partners.

Reason: All stores in the cabinet are disabled.

How to restore access:

Enable the API for at least one merchant profile in the seller's account on the Market.

Checking access after recovery

After completing the steps to restore access:

  1. Wait up to a minute — The changes may not be applied instantly.
  2. Check the access status using the method GET v2/campaigns/{campaignId} or GET v2/campaigns.
  3. Make sure that the parameter apiAvailability it matters AVAILABLE.
  4. Make a test API request.