Method: ShopifyAPI::DraftOrder.all

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

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



181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
# File 'lib/shopify_api/rest/resources/2022_04/draft_order.rb', line 181

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

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