LogoLogo
DocsHomeSupportContact
  • Getting Started
    • Introduction
    • Build on DIMO
  • DEVELOPER GUIDE
    • Developer Overview
    • Developer Console
    • Authentication
    • DIMO Developer SDKs
      • Data SDK
      • Login with DIMO SDK
        • React Component
        • Login with DIMO Redirect
        • Core Functionalities
      • TypeScript: Transactions SDK
      • SDK Release Notes
    • Low Code Tools
      • n8n: Getting Started
    • Permissions Contract: SACD
    • DIMO Credits
    • Response Types
    • Rate Limits
    • Developer FAQ
    • Developer Changelogs
    • Troubleshooting Common Issues
  • API References
    • Overview of DIMO API
    • Attestation API
    • Device Definitions API
    • Identity API
      • Schema & Types
      • Scalars
      • Nodes & Objects
        • AftermarketDevice
        • AftermarketDeviceConnection
        • DCN
        • DCNConnection
        • DeveloperLicense
        • DeviceDefinition
        • Earning
        • EarningsConnection
        • Manufacturer
        • Sacd
        • SyntheticDevice
        • Vehicle
        • VehicleConnection
        • VehicleEarnings
        • UserRewards
      • Common Queries
    • Telemetry API
      • Schema & Types
      • Scalars
      • Nodes & Objects
        • Signals
        • SignalsLatest
      • Common Queries
    • Token Exchange API
    • Trips API
    • Valuations API
  • DIMO Hardware
    • Introduction
    • DIMO Hardware Application
    • DIMO Manufacturing License
    • Development & Certification
    • Audits & Assessments
      • Hardware & Security Audit
      • Customer Experience Assessment
      • Integration Testing & Quality Control
      • Final Approval
    • DIMO Device License
      • Device Minting Certificates
    • Essential Documents
      • Hardware & Security Audit Checklist
      • Approved Hardware Auditors
      • DIMO Memorandum of Understanding (MOU)
  • Additional References
    • Developer License
    • DIMO GraphQL Basics
  • Deprecated Resources
    • Guides
      • Developer Journey
      • Quick Start Guide
      • Hello World
      • Code Exchange Flow
    • Data Availability
Powered by GitBook
On this page
  • Definition
  • Arguments
  • Sample Query

Was this helpful?

  1. API References
  2. Identity API
  3. Nodes & Objects

AftermarketDeviceConnection

Definition

Get a list of minted aftermarket devices ordered by tokenId in descending order.

Developer Notes

This GraphQL connection refers to the plural aftermarketdevices, hence an argument is needed in order for the query to target the specific subset of results.


Arguments

Field
Sub-field
Type
Description

first

Returns the first records given the argument provided.

last

Returns the last records given the argument provided.

after

Used for pagination, returns records after given the identifier provided.

before

Used for pagination, returns records before given the identifier provided.

filterBy

beneficiary

0x address of the beneficiary user.

owner

0x address of the aftermarket device owner.

manufacturerId

The identifier for the manufacturer of the aftermarket device.

Sample Query

{
    aftermarketDevices(
        first: 10
        filterBy: { owner: "0x8E075A4696E84d5e69CA04F657Fac205FC9Fe31E" }
    ) {
        totalCount
    }
}
PreviousAftermarketDeviceNextDCN

Last updated 11 months ago

Was this helpful?

Int
Int
String
String
Address
Address
Int