Skip to content

purchase

purchase(id: ID!): Purchase

One order, by id. Readable by its buyer, and by anyone holding the id for an anonymous checkout — which is what lets a guest see their own receipt.

Arguments

idID!

Returns

Purchase

See Purchase for the full shape.

Try it

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