Skip to main content
GET
/
inventory-sources
/
{sourceId}
/
modular
/
inventory
/
selectors
Search modular inventory selectors
curl --request GET \
  --url https://api.interchange.io/api/v2/storefront/inventory-sources/{sourceId}/modular/inventory/selectors \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "externalId": "<string>",
      "name": "<string>",
      "path": [
        "<string>"
      ],
      "parentId": "<string>",
      "status": "<string>",
      "hasChildren": true,
      "metadata": {}
    }
  ],
  "nextCursor": "<string>",
  "count": 4503599627370495
}

Authorizations

Authorization
string
header
required

API key or access token

Path Parameters

sourceId
string
required

Inventory source ID

Minimum string length: 1

Query Parameters

selectorType
enum<string>
required
Available options:
site,
site_section,
site_group,
series,
video_group,
ad_unit_package,
standard_attribute
q
string
query
string
parentId
string
cursor
string
limit
integer
Required range: 1 <= x <= 100

Response

Search modular inventory selectors

items
object[]
required
nextCursor
string | null
required
count
integer
required
Required range: 0 <= x <= 9007199254740991