6 Commits

Author SHA1 Message Date
2ab720fc4a fix(auth): prefer fulfillsOnlineOrders location over first app location
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-22 00:56:37 +05:30
09cf21243f fix(auth): simplify to just fetch primary store location after OAuth
Removes fulfillment service creation entirely. Fetches the store's
primary location ID via locations(first:1) query. Requires read_locations
scope in SHOPIFY_SCOPES env var.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-22 00:37:47 +05:30
55bbe0303a fix(auth): move getToken import to top level to avoid TDZ error
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-22 00:35:27 +05:30
adceb29f65 feat(auth): log full stored token data after OAuth completes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-22 00:33:04 +05:30
132f6b606d fix(auth): auto-fetch primary locationId after OAuth when fulfillment service fails
Falls back to querying locations(first:1) if no locationId was saved during
auth, so inventory warnings are eliminated without manual config.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-22 00:15:56 +05:30
e87bd907ea first commit 2026-04-13 17:31:26 +05:30