Thing Event SystembyPentatonic

GraphQL Explorer

Explore and test all available GraphQL queries and mutations interactively.

x-client-id header for multi-tenant access

QUERIES

Things

Holders

Locations

Products

Shipments

Payments

Search

Events

Edges

MUTATIONS

Things

Holders

Locations

Products

Shipments

Payments

ENDPOINT

POST /api/graphql

HEADERS

Content-Type: application/json
x-client-id: tes-demo
List ThingsQuery
query ListThings($limit: Int, $offset: Int) {
  things(limit: $limit, offset: $offset) {
    items {
      id
      name
      current_stage
      current_status
      condition
      quantity
      unit
      holder_id
      holder_type
      location_id
      media {
        images { url type }
      }
      created_at
      updated_at
    }
    totalCount
    hasMore
  }
}
Variables
Response

Execute a query to see results

TIPS

  • • Fill in required variables before executing
  • • IDs should be full UUIDs from previous queries
  • • Mutations create events visible in admin
  • • Use limit parameter to control result size

SCHEMA REFERENCE

Thing

  • id: String!
  • name: String
  • current_stage: String
  • current_status: String
  • holder_id: String
  • holder_type: HolderType
  • location_id: String
  • product_id: String
  • status_history: [StatusEntry]
  • media: ThingMedia
  • vision: VisionData
  • pricing: PricingData
  • valuation: ValuationData
  • data: JSON
  • created_at: Float!
  • updated_at: Float!

Holder

  • id: String!
  • name: String
  • last_name: String
  • email: String
  • phone: String
  • type: HolderType!
  • address: HolderAddress
  • data: JSON
  • created_at: Float!
  • updated_at: Float!

Location

  • id: String!
  • name: String
  • type: LocationType!
  • description: String
  • address: LocationAddress
  • coordinates: Coordinates
  • timezone: String
  • email: String
  • phone: String
  • data: JSON
  • created_at: Float!
  • updated_at: Float!

Product

  • id: String!
  • name: String
  • brand: String
  • manufacturer: String
  • description: String
  • category: String
  • sku: String
  • tags: [String]
  • features: [String]
  • media: JSON
  • data: JSON
  • created_at: Float!
  • updated_at: Float!

Shipment

  • id: String!
  • thing_id: String!
  • provider: String!
  • tracking_number: String
  • type: ShipmentType
  • status: ShipmentStatus
  • cost: Float
  • currency: String
  • label_url: String
  • status_history: [StatusEntry]
  • data: JSON
  • created_at: Float!
  • updated_at: Float!

Payment

  • id: String!
  • thing_id: String!
  • type: PaymentType!
  • status: PaymentStatus
  • amount: Float!
  • currency: String!
  • external_reference: String
  • recipient_id: String
  • provider: String
  • status_history: [StatusEntry]
  • data: JSON
  • created_at: Float!
  • updated_at: Float!

Go further

Build on the TES platform

The GraphQL playground is just the start. Create an account to get your own API key and start building.