nexlogiq Shopify icon

nexlogiq Shopify

Consume Shopify API (SaaS Edition)

Draft Order → Get Many

AI-generated

Summary

Fetch many draft orders from a Shopify store

Inputs

  • shopUrl (required) — The URL of the Shopify store (e.g., your-store.myshopify.com).
  • accessToken (required) — Admin API access token; treated as a password.
  • returnAll — If true, retrieve all matching draft orders; otherwise pagination occurs.
  • limit — Maximum number of draft orders to return when returnAll is false (1‑250).

Output shape

an array of draft order objects

Pagination: only up to limit items are returned unless returnAll is true; optional fields may be omitted.

Examples

Example 1: Retrieve the first page of draft orders

shopUrl: your-store.myshopify.com; accessToken: admin_token; returnAll: false; limit: 50

Example 2: Retrieve all draft orders

shopUrl: your-store.myshopify.com; accessToken: admin_token; returnAll: true

Links

Discussion