Method: ShopifyAPI::Customer.all

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

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



185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
# File 'lib/shopify_api/rest/resources/2022_04/customer.rb', line 185

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

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