scripts.shopify.check_credentials¶
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¶
Functions¶
|
Module Contents¶
- scripts.shopify.check_credentials.SHOP_QUERY = Multiline-String¶
Show Value
""" query ConnectedShop { shop { name myshopifyDomain email primaryDomain { url } plan { displayName } } } """
- scripts.shopify.check_credentials.main() int¶