scripts.shopify.check_credentials ================================= .. py:module:: scripts.shopify.check_credentials .. autoapi-nested-parse:: Verify the Shopify settings in .env and display the connected shop. Exchanges SHOPIFY_CLIENT_ID/SHOPIFY_CLIENT_SECRET for a token exactly like the API does at runtime, then reports the granted scopes against the ones the API needs (scripts/shared/shopify.py's REQUIRED_SCOPES). Usage: uv run python -m scripts.shopify.check_credentials Attributes ---------- .. autoapisummary:: scripts.shopify.check_credentials.SHOP_QUERY Functions --------- .. autoapisummary:: scripts.shopify.check_credentials.main Module Contents --------------- .. py:data:: SHOP_QUERY :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ query ConnectedShop { shop { name myshopifyDomain email primaryDomain { url } plan { displayName } } } """ .. raw:: html
.. py:function:: main() -> int