header('X-API-COMPANY-KEY'))->first(); if (! $company->enable_shop_api) { return response()->json(['message' => 'Shop is disabled', 'errors' => new stdClass], 403); } return $this->itemResponse($company); } }