Skip to content
generatePurchasesExportMutation
generatePurchasesExport(input: GeneratePurchasesExportInput): GenerateUserExportResult!

Generate a CSV of the viewer's product purchases (across every participant linked to their account) and persist it as a downloadable {@link UserExport}. The optional filters mirror the account purchases list — substring search, product types, and businesses.

Arguments

Returns

GenerateUserExportResult!

See GenerateUserExportResult for the full shape.

Try it

Example
Query
mutation GeneratePurchasesExport($input: GeneratePurchasesExportInput) {
  generatePurchasesExport(input: $input) {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql
generatePurchasesExport