Back to Home

Documentation

Everything you need to know to get the most out of DiscountFlow. Find guides, tutorials, and API references.

Quick Start
API References
FAQs

API References

Overview

API References
/
API Endpoints
/
Queries

Queries

Object: ApprovalLevel

approvalLevels

List all approval levels (not paginated).

{
  approvalLevels {
    id
    name
    code
    rank
    threshold_price_requested
    threshold_price_approved
    description
  }
}

approvalLevel

Find a single approval level by ID.

{
  approvalLevel(id: "01ABC123") {
    id
    name
    code
    rank
  }
}