GraphQL

Querying a Completed Credit Data Order

You may query a completed credit data order made through Bloom using Bloom's GraphQL API. This section enumerates the objects in Bloom's GraphQL schema and provides instructions and examples for retrieving information from an order.

Objects in Bloom's GraphQL Schema

Instructions for Retrieving Information

  1. Set Up Your GraphQL Client: Make sure you have a GraphQL client set up to send queries to the Bloom API.
  2. Construct Your Query: Create a query to retrieve the desired data from the order. For example:
    query GetCreditDataOrder($orderId: ID!) {
        order(id: $orderId) {
            id
            customer {
                name
                email
            }
            creditReport {
                score
                reportData
            }
        }
    }
    
  3. Execute Your Query: Run the query using your GraphQL client and handle the response accordingly.