Get OAuth Config
GET//:domain/api/shopify/config
Returns the Shopify OAuth configuration that tells the frontend which connection mode to render.
Authentication: Requires Bearer token.
Response fields:
- custom_app_mode (bool): when true, per-instance Client ID/Secret are used (custom app). When false, SKU.io's central public app credentials are used.
- legacy_custom_app_mode (bool): when true, the merchant pastes an Admin API access token directly (no OAuth).
- scopes (string): comma-separated OAuth scopes requested.
- redirect_url (string): the OAuth callback URL ({app_url}/shopify/callback).
Mode matrix:
- Public OAuth: custom_app_mode=false, legacy_custom_app_mode=false (no credentials entered; merchant just authorizes).
- Custom-app OAuth: custom_app_mode=true, legacy_custom_app_mode=false.
- Legacy custom app: legacy_custom_app_mode=true.
Request
Responses
- 200
OK
Response Headers
Content-Type