App reviews, troubleshooting, and recommendations
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi, I am developing a custom app that contains a Polaris Index Table component displaying orders from the last 60 days. The Index Table have some predefined tabs that filter the orders by 'Unfulfilled' and 'Fulfilled' status by setting the search params, which in turn, will be passed into the GraphQL orders query.
example: Clicking on the 'Fulfilled' tab
url: ?fulfillment_status=shipped
GraphQL query:
orders(first: 100, query: "fulfillment_status:shipped") { edges { node { id customer { firstName lastName } name customAttributes { key value } shippingLine { title } displayFulfillmentStatus shippingAddress { city countryCodeV2 formatted(withCompany: false, withName: false) provinceCode zip } }