SimplePrice
SimplePrice
SimplePrice
Lightweight price projection for list / search results. Utilizes denormalized fields to avoid nested queries.
Kind: Object
Fields
| Field | Type | Description |
|---|---|---|
amount |
Int! |
Price amount in cents (e.g., 1999 = $19.99) |
currency |
String! |
Currency code (e.g., ‘USD’, ‘EUR’) |
discountId |
ID |
ID of the discount this price applies |
displayName |
String |
Operator-editable customer-facing name. When null, the UI falls back to product.name at render time. |
id |
ID! |
Unique identifier for the price |
internalName |
String |
Admin-only annotation. When set, shown as the primary label in admin tables with the resolved display name as the secondary label. |
isArchived |
Boolean! |
Whether this price is archived and no longer active |
name |
String! |
Display name for this price |
productId |
ID |
Product this price belongs to (null for v1 pricing-profile prices) |
rrule |
String |
Billing rule for subscription prices. Null for one-time prices. |
Definition
"""
Lightweight price projection for list / search results. Utilizes denormalized fields to avoid nested queries.
"""
type SimplePrice {
"""Price amount in cents (e.g., 1999 = $19.99)"""
amount: Int!
"""Currency code (e.g., 'USD', 'EUR')"""
currency: String!
"""ID of the discount this price applies"""
discountId: ID
"""
Operator-editable customer-facing name. When null, the UI falls back to `product.name` at render time.
"""
displayName: String
"""Unique identifier for the price"""
id: ID!
"""
Admin-only annotation. When set, shown as the primary label in admin tables with the resolved display name as the secondary label.
"""
internalName: String
"""Whether this price is archived and no longer active"""
isArchived: Boolean!
"""Display name for this price"""
name: String!
"""Product this price belongs to (null for v1 pricing-profile prices)"""
productId: ID
"""Billing rule for subscription prices. Null for one-time prices."""
rrule: String
}