TanqoryDocs

tanqoryExtOnlineStorePreferences

  • Query
  • Content and shop

Requires read_online_store_preferences access scope. About access scopes

The store's online-store preferences: homepage SEO, social sharing image and the storefront password.

Arguments

None.

Returns

TanqoryExtOnlineStorePreferences!

FieldTypeDescription
homepageMetaDescriptionString

The meta description of the home page. The storefront Shop.description returns it.

homepageTitleString

The title of the home page (search results and browser tab).

passwordString

The storefront password. Null when none is set, or when the caller may not read content.

passwordEnabledBoolean!

Whether visitors need the password to see the storefront.

passwordMessageString

The message on the password page.

passwordRequiredBoolean!

True on a partner's development store: the password cannot be turned off (it can be changed).

socialSharingImageFile

The image shown when the store is shared (a file of this store). Null when unset or deleted.

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 TanqoryExtOnlineStorePreferences {\n  tanqoryExtOnlineStorePreferences {\n    homepageMetaDescription\n    homepageTitle\n    password\n    passwordEnabled\n    passwordMessage\n    passwordRequired\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10