Created
May 16, 2022 22:19
-
-
Save GesJeremie/24b78506eb8e92fc2ff9ad60ddb60755 to your computer and use it in GitHub Desktop.
Shopify – GraphQL query to retrieve orders pending fulfillment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// fulfillment_status statuses: shipped, partial, unshipped, any, unfulfilled | |
export default ` | |
query GetOrdersPendingFulfillment { | |
orders(first: 250, query: "fulfillment_status:unfulfilled") { | |
pageInfo { | |
hasNextPage | |
} | |
edges { | |
node { | |
id | |
name | |
displayFulfillmentStatus | |
} | |
} | |
} | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sources:
https://community.shopify.com/c/shopify-apis-and-sdks/filtering-graphql-orders-results/td-p/466007