configured()) { $this->line('Etsy sync skipped: shop is not configured or not connected.'); return self::SUCCESS; } try { $receipts = $etsy->receipts($connection, fresh: true); $this->line('etsy receipts: refreshed ('.($receipts['count'] ?? 0).' open)'); } catch (Throwable $exception) { $this->warn('etsy receipts: '.$exception->getMessage()); } try { $listings = $etsy->listings($connection, fresh: true); $this->line('etsy listings: refreshed ('.count($listings['results'] ?? []).' active)'); } catch (Throwable $exception) { $this->warn('etsy listings: '.$exception->getMessage()); } return self::SUCCESS; } }