API reference
retryWeeklyRefundReport
Required permission: OrganizationWrite
retryWeeklyRefundReport(
organizationId: ID!
runId: ID!
): WeeklyRefundReportRunArguments
| Name | Type | Description |
|---|---|---|
organizationId |
ID! |
|
runId |
ID! |
Returns
Example
mutation RetryWeeklyRefundReport($organizationId: ID!, $runId: ID!) {
retryWeeklyRefundReport(organizationId: $organizationId, runId: $runId) {
id
attemptCount
attemptedAt
error
periodEnd
periodStart
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { retryWeeklyRefundReport(...) { __typename } }"}'