TanqoryDocs

tanqoryExtShippingCarrierAccounts

  • Query
  • Inventory and fulfillment

The store's own carrier accounts (Settings > Shipping and delivery > Carrier accounts), connected ones only, in the provider list's order. Credentials are never answered: each secret field shows only a hint of its last 4 characters.

Arguments

None.

Returns

[TanqoryExtShippingCarrierAccount!]! A store's own account of a shipping provider.

FieldTypeDescription
carrierServiceDeliveryCarrierService

The carrier service a "Carrier or app calculated" option uses for this account.

credentials[TanqoryExtShippingCarrierCredential!]!

Each field: the value of a non-secret one; for a secret one only a hint ("…" and its last 4 characters).

idID!
lastErrorString

The last failed check: INVALID_CREDENTIALS or UNREACHABLE. Null after a successful one.

lastVerifiedAtDateTime

When the carrier last accepted the credentials.

nameString!
providerString!
ratesAvailableBoolean!

Whether checkout can get rates on this account now (the provider's rates on merchant accounts are built).

testBoolean!

Connected to the provider's test environment (sandbox).

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 TanqoryExtShippingCarrierAccounts {\n  tanqoryExtShippingCarrierAccounts {\n    carrierService { id }\n    id\n    lastError\n    lastVerifiedAt\n    name\n    provider\n    ratesAvailable\n    test\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10