TanqoryDocs

tanqoryExtStockMediaSearch

  • Query
  • Content and shop

Requires read_files access scope. About access scopes

Searches one stock provider. A provider without a key answers state NOT_CONFIGURED with no items; this query does not fail for a provider's problems, it reports them in state.

Arguments

ArgumentTypeRequiredDefault
inputTanqoryExtStockMediaSearchInput!Required

Returns

TanqoryExtStockMediaSearchResult!

FieldTypeDescription
hasMoreBoolean!
items[TanqoryExtStockMediaItem!]!
pageInt!
perPageInt!
stateTanqoryExtStockSearchState!
totalInt!

Example request

A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.

Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).

curl
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
  -H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"query TanqoryExtStockMediaSearch($input: TanqoryExtStockMediaSearchInput!) {\n  tanqoryExtStockMediaSearch(input: $input) {\n    hasMore\n    items { id }\n    page\n    perPage\n    state\n    total\n  }\n}","variables":{"input":{"provider":"PEXELS"}}}'

Built from commit c0b3fb3fdef7 · API version 2026-10