API reference

retryWeeklyRefundReport

Required permission: OrganizationWrite

graphql
retryWeeklyRefundReport(
  organizationId: ID!
  runId: ID!
): WeeklyRefundReportRun

Arguments

Name Type Description
organizationId ID!
runId ID!

Returns

WeeklyRefundReportRun

Example

graphql
mutation RetryWeeklyRefundReport($organizationId: ID!, $runId: ID!) {
  retryWeeklyRefundReport(organizationId: $organizationId, runId: $runId) {
    id
    attemptCount
    attemptedAt
    error
    periodEnd
    periodStart
  }
}
bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { retryWeeklyRefundReport(...) { __typename } }"}'