Let me start off by saying I’m new to the storefront API and graphql. I’m trying to create an order history table in a customer’s account profile on my dev site. I have a query that fetches customer data with an access token (as seen below). When I add fulfillmentStatus and financialStatus to the query in the orders object, it returns a couple of errors: "Field 'financialStatus' doesn't exist on type 'Order'" and "Field 'fulfillmentStatus' doesn't exist on type 'Order'". The documentation says that the Order object has those two fields. What am I doing wrong? Any help would be greatly appreciated.
const customerQuery = gql`
query customerQuery($token: String!) {
customer(customerAccessToken: $token) {
firstName
lastName
phone
phone
displayName
defaultAddress {
address1
address2
city
province
country
}
orders(first: 100) {
edges {
node {
id
name
customerUrl
orderNumber
processedAt
subtotalPrice
fulfillmentStatus
financialStatus
}
}
}
}
}
`;