TanqoryDocs

tanqoryExtShoppingAssistantAsk

  • Mutation
  • Storefront

Asks the store's shopping assistant one question. Answered from the store's own published products and knowledge base, billed to the store's AI credits; a store without credits gets UNAVAILABLE and no AI is called. Private token only.

Arguments

ArgumentTypeRequiredDefault
inputTanqoryExtShoppingAssistantAskInput!Required

Returns

TanqoryExtShoppingAssistantAskPayload!

Example request

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

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

curl
curl -X POST "https://$STORE_HOST/api/v1/stores/$STORE_ID/2026-10/graphql" \
  -H "X-Tanqory-Storefront-Access-Token: $TANQORY_STOREFRONT_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"mutation TanqoryExtShoppingAssistantAsk($input: TanqoryExtShoppingAssistantAskInput!) {\n  tanqoryExtShoppingAssistantAsk(input: $input) {\n    userErrors {\n      field\n      message\n      code\n    }\n  }\n}","variables":{"input":{"visitorId":"","turnId":"","messages":[]}}}'

Built from commit 0cac88ece6de · API version 2026-10