Skip to content
productPurchaseQuery
productPurchase(id: ID!): ProductPurchase

Look up a single purchase the viewer owns (as buyer or gift-card redeemer), used by the account purchase-detail page. Returns null when the viewer is unauthenticated or does not own the purchase.

Arguments

idID!

Returns

ProductPurchase

See ProductPurchase for the full shape.

Try it

Example
Query
query ProductPurchase($id: ID!) {
  productPurchase(id: $id) {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql
productPurchase