code: public function shopWebhooks()
      {
          if (!$this->shopWebhooks) {
              $this->shopWebhooks = $this->api->rest(
                  'GET',
                  '/admin/webhooks.json',
                  [
                      'limit'  => 250,
                      'fields' => 'id,address',
                  ]
              )->body->webhooks;
          }
  
          return $this->shopWebhooks;
      }
docs: Gets the webhooks present in the shop.
  
  @return array