TanqoryDocs

tanqoryExtPosCustomers

  • Query
  • Customers and B2B

Customers to attach to a register cart: those whose name, email or phone contains every word of query (at least 2 characters in all), newest first, first at most 25 (default 10). Open to a member with the POS ability (quick_sale.use): the reference cashier adds customers to a sale (docs/pos/DESIGN.md).

Arguments

ArgumentTypeRequiredDefault
afterStringOptional
firstIntOptional
queryString!Required

Returns

TanqoryExtPosCustomerConnection!

FieldTypeDescription
edges[TanqoryExtPosCustomerEdge!]!
nodes[TanqoryExtPosCustomer!]!
pageInfoPageInfo!

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 TanqoryExtPosCustomers($first: Int, $query: String!) {\n  tanqoryExtPosCustomers(first: $first, query: $query) {\n    nodes {\n      displayName\n      email\n      id\n      phone\n    }\n    pageInfo { hasNextPage endCursor }\n  }\n}","variables":{"first":5,"query":""}}'

Built from commit c0b3fb3fdef7 · API version 2026-10