I need to get all the different statuses of a specific order, that would be the statuses mentioned here:
https://help.shopify.com/en/manual/orders/order-status
-
Order status (Open, Archived, Canceled)
-
Payment status (Pending, Authorized, Overdue, Expiring, Expired, Paid, Refunded, Partially refunded, Partially paid, Voided, Unpaid)
-
Fulfillment status (Fulfilled, Unfulfilled, Partially fulfilled, Scheduled, On hold)
The query below is what I have so far, but it doesn’t really give me all the information I need. I struggle finding the correct fields for the query.
Also, what scopes do I need to get the above mentioned statuses?
{
orders(first: 1, reverse: true, query: "email:'${customerEmail}'") {
edges {
node {
id
name
shippingAddress {
zip
}
fulfillments(first: 10) {
status
}
unpaid
confirmed
closed
fullyPaid
displayFulfillmentStatus
}
}
}
}