Issue with getting createdAt in dispositions in ReverseFulfillmentOrder

Hi guys,

I’m trying to get ‘createdAt’ field in ‘dispositions’ (reverseFulfillmentOrders) but it’s throwing an error as below. Although the docs show that ‘dispositions’ has ‘createdAt’ field.

Docs

Query

Error

Hi @Linh_Nguyen

It’s possible this is failing because you’re trying to fetch multiple returns - if you try just one specific return, does this work as expected?

eg:

{
  return(id: "gid://shopify/Return/123456789") {
    reverseFulfillmentOrders(first: 10) {
      edges {
        node {
          id
          dispositions(first: 10) {
            edges {
              node {
                id
                createdAt
                dispositionType
              }
            }
          }
        }
      }
    }
  }
}