Skip to content

Instantly share code, notes, and snippets.

@GesJeremie
Created May 16, 2022 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GesJeremie/24b78506eb8e92fc2ff9ad60ddb60755 to your computer and use it in GitHub Desktop.
Save GesJeremie/24b78506eb8e92fc2ff9ad60ddb60755 to your computer and use it in GitHub Desktop.
Shopify – GraphQL query to retrieve orders pending fulfillment
// 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