Mutations maximum number of "changes"

Hey All,

Is there a standard hard limit on the number of entries for all mutations that accept an array of mutations to perform.

e.g. inventoryAdjustQuantities (changes), metafieldsSet (metafields), fulfillmentCreateV2 (lineItemsByFulfillmentOrder/fulfillmentOrderLineItems) etc.

I’ve bumped up against the 250 limit for one of them but I was wondering if the 250 limit is documented anywhere or does it change depending on the mutation and if it does it would be great if it was also documented in an obvious place.

Cheers

Gary

1 Like

Hey @garyrgilbert , did you ever find a documented limit for gql mutations?

Hey @garyrgilbert and @NathanGhanda !

This is documented over on our rate limits page: https://shopify.dev/docs/api/usage/rate-limits#maximum-input-array-size-limit

Maximum input array size limit> Input arguments that accept an array have a maximum size of 250. Queries and mutations return an error if an input array exceeds 250 items.

Hope that helps!

  • Kyle G.
1 Like