GraphQL DraftOrderCreate: how to create a draft order with more than 250 items

Topic summary

Main issue: Creating draft orders via GraphQL fails when sending more than 250 line items, returning MAX_INPUT_SIZE_EXCEEDED (“Input size greater than 250”). This aligns with Shopify’s documented maximum input array size for GraphQL of 250.

Process guidance: You can add up to 250 items per API call. draftOrderUpdate expects the full lineItems array, so the 250-item input limit still applies. Support advises against single orders exceeding these limits due to processing issues, recommending splitting into multiple orders. They later clarified that adding more than 250 items to a draft order must be done in the web admin, not via API.

Contrasting limits: Cart/checkout supports up to 500 lines (Storefront API), and a community post mentions draft orders with ~600 lines, but via Admin GraphQL only 250 items can be added per request. A recent report (Sept 2) observed a stricter behavior where only 50 items are added and items beyond 50 silently fail without errors.

Status: No ETA for increasing limits; feedback submitted. Users are asked to monitor Shopify changelogs. Discussion remains open with unresolved questions about the 50-item behavior and future limit changes.

Summarized with AI on January 14. AI used: gpt-5.

Hi, any answer about these two links? Any expected date to improve this? Thanks

1 Like