regenerateKPShopifyToken method
Regenerate the Shopify multipass token for the already-verified user.
Uses the cached verified user (email, shopifyCustomerId, phone) and gk access token. Updates the verified-user cache and returns the new multipass data. Throws if Kwikpass is unhealthy, no verified user / access token is cached, or the API call fails.
Implementation
Future<Result<Map<String, dynamic>?>> regenerateKPShopifyToken() async {
try {
final data = await ShopifyService.regenerateKPShopifyToken();
return Success(data);
} catch (err) {
rethrow;
}
}