TanqoryDocs

tanqoryExtChannelListing

  • Query
  • Products

Requires read_product_listings access scope. About access scopes

One product as the channel receives it. mapping (the stored JSON of a channel mapping, e.g. a draft that is not saved) replaces the saved mapping; without it the result is the feed's own listing of the product. Requires read_product_listings access scope.

Arguments

ArgumentTypeRequiredDefault
channelIdIDOptional
mappingStringOptional
productIdID!Required

Returns

TanqoryExtChannelListing One product as the channel receives it.

FieldTypeDescription
exclusions[TanqoryExtChannelListingExclusion!]!
fields[TanqoryExtChannelListingField!]!

The mapped fields, with where each value comes from.

groupTanqoryExtChannelListingGroup

Custom variant grouping (null when it is off or the product is excluded).

handleString!
imageUrlURL
includedBoolean!

True when the channel receives the product now.

payloadJSON

The listing the channel receives: a Universal Commerce Protocol Product (https://ucp.dev/schemas/shopping/types/product.json, version 2026-08-25) with its variants; amounts in the currency's minor units. Null when the product is excluded.

productIdID!
statusProductStatus!
titleString!

The product's own title.

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 TanqoryExtChannelListing($productId: ID!) {\n  tanqoryExtChannelListing(productId: $productId) {\n    exclusions\n    handle\n    imageUrl\n    included\n    payload\n    productId\n    status\n    title\n  }\n}","variables":{"productId":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10