Method: ShopifyAPI::Webhook.all

Defined in:
lib/shopify_api/rest/resources/2022_04/webhook.rb,
lib/shopify_api/rest/resources/2022_07/webhook.rb,
lib/shopify_api/rest/resources/2022_10/webhook.rb,
lib/shopify_api/rest/resources/2023_01/webhook.rb,
lib/shopify_api/rest/resources/2023_04/webhook.rb,
lib/shopify_api/rest/resources/2023_07/webhook.rb,
lib/shopify_api/rest/resources/2023_10/webhook.rb,
lib/shopify_api/rest/resources/2024_01/webhook.rb,
lib/shopify_api/rest/resources/2024_04/webhook.rb,
lib/shopify_api/rest/resources/2024_07/webhook.rb,
lib/shopify_api/rest/resources/2024_10/webhook.rb,
lib/shopify_api/rest/resources/2025_01/webhook.rb,
lib/shopify_api/rest/resources/2025_04/webhook.rb,
lib/shopify_api/rest/resources/2025_07/webhook.rb,
lib/shopify_api/rest/resources/2025_10/webhook.rb,
lib/shopify_api/rest/resources/2026_01/webhook.rb

.all(address: nil, created_at_max: nil, created_at_min: nil, fields: nil, limit: nil, since_id: nil, topic: nil, updated_at_min: nil, updated_at_max: nil, session: ShopifyAPI::Context.active_session, **kwargs) ⇒ Object



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# File 'lib/shopify_api/rest/resources/2022_04/webhook.rb', line 122

def all(
  address: nil,
  created_at_max: nil,
  created_at_min: nil,
  fields: nil,
  limit: nil,
  since_id: nil,
  topic: nil,
  updated_at_min: nil,
  updated_at_max: nil,
  session: ShopifyAPI::Context.active_session,
  **kwargs
)
  response = base_find(
    session: session,
    ids: {},
    params: {address: address, created_at_max: created_at_max, created_at_min: created_at_min, fields: fields, limit: limit, since_id: since_id, topic: topic, updated_at_min: updated_at_min, updated_at_max: updated_at_max}.merge(kwargs).compact,
  )

  T.cast(response, T::Array[Webhook])
end