Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
I'm using the GraphQL Storefront API version 2023-01.
query($customerAccessToken: String!, $query: String!) {
customer(customerAccessToken: $customerAccessToken) {
orders(reverse: true, first: 100, query:$query) {
edges {
node {
id
...
}
}
}
}
}
Would anyone know a way how to retrieve *only* fulfilled orders for instance through the Storefront API (GraphQL)? Now I don't see another option then querying all of them and filtering client side.