We are currently in the process of upgrading the GraphQL API. The majority of changes are fairly transparent and should continue functioning the exact same way.

The only exception to this is the order by attribute when querying transactions.

Previously when specifying transactions you would provide a field and an order:

query transactions {
  transactions(orderBy: { field: CREATED_AT, order: DESC}) {
    data {
      title
      description
      industry
      state
      createdAt
    }
  }
}

The name of the field attribute has changed to column so when querying transactions the query should be as follows:

query transactions {
  transactions(orderBy: { column: CREATED_AT, order: DESC}) {
    data {
      title
      description
      industry
      state
      createdAt
    }
  }
}

This change is currently in the development sandbox and will be rolled out to production next week Wednesday the 25th May 2022.